Products & Services Solutions Academia Support User Community Company

Learn more about Image Processing Toolbox   

Exploring Very Large Images

Overview

If you are viewing a very large image, it might not load in imtool, 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 imtool 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 from a TIFF or NITF image 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')

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

You can open an R-Set file from the command line, or directly in the Image Tool. From the command line, type:

imtool('LargeImage.rset')

From the Image Tool, select File > Open From R-Set.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS