Mapping Pixel Values to Screen Intensity

Summary:


Contents of This Section


Return to SAOtng Summary User's Guide

Binning Pixel Values by Scaling

In order to display a large range of pixel values with a limited number of color levels (typically 200 for common 8-bit color monitors), image data must be binned according to some scaling function. A number of different functions are supported:

Mapping Scaled Values to Colors

Colors are specified by the intensities, i.e. voltages, applied to the red, blue, and green color guns in the monitor. The assignment of actual colors to color levels is accomplished through the use of pseudo-color Color Maps. In such maps, any color can be assigned to any color level, and all image pixels whose values are binned into a particular color level have the color assigned to that level. Color maps are designed to highlight differences among the pixel values. Depending on the levels which best distinguish the detail one wishes to study, the shifts from blue to red and red to yellow can be placed at higher or lower image pixel values and closer together or farther apart. The changes in color can be made gradual or sharp.

SAOtng implements color maps by specifying colors at a few color levels, and linearly interpolating to assign colors at intermediate levels. For example, the basic grey-scale color map specifies no intensity for any color at the lowest color level, full intensity for all colors at the highest color level, with the red, green and blue intensities varying linearly for intermediate levels. SAOtng offers a number of popular pseudo-color maps as well as a basic grey-scale map. The selected color map is displayed graphically in a "one-dimensional" image below the main display window. The x-axis corresponds to color level and the display intensity corresponds to the color assigned to that level.

Contrast and Bias

Once a color map has been selected, it can be further manipulated by the adjustment of contrast and bias.

Contrast refers to the rate of change of color with color level. At low contrast, color changes gradually over many color levels, while at high contrast it can change rapidly within a few levels. Contrast is adjusted by dragging the right mouse button vertically in the display window.

Bias refers to any offset added to the color levels before the color map is applied. Changing the bias corresponds to translating the color map with respect to the color levels without changing the shape of the map. At low bias, low color levels (i.e., low pixel values) will have non-zero intensities, while at high bias only high pixel values will have non-zero intensity. Bias is adjusted by dragging the right mouse button horizontally in the display window.


Return to Main SAOtng Help Page
Last Updated May. 26, 1995