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

Get all image handles within a handle

Syntax

Description

himage = imhandles(H) takes a graphics handle h as an input and returns all of the image handles whose ancestor is h. h can be an array of valid figure, axes, uipanel, or image handles.

himage is an array of image handles.

Note

imhandles errors if the image objects in himage do not have the same figure as their parent.

Examples

This example returns the handle to the image object in the current figure.

This example displays two images in a figure and uses imhandles to get handles to both of the image objects in the figure.

See Also

imgca, imgcf


Previous page  imgetfile imhist Next page

© 1994-2005 The MathWorks, Inc.