This is an Action bar to deal with cool images or videos when they are not colorblind friendly :
Pure red green blue are bad choice for two reasons,
all three kind of colorblind folks won’t be able to differentiate clearly the 3 channels :
and for normal vision, in terms of luminance red and blue are dark, we don’t see them well.
The best response to both problems is to use Magenta Yellow Cyan (CMY) VS Red Green Blue (RGB)
With these everyone see everything as well as possible :
With only two channel images you have more room for creativity to be compatible but two good choices are Green with Magenta and Orange with Blue (not the pure one, a light Blue).
But RGB remains a common practice, I think because it fits the wavelength of fluorescence and mostly it’s the default parameters in most software.
Provided they are pure RGB, if you save an image or video from the web or a publication and import it on ImageJ / Fiji, you can easily convert it back to a three channel hyperstack. This is the “Make Composite” command.
From there you can choose whatever LUT (false color) and contrast you want!
A last thing is that, as we badly see Red and Blue, shared images are most of the time highly saturated. If you try to convert these to CMY you will get a degraded result with big patches of white.
A solution is semi-CMY : for example in rgb values Magenta is (255,0,255) but if you use (128,0,128) and same principle for Cyan and Yellow, it prevents unwanted saturation :
You can adjust contrast or gamma yourself afterward.
Here’s what the Colorblind Bar does :
The “convert” button applies the semi-CMY LUTs to the active image.
it works on rgb and stacks
the “B&C” button just opens the Brightness and Contrast tool of ImageJ next to your image.
The “RGB / Composite” button convert the active image from one type to the over.
The “test CB” create a montage with the 3 big types of colorblindness simulated on your image.
(I think this works only on Fiji)
A “reorder LUTs” button
Finally the “invert” button will convert a RGB image to an inverted CMY one. (It’s fun to click it multiple times)
Then if you want to try it you can run this macro code :
Or to install it you can get the Colorblind_Bar.ijm file there and place it on the plugin/ActionBar directory of your ImageJ or Fiji.
I hope you like it and I look forward to your feedback,