Image Processing Toolbox User's Guide Previous page   Next Page

Displaying Each Image in a Separate Figure

The simplest way to display multiple images is to display them in separate figure windows. MATLAB does not place any restrictions on the number of images you can display simultaneously.

The Image Tool can only display one image frame at a time. Each time you call imtool, it opens a new figure window. Use standard MATLAB indexing syntax to specify the frame to display.

In contrast, imshow always displays an image in the current figure. If you display two images in succession, the second image replaces the first image. To view multiple figures with imshow, use the figure command to explicitly create a new empty figure before calling imshow for the next image. For example, to view the first three frames in an array of grayscale images I,

The Image Tool can only display one image frame at a time. Use standard MATLAB indexing syntax to specify the frame to display.


Previous page  Viewing Multiple Images Displaying Multiple Images in the Same Figure Next page

© 1994-2005 The MathWorks, Inc.