This repository includes the code that was the basis of Haomiao Jiang's paper:
D-CIELAB: A Color Metric For Dichromatic Observers
Jiang Haomiao, Wandell Brian A., Farrella Joyce E., (2015),
17.3: SID Symposium Digest of Technical Papers, 46,
doi: 10.1002/sdtp.10358.
"A color metric for dichromatic subjects is proposed and evaluated empirically. The color metric extends the widely used CIELAB color difference metric, an international standard for trichromatic observers. The dichromatic extension (D-CIELAB) is implemented by specifying a linear transformation that maps the two types of cone absorptions in dichromats to the three types of cone absorptions in trichromats and then applies the standard CIELAB color metric to these values. The linear mapping is derived from between-eye color-matches of observers who are dichromatic in one eye and trichromatic in the other eye. We evaluate the accuracy of the D-CIELAB metric by predicting and measuring color discrimination thresholds for two dichromatic observers."
@article{https://doi.org/10.1002/sdtp.10358,
author = {Jiang, Haomiao and Wandell, Brian A. and Farrella, Joyce E.},
doi = {https://doi.org/10.1002/sdtp.10358},
eprint = {https://sid.onlinelibrary.wiley.com/doi/pdf/10.1002/sdtp.10358},
journal = {SID Symposium Digest of Technical Papers},
keywords = {Dichromatic Color Metric, CIELab, ΔEab, Psychophysics},
number = {1},
pages = {231-233},
title = {17.3: D-CIELAB: A Color Metric For Dichromatic Observers},
url = {https://sid.onlinelibrary.wiley.com/doi/abs/10.1002/sdtp.10358},
volume = {46},
year = {2015},
bdsk-url-1 = {https://sid.onlinelibrary.wiley.com/doi/abs/10.1002/sdtp.10358},
bdsk-url-2 = {https://doi.org/10.1002/sdtp.10358}}
The code has an associated web page for calculation with the D-CIELAB metric:
Color vision experiment code for detecting threshold and metric for dichromats