Skip to content

Latest commit

 

History

History

cmap

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Sample colormaps

Some colormaps that may be generally useful.

  • gray.nrrd: Domain is from 0 to 1, producing a 3-vector of grays going linearly from [0,0,0] to [1,1,1].

  • spiral.nrrd: Domain is from 0 to 1, producing a 3-vector of RGB colors that go from [0,0,0] to [1,1,1], spiraling around to various hues along the way. The idea for this colormap was described by Colin Ware in an important paper.

  • isobow.nrrd: Domain is from 0 to 1, producing a 3-vector of RGB colors that circle through hues (starting and ending at same blue). Face-based luminance matching was used to try to enforce isoluminance, but displays and viewers will vary.

The precise domain of the univariate colormaps extends half a sample below 0.0 and half a sample above 1.0, so that reconstruction with tent should safely fall between two samples for positions between 0 and 1.

You can make a picture of the univariate colormaps with unu, for example:

unu axinsert -i spiral.nrrd -a 2 -s 40 | unu quantize -b 8 -min 0 -max 1 -o spiral.png

More colormaps will be added as more example programs need them.