Image Processing Toolbox User's Guide Previous page   Next Page
imgcf

Get handle to most recent current figure containing an image

Syntax

Description

hfig = imgcf returns the handle of the most recent current figure that contains an image. The figure may be a regular figure window that contains at least one image or an Image Tool window.

If none of the figures currently open contains an image, imgcf creates a new figure.

Note

imgcf can be useful in getting the handle to the Image Tool figure window. Because the Image Tool turns graphics object handle visibility off, you cannot retrieve a handle to the tool figure using gcf.

Example

See also

gca, gcf, imgca


Previous page  imgca imgetfile Next page

© 1994-2005 The MathWorks, Inc.