There are many tools online that take images and simulate what that image might look like to someone with color blindness. However, I can't find any descriptions of these algorithms.
Is there a standard algorithm used to simulate color blindness? I'm aware that there are many types of color blindness (see the Wikipedia page on the subject for more details), but I'm primarily interested in algorithms for simulating dichromacy.
Colour vision simulatorsMany can be found via Google search/Chrome extensions or within Adobe Photoshop but note no simulators are 100% accurate for each type or severity. Simulators allow you to upload your own images and enable you to simulate images on your screen.
You can do this easily just by going to View -> Proof Setup -> Color Blindness Protanopia /Deuteranopia type. You can add a hotkey to these features in Edit -> Keyboard Shortcuts to make it more comfortable.
Monochromacy is a disease state in human vision but is normal in pinnipeds (such as Neophoca cinerea shown here), cetaceans, owl monkeys and some other animals. Many mammals, such as cetaceans, the owl monkey and the Australian sea lion (pictured at right) are monochromats.
I had the same frustration and wrote an article comparing opensource color blindness simulations. In short, there are four main algorithms:
Coblis and the "HCIRN Color Blind Simulation function". You'll find this one in many places, and a Javascript implementation by MaPePeR. The full HCIRN simulation function was not properly evaluated but is reasonable in practice. However the "ColorMatrix" approximation by colorjack is very inaccurate and should be totally avoided (the author himself said that). Unfortunately it's still widespread as it was easy to copy/paste.
"Computerized simulation of color appearance for dichromats" by Brettel, Viénot, and Mollon (1997). A very solid reference. Works for all kinds of dichromacies. I wrote a public domain C implementation in libDaltonLens.
"Digital video colourmaps for checking the legibility of displays by dichromats" by Viénot, Brettel and Mollon (1999). A solid reference too, simplifies the 1997 paper for protanopia and deuteranopia (2 of the 3 kinds of color blindness). Also in libDaltonLens.
"A Physiologically-based Model for Simulation of Color Vision Deficiency" by Machado et al. (2009). Precomputed matrices are available on their website, which makes it easy to implement yourself. You just need to add the conversion from sRGB to linearRGB.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With