Enum CvdDeficiency
Cone-deficiency families supported by the Brettel 1997 dichromat model.
enum CvdDeficiency : int { ... }
Enum members
| Name | Description |
|---|---|
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);