Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /tests/examples/cmap/README.md
ViewVC logotype

Annotation of /tests/examples/cmap/README.md

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (view) (download)

1 : glk 4640 ## Sample colormaps
2 :    
3 :     Some colormaps that may be generally useful.
4 :    
5 :     * `gray.nrrd`: Domain is from 0 to 1, producing a 3-vector of grays going
6 :     linearly from [0,0,0] to [1,1,1].
7 :    
8 :     * `spiral.nrrd`: Domain is from 0 to 1, producing a 3-vector of RGB colors
9 :     that go from [0,0,0] to [1,1,1], spiraling around to various hues along the way.
10 :     The idea for this colormap was described by [Colin Ware in an important paper](http://ccom.unh.edu/sites/default/files/publications/Ware_1988_CGA_Color_sequences_univariate_maps.pdf).
11 :    
12 :     * `isobow.nrrd`: Domain is from 0 to 1, producing a 3-vector of RGB colors
13 :     that circle through hues (starting and ending at same blue).
14 :     [Face-based luminance matching](http://people.cs.uchicago.edu/~glk/pubs/#VIS-2002)
15 :     was used to try to enforce isoluminance, but displays and viewers will vary.
16 :    
17 :     The precise domain of the univariate colormaps extends half a sample below 0.0
18 :     and half a sample above 1.0, so that reconstruction with tent should safely fall
19 :     between two samples for positions between 0 and 1.
20 :    
21 :     You can make a picture of the univariate colormaps with `unu`, for example:
22 :    
23 :     unu axinsert -i spiral.nrrd -a 2 -s 40 | unu quantize -b 8 -min 0 -max 1 -o spiral.png
24 :    
25 :     More colormaps will be added as more example programs need them.

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0