|
Getting Started with IDL: Images |
|
The iImage tool is a powerful option for visualizing and manipulating image data. Unlike the command line-oriented visualizations shown previously, with iImage, a single command will give you a fully interactive environment.
Using our same TIFF data, follow these steps:
Open and from the examples\data directory choose a file named image.tif.
The iImage tool allows you many options for modifying and manipulating your images, for example the Data Window on the iImage tool allows you to adjust and manipulate the image brightness by changing the RGA or indexed channel values. For indexed color images, Channel 0 represents the image data values. For RGBA images, Channel 0 represents the red values, Channel 1 represents the green values and Channel 2 represents the blue values. Within each channel is a red bar representing minimum values and a green bar representing maximum values. You can click on each bar in each channel (which are tabbed) to manipulate these values.
Other options are available in iImage such as displaying multiple images, manipulating image color and lighting as well as brightness and contrast, filtering, resampling, morphing, surfacing, adding contours, and annotating among other things. For much more information on working with the iImage tool, see Working with Images. The following sections show how to duplicate some of the iImage tool functionality at the command line using direct graphics.
IDL Online Help (March 06, 2007)