Ask Your Question

Which are color blind safe palettes?

asked 2019-05-30 14:00:53 -0500

I am looking to use a color spectrum safe for color vision impaired viewers. Are there color vision impaired safe palettes on ColorMaps in OpenCV?

An example palette I would like to use is found in "Color Design for the Color Vision Impaired" which you can see from, The article shows a modified spectral color scheme, captured in a screenshott below:

image description

"The precipitation map in the first row of Figure 8, for example, shows low quantities of rainfall in red, and intermediate values in green. Hence, low and intermediate values appear identical for readers with deuteranopia. The map in the second row uses an alternative spectral ramp that omits yellow-green, uses a darker red, and places the transition between yellow and blue at the mean of all values."

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2019-08-17 07:37:39 -0500

Eduardo gravatar image

updated 2019-08-17 07:44:53 -0500

Have a look at the perceptually uniform sequential colormaps in OpenCV (available with OpenCV >= 3.4.6 and OpenCV >= 4.1.0), that are:

  • magma
  • inferno
  • plasma
  • viridis
  • cividis
  • twilight / twilight shifted (circular colormap)

They are similar to the Matplotlib ones.

More information about magma, inferno, plasma and viridis colormaps can be found here.

Cividis comes from the following paper: Optimizing colormaps with consideration for color vision deficiency to enable accurate interpretation of scientific data.

This page shows how viridis and magma can be seen by the various forms of colorblindness (Deuteranopia, Protanopia, Tritanopia).

edit flag offensive delete link more

answered 2019-05-31 00:06:29 -0500

berak gravatar image

Are there color vision impaired safe palettes on ColorMaps in OpenCV?

no. at least none of the LUT's here was designed with that goal in mind.

however, if you can come up with your own colormap, it's easy to use, please see the tutorial.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-05-30 14:00:53 -0500

Seen: 77 times

Last updated: Aug 17