This repository contains colormaps tailored for cardiac DTI. Please feel free to use them and also to commit your own suggestions. I am sure we as a community can considerably improve them.
This repository was created after coming across several articles showing the shortcomings of the colormap "jet", by far the most used colormap in MR, after grayscale:
- How bad is your colour map?
- The 'jet' colormap must die
- matplotlib: choosing colourmaps
- Rainbow Color Map Critiques
- The "Which Blair project": a quick visual method for evaluating perceptual color maps
- Why Should Engineers and Scientists Be Worried About Color?
In short, we can divide colours stimulus in three dimensions:
- The luminance
- The saturation
- The hue
Human vision is highly sensitive to luminance, and the 'jet' colour map has a non-monotonical luminance profile which affects human perception. Additionally, when displaying angles that wraparound, such as helix-angle, the colormap should also wrap to aid interpretation.
With this in mind here is a list of colourmaps for tensor orientation measures:
Luminance encodes inclination. Hue encodes polarity of the angle. Angles wrap through black.
Luminance encodes inclination. Hue encodes polarity of the angle. Angles wrap through black.
This maps does not wrap as it is showing absolute angles. It separates angles below and above 45 deg in different colours in order to visualise differences between diastole and systole conformations (below and above 45 deg respectively in healthy hearts).
Luminance encodes inclination. Hue encodes polarity of the angle. Angles wrap through black.
The colormap data is located in the colormaps_data folder. Each colormap is a text ASCII file with a 256 x 3 RGB array.
There is also a MATLAB script that will go through the text files and creates PNGs of the colormaps in the colormaps_pngs folder.