Bradford

Bradford chromatic adaptation algorithm.

Provides methods to adapt XYZ colors between different white points using
the Bradford transform.

Methods

adaptXYZ

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

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

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