|
Object Programming: Working with Image Objects |
|
The tiling example provided in the IDL distribution takes a 5000 by 5000 pixel JPEG file containing an aerial photograph of Chicago's O'Hare International Airport and creates a JPEG2000 file from the data. This file type provides inherent support for image tiles.
| Example Code See tilingjp2_doc.pro in the examples/doc/objects subdirectory of the IDL installation directory for the tiling application code. |
| Note The first time you run this application, it generates the JPEG2000 file. This might take a noticeable amount of time, depending on your system speed. However, once the JPEG2000 image is created, this file will be used instead of being recreated. |
The following figure shows the O'Hare image. When the application opens, the view is positioned in the upper-left corner of the full-resolution image.
IDL Online Help (March 06, 2007)