Quiz: colour for display

Short questions to test your understanding. Try each on paper first, then open the answer. A colour map turns a data value into a colour through a display range; L^* is the lightness of a colour (0 black, 100 white).


Q1. A smooth height map shown with the rainbow (“jet”) map seems to have sharp boundaries. Are they in the data?

How does jet’s lightness change along the map?

No. Jet’s lightness rises steeply from dark blue to bright cyan, stays high through green and yellow, and falls to dark red. Where lightness changes fast, small data changes look like edges; where it is flat, real changes are hidden. The boundaries are made by the map.


Q2. Which kind of colour map would you use for (a) a temperature difference to a reference, positive and negative; (b) photon counts; (c) cell labels 1–50?

Sequential, diverging, qualitative.

  1. Diverging, centred at zero with a symmetric range. (b) Sequential with monotone lightness (viridis, magma, grey). (c) Qualitative: distinct colours without order, chosen so that neighbouring labels differ.

Q3. Signed data range from −3 to 7. You show them with a blue–white–red map and the display range −3 … 7. What value appears white, and what is wrong?

White is the middle of the map.

The middle of the range, (-3 + 7)/2 = 2, is white: values between 0 and 2 look blue, as if they were negative. Use the symmetric range −7 … 7 so that 0 is white (−3 is then light blue, at position 0.29 of the map).


Q4. A figure shows two fluorescence channels merged in red and green. Why is that a problem, and what is a better choice?

Who cannot tell red from green?

About 8 % of men have a red–green deficiency: for them red, green and their overlap (yellow) look like similar yellows, and the two channels cannot be told apart. Use magenta and green (overlap: white), and show each channel separately in grey as well.


Q5. Why do the viridis and cividis maps still work when printed in greyscale, while jet does not?

What does a greyscale print keep?

A greyscale print keeps (roughly) the lightness. Viridis and cividis increase lightness monotonically, so the order of values survives. Jet’s lightness goes up and down, so low and high values both print dark and the order is lost.


Q6. What does a decorrelation stretch do to the colour cloud of an image, and why do faint colour differences become visible?

Think of the cloud as a cigar along the grey axis.

It rotates the cloud to its principal axes, scales each axis to the same spread, and rotates back. The long axis (mostly brightness) is shrunk, the thin axes (colour differences) are stretched. Colour differences that were tiny compared with the brightness variation now span a large range of colours.


Q7. (math) A dichromat’s simulation matrix D satisfies D^2 = D and has rank 2. What does that mean geometrically, and which colour differences are invisible?

Projection; null space.

D is a projection onto a plane (its range, 2D): applying it twice changes nothing more. Every colour is mapped onto the plane along the direction of the null space (1D). Two colours look the same iff their difference lies in that null space; for a deuteranope, in LMS it is the direction of the M cone alone.