Image Processing Toolbox User's Guide Previous page   Next Page

Displaying the Target Image

As the foundation for any image processing GUI you create, use imshow to display the target image (or images) in a MATLAB figure window. (You can also use the MATLAB image or imagesc functions.) Once the image is displayed in the figure, you can associate any of the modular tools with the image displayed in the figure.

This example uses imshow to display an image in a figure window.

Because some of the modular tools add themselves to the figure window containing the image, make sure that the Image Processing Toolbox ImshowBorder preference is set to 'loose', if you are using the imshow function. By including a border, you ensure that the modular tools are not displayed over the image in the figure. This is the default setting.


Previous page  Using Modular Tools Specifying the Target Image Next page

© 1994-2005 The MathWorks, Inc.