Explore Very Large Images


If you are viewing a very large image, it might not load in Image Viewer, or it could load, but zooming and panning are slow. In either case, creating a reduced resolution data set (R-Set) can improve performance. Use the Image Viewer to navigate an R-Set image the same way you navigate a standard image.

Creating an R-Set File

To create an R-Set file, use the function rsetwrite. For example, to create an R-Set from a TIFF file called 'LargeImage.tif', enter the following:

rsetfile = rsetwrite ('LargeImage.tif')

rsetwrite saves an R-Set file named 'LargeImage.rset' in the current directory. Or, if you want to save the R-Set file under a different name, enter the following:

rsetfile = rsetwrite('LargeImage.tif', 'New_Name')

You can create an R-Set file directly from a TIFF or NITF file, or you can create one from another type of image file by first creating an Image Adapter object. See Working with Data in Unsupported Formats for more information.

The time required to create an R-Set varies, depending on the size of the initial file and the capability of your machine. A progress bar shows an estimate of time required. If you cancel the operation, processing stops, no file is written, and the rsetfile variable will be empty.

Opening an R-Set File

Open an R-Set file from the command line:

Was this topic helpful?