Color tables for applying false color to greyscale images. More...
Go to the source code of this file.
Enumerations | |
enum | color_theme { BWLIN1 = 0, BWLIN2, GRBW, REDTEMP, BGRY, GAMMA_II, PRISM, RED_PURPLE, GWLIN, GWEXP, GREENPINK, BLUERED, SIXTEENLEVEL, RAINBOW1, STEPS, STERN, HAZE, BLUE_PASTEL, RED_PASTEL, HSL1, HSL2, HSV1, HSV2, PURPLE_RED_STRIPES, BEACH, MAC, EOS_A, EOS_B, HARD_CANDY, NATURE, OCEAN, PEPPERMINT, PLASMA, BLUERED2, RAINBOW2, BLUE_WAVES, VOLCANO1, WAVES1 } |
Functions | |
vil_rgb< vxl_byte > | color_value (int theme, int color_index) |
Color tables for applying false color to greyscale images.
Modifications 8 Nov 2005 Initial port from TargetJr.
This file provides a way to load color tables directly, rather than computing them. It was created from the predefined color tables in IDL. It provides a way of adding pseudo-color to data for visualization purposes.
These tables are provided courtesy of Research Systems Incorporated (RSI), Boulder, CO and are used with permission. RSI is the developer of IDL.
The number (ie REDx, GREENx, BLUEx) refer to the color table numbers from IDL. The IDL descriptions are as follows. I don't claim the names make sense, but at least they are unique and give a hint as to how they may display.
To understand how these color maps appear, compile and run the example program vil_color_tables.cxx. This executable will produce a color image for each of these tables representing a ramp from 0 to 255.
Definition in file vil_color_table.h.
enum color_theme |
Definition at line 72 of file vil_color_table.h.
vil_rgb<vxl_byte> color_value | ( | int | theme, |
int | color_index | ||
) |
Definition at line 3 of file vil_color_table.cxx.