Function PreparedBrettel1997Dichromat.transform
Applies the prepared transform to one linear-light sRGB color.
Example
const prepared =
prepareBrettel1997Dichromat!double(
CvdDeficiency .protan
);
const transformed =
prepared .transform(
LinearSRgbd(0.2, 0.4, 0.7)
);
assert(
transformed ==
LinearSRgbd(0.2, 0.4, 0.7)
.brettel1997Dichromat(
CvdDeficiency .protan
)
);