Image Palettes
An image palette is a color mapping between image brightness and some number of colors. Mira uses 256 palette entries per channel to display a luminance image (i.e., an image not in RGB format). For such images, the image levels are set by the Transfer Function, then a palette of colors is assigned to each level of the transfer function. Since there are a discrete number of levels in the transfer function that must cover some range of image luminance, there is a range of luminance assigned to each palette color. By changing the color assignment to the palette indices, you can change the way the image is rendered.
The Palette Properties dialog provides access to different palettes other than the default grayscale palette. Use the selection box in the Palette Properties dialog to choose a different palette. You can adjust a palette without saving the changes using controls in the Palette Properties and in the Palette Pane. To permanently save changes to a palette, use the button to open the palette profile menu. The fundamental palettes such as grayscale are protected against change and cannot be overwritten. However, addition palettes you import can be overwritten with changes. The palette profile menu has two different forms as shown below.
|
|
Fundamental Palette: overwriting and deleting are disabled. |
Imported Palette: Overwriting and Deleting are enabled. |
Mira is installed with a few fundamental palettes including "grayscale", "random". and "level slice". These basic palettes are stored in binary form in the Windows Registry. Mira only loads palettes from the Registry. A rich collection of pseudocolor palettes is provided in thePalettes sub folder of the Sample Images folder (see Mira's Special Folders). These additional palettes may be imported from files to the Registry using theView > Palette > Import Palettes command in the main menu for Image Windows.
Palettes listed in the selection box of the Palette Properties dialog can be exported from the Windows Registry to a file using theView > Palette > Export Palettes command in the main menu for Image Windows.
Images are converted from pixel values to the screen display using two protocols: a Transfer Function for non-RGB images, and a Palette for all images. The transfer function converts image brightness values into a look-up table with 255 entries (255 per channel for RGB images). The palette then assigns a color or shade of gray to each entry in the lookup table. You can change both of these quantities from the Image Window:
To change the Transfer Function, open the Transfer Function Pane from theImage Tools Toolbar.
To change the Palette, open thePalette Pane from the Image Tools Toolbar and use the mouse to stretch the Colormap on the Palette Pane. More complex palette changes can be made using the Palette Properties dialog.
Procedures for Changing the Image Palette
Contrast & Brightness |
Be sure the Palette Pane is open, Then do the following:
|
Gamma & Brightness |
Be sure the Palette Pane is open, Then do the following:
|
Palette Pane, Palette Properties, Transfer Functions, Image Windows