|
Getting Started with IDL: Images |
|
The following sections show examples of reading and displaying image data at the command line.
First we must import an image to be processed into IDL. Reading image data files into IDL is easy whether at the command line or using the iImage tool.
The file that we will read contains the image we used in Reading and Writing Data of an aerial view above Manhattan in TIFF format.
MYIMAGE=READ_TIFF(FILEPATH('image.tif',SUBDIR= $
['examples', 'data']))
Using the IDL command line, you can view an image with two different routines. The TV procedure writes an array to the display as an image without scaling. Enter the commands below at the IDL Command Line. The TVSCL routine is another routine which is described following the TV routine.
| Note The default graphics window size is 640 by 512 pixels in size on a UNIX workstation and one-fourth of the display size on most Windows environments. |