Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
pmi432 / LR07 / 2read / image processing toolbox guide.pdf
Скачиваний:
166
Добавлен:
18.03.2015
Размер:
18.08 Mб
Скачать

Exploring Very Large Images

Exploring Very Large Images

In this section...

“Overview” on page 4-21

“Creating an R-Set File” on page 4-21 “Opening an R-Set File” on page 4-22

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, 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” on page 15-17 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.

4-21

4 Displaying and Exploring Images

Opening an R-Set File

Open an R-Set file from the command line:

imtool('LargeImage.rset')

4-22

Соседние файлы в папке 2read