Function PreparedVienot1999Dichromat.transform
Applies the prepared transform to one linear-light sRGB color.
Example
const prepared =
prepareVienot1999Dichromat!double(
RedGreenCvdDeficiency .protan
);
const transformed =
prepared .transform(
LinearSRgbd(0.2, 0.4, 0.7)
);
assert(
transformed ==
LinearSRgbd(0.2, 0.4, 0.7)
.vienot1999Dichromat(
RedGreenCvdDeficiency .protan
)
);