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.
Back to Top
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.
Back to Top
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.
Back to Top
 | Using the Image Tool to Explore Images | | Using Image Tool Navigation Aids |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit