editcmap is an interactive tool for changing the colormaps of data objects. It supports two different methods of colormap editing: pseudocoloring and thresholding. The main editcmap window may be placed manually (default) or placed automatically. Also, the window size can be specified explicitly or resize it manually.
The features provided by editcmap include:
Pseudocolor Palette, in the form of a grid of color cells. Each color cell represents a pixel in the data object. The color cells are arranged in the order that the pixels appear in the data object's colormap. That is, the upper leftmost colorcell is the first color in the colormap and lower rightmost pixel box is the last color in the colormap. When a range of colors from the palette is chosen for modification, all colors taht lie sequentially between those two color cells in the colormap are altered.
Red/Green/Blue Scrollbars, reflect the three different components that define the color of the selected pixel. The scrollbars are used to modify the colormap of a data object.
Color Cell/Color Bar/Color Wheel, are three palette types available for colormap editing.
Threshold Palette, an ordered range of vertical lines representing pixel values. Each color line represents an entry in the colormap. The leftmost color line is the first color in the colormap and the rightmost color line is the last color in the colormap.
Lower/Upper/Range Scrollbars, reflect the lower bound, upper bound and the range of the thresholded values. The scrollbars are used to modify the colormap of a data object.
Pixel Thresholding/Pixel Clipping, two policies of the threshold object. When pixel clipping is selected, the clipped region may be accepted or rejected. When pixel thresholding is selected, the threshold region may or may not be inverted.
Executing editcmap with the pseudocolor option and utilizing the "gull-color.viff" image yields
editcmap -pseudo
Accesing the "Options" subform enables you to change the palette types.
Option subform under pseudocoloring
Executing editcmap with the thresholding option and utilizing the "gull-color.viff" image yields
editcmap -thresh
Accesing the "Options" subform enables you to change the policy of the threshold object from Pixel Clipping to Pixel Thresholding and vice versa.
Option subform under thresholding
editcmap can be executed from within cantata, or directly from the command line. To interactively process an image from the command line user interface (CLUI) type:
editcmap -i image.filename -pseudoIf you wish to use the Graphical User Interface then type:
or editcmap -i image.filename -thresh
editcmap -guiand wait till you see the graphical user interface.
GUI for editcmap
If you are interested in executing editcmap with the pseudocolor option and utilizing the "gull-color.viff" image then click HERE