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

5 Building GUIs with Modular Tools

The following figure shows the Pixel Region embedded in the same figure as the target image.

Pixel Region tool embedded in figure window

Target Image with Embedded Pixel Region Tool

Positioning the Modular Tools in a GUI

When you create the modular tools, they have default positioning behavior. For example, the impixelinfo function creates the tool as a uipanel object that is the full width of the figure window, positioned in the lower left corner of the target image figure window.

Because the modular tools are constructed from standard Handle Graphics objects, such as uipanel objects, you can use properties of the objects to change their default positioning or other characteristics.

For example, in “Specifying the Parent of a Modular Tool” on page 5-15, when the Pixel Region tool was embedded in the same figure window as the target

5-18

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