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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4640 - (download) (annotate)
Tue Sep 27 20:54:47 2016 UTC (2 years, 8 months ago) by glk
File size: 1257 byte(s)
initial result of svn export --username anonsvn --password=anonsvn https://svn.smlnj-gforge.cs.uchicago.edu/svn/diderot/branches/vis15/src/tests/
## 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