Mangara / Color-Zebra

Beautiful sequential colormaps.
MIT License
0 stars 0 forks source link

Add toggle for color blindness simulation #1

Open Mangara opened 6 years ago

Mangara commented 6 years ago

Perhaps based on Vischeck, or similar methods?

Vischeck is based on a 1997 paper by Brettel, Vienot and Mollon entitled "Computerized simulation of color appearance for dichromats" (Journal of the Optical Society of America v14 pp2647) and on recent work from Brian Wandell's group at Stanford (http://white.stanford.edu).

Mangara commented 6 years ago

Here is Matlab code for the transformation: https://github.com/isetbio/isetbio/blob/ffa236e0dc0f1667791497bdaed2739ff4a5f31d/isettools/color/transforms/lms2lmsDichromat.m