Create and Open Reduced Resolution Files

To create a reduced resolution (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 folder. 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. To create an R-Set file from another type of image file, first create an Image Adapter object. See Perform Block Processing on Image Files 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.

Open a Reduced Resolution File

To open a reduced resolution (R-Set) file, use the imtool function.

imtool('LargeImage.rset')

You can also open an R-Set file using the openrset function.