CAT16

CAT16 chromatic adaptation algorithm.

Provides methods to adapt XYZ colors between different white points using
the CAT16 transform, which is a modern alternative to Bradford.

Methods

adaptXYZ

static
public static function adaptXYZ(array $xyz, WhitePoint $srcWP, WhitePoint $dstWP): array

Adapt XYZ from source to destination white point using the CAT16 transform.

Parameters
NameTypeDefault
$xyz array -
$srcWP WhitePoint -
$dstWP WhitePoint -