Enum CvdDeficiency

Cone-deficiency families supported by the Brettel 1997 dichromat model.

enum CvdDeficiency : int { ... }

Enum members

NameDescription
deutan Deutan-type deficiency.
protan Protan-type deficiency.
tritan Tritan-type deficiency.

Example

const simulated =
    LinearSRgbd(0.2, 0.4, 0.7)
    .brettel1997Dichromat(
        CvdDeficiency.protan
    );

assert(simulated.r == simulated.r);