Optimizing colormaps with consideration for color vision deficiency to enable accurate interpretation of scientific data

Color vision deficiency (CVD) affects more than 4% of the population and leads to a different visual perception of colors. Though this has been known for decades, colormaps with many colors across the visual spectra are often used to represent data, leading to the potential for misinterpretation or difficulty with interpretation by someone with this deficiency. Until the creation of the module presented here, there were no colormaps mathematically optimized for CVD using modern color appearance models. While there have been some attempts to make aesthetically pleasing or subjectively tolerable colormaps for those with CVD, our goal was to make optimized colormaps for the most accurate perception of scientific data by as many viewers as possible. We developed a Python module, cmaputil, to create CVD-optimized colormaps, which imports colormaps and modifies them to be perceptually uniform in CVD-safe colorspace while linearizing and maximizing the brightness range. The module is made available to the science community to enable others to easily create their own CVD-optimized colormaps. Here, we present an example CVD-optimized colormap created with this module that is optimized for viewing by those without a CVD as well as those with red-green colorblindness. This colormap, cividis, enables nearly-identical visual-data interpretation to both groups, is perceptually uniform in hue and brightness, and increases in brightness linearly.

[1]  Haibo Jiang,et al.  High-resolution sub-cellular imaging by correlative NanoSIMS and electron microscopy of amiodarone internalisation by lung macrophages as evidence for drug-induced phospholipidosis. , 2017, Chemical communications.

[2]  Cynthia A. Brewer,et al.  ColorBrewer.org: An Online Tool for Selecting Colour Schemes for Maps , 2003 .

[3]  Pascual Capilla,et al.  Corresponding-pair procedure: a new approach to simulation of dichromatic color perception. , 2004, Journal of the Optical Society of America. A, Optics, image science, and vision.

[4]  B. Regan John Dalton’s Colour Vision Legacy , 1998 .

[5]  Mark D. Fairchild,et al.  iCAM framework for image appearance, differences, and quality , 2004, J. Electronic Imaging.

[6]  Changjun Li,et al.  The CIECAM02 Color Appearance Model , 2002, CIC.

[7]  W. J. Jenkins,et al.  Modeling Methods for Marine Science , 2011 .

[8]  Peter Kovesi,et al.  Good Colour Maps: How to Design Them , 2015, ArXiv.

[9]  J. D. Mollon,et al.  What do colour-blind people see? , 1995, Nature.

[10]  Christopher R Anderton,et al.  Quantifying element incorporation in multispecies biofilms using nanoscale secondary ion mass spectrometry image analysis. , 2016, Biointerphases.

[11]  John D. Hunter,et al.  Matplotlib: A 2D Graphics Environment , 2007, Computing in Science & Engineering.

[12]  Mark D. Fairchild,et al.  The iCAM Framework for Image Appearance, Image Differences, and Image Quality , 2002 .

[13]  Jennifer Birch,et al.  Worldwide prevalence of red-green color deficiency. , 2012, Journal of the Optical Society of America. A, Optics, image science, and vision.

[14]  Peter Tontonoz,et al.  High-resolution imaging and quantification of plasma membrane cholesterol by NanoSIMS , 2017, Proceedings of the National Academy of Sciences.

[15]  Bin Cao,et al.  Modeling Substrate Utilization, Metabolite Production, and Uranium Immobilization in Shewanella oneidensis Biofilms , 2017, Front. Environ. Sci..

[16]  Bernice E. Rogowitz,et al.  How not to lie with visualization , 1996 .

[17]  Prarthana Shrestha,et al.  Color accuracy and reproducibility in whole slide imaging scanners , 2014, Medical Imaging.

[18]  Manuel Menezes de Oliveira Neto,et al.  A Physiologically-based Model for Simulation of Color Vision Deficiency , 2009, IEEE Transactions on Visualization and Computer Graphics.

[19]  J D Mollon,et al.  Computerized simulation of color appearance for dichromats. , 1997, Journal of the Optical Society of America. A, Optics, image science, and vision.

[20]  James P. Ahrens,et al.  The Good, the Bad, and the Ugly: A Theoretical Framework for the Assessment of Continuous Colormaps , 2018, IEEE Transactions on Visualization and Computer Graphics.

[21]  M. J. Luque,et al.  Software for simulating dichromatic perception of video streams , 2014 .

[22]  Prarthana Shrestha,et al.  Color accuracy and reproducibility in whole slide imaging scanners , 2014, Journal of medical imaging.

[23]  Gaël Varoquaux,et al.  The NumPy Array: A Structure for Efficient Numerical Computation , 2011, Computing in Science & Engineering.

[24]  Travis E. Oliphant,et al.  Python for Scientific Computing , 2007, Computing in Science & Engineering.

[25]  Ralph E. White,et al.  Mathematical modeling of a lithium ion battery with thermal effects in COMSOL Inc. Multiphysics (MP) , 2011 .

[26]  J. Nathans,et al.  Opsin genes, cone photopigments, color vision, and color blindness , 1999 .

[27]  M. Pointer The Gamut of Real Surface Colours , 1980 .

[28]  Zhishen Wu,et al.  COMSOL Multiphysics: A Novel Approach to Ground Water Modeling , 2009 .

[29]  M. Luo,et al.  Uniform colour spaces based on CIECAM02 colour appearance model , 2006 .

[30]  T. Smith,et al.  The C.I.E. colorimetric standards and their use , 1931 .

[31]  Danielle Albers Szafir,et al.  Modeling Color Difference for Visualization Design , 2018, IEEE Transactions on Visualization and Computer Graphics.

[32]  Kenichiro Masaoka,et al.  Metric of color-space coverage for wide-gamut displays. , 2015, Optics express.

[33]  Shin-Tson Wu,et al.  Going beyond the limit of an LCD’s color gamut , 2017, Light: Science & Applications.

[34]  K. Thyng,et al.  True Colors of Oceanography: Guidelines for Effective and Accurate Colormap Selection , 2016 .

[35]  Jamie Nuñez,et al.  NanoSIMS for biological applications: Current practices and analyses. , 2018, Biointerphases.

[36]  Johannes E. Schindelin,et al.  Fiji: an open-source platform for biological-image analysis , 2012, Nature Methods.

[37]  David Borland,et al.  Rainbow Color Map (Still) Considered Harmful , 2007, IEEE Computer Graphics and Applications.

[38]  Anthony C. Robinson,et al.  Reflections on ‘ColorBrewer.org: An Online Tool for Selecting Colour Schemes for Maps’ , 2017 .

[39]  A. I. Barakat,et al.  Computational Fluid Dynamic Simulations of Maternal Circulation: Wall Shear Stress in the Human Placenta and Its Biological Implications , 2016, PloS one.