Enum RedGreenCvdDeficiency

Red/green cone-deficiency families supported by the promoted Viénot 1999 and Machado 2009 operations.

enum RedGreenCvdDeficiency : int { ... }

Tritan is intentionally absent. Viénot 1999 is not promoted for tritan, and the Machado tritan table remains outside the production API because the research evidence records a material model limitation for that case.

Enum members

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

Example

const simulated =
    LinearSRgbd(0.2, 0.4, 0.7)
    .vienot1999Dichromat(
        RedGreenCvdDeficiency.deutan
    );

assert(simulated.g == simulated.g);