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

SCM Repository

[diderot] View of /branches/vis15/src/tests/examples/cmap/README.md
ViewVC logotype

View of /branches/vis15/src/tests/examples/cmap/README.md

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4178 - (download) (annotate)
Fri Jul 8 18:47:11 2016 UTC (3 years, 1 month ago) by jhr
File size: 1257 byte(s)
updating examples in merge to latest put from github
## 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](http://ccom.unh.edu/sites/default/files/publications/Ware_1988_CGA_Color_sequences_univariate_maps.pdf).

* `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](http://people.cs.uchicago.edu/~glk/pubs/#VIS-2002)
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.

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