Handle to a figure, axes, uipanel, or image graphics object, specified as
a handle. If h is an axes or figure handle containing
multiple images, then getimage uses the first image
returned by findobj(h,'Type','image').
Image data, returned as a numeric array. I is
identical to the image CData; it contains the same values
and is of the same class as the image CData. If
h is not an image or does not contain an image,
then I is empty.
x — Image extent in x direction 2-element numeric vector
Image extent in the x direction, returned as a
2-element numeric vector of the form [xmin xmax].
x is identical to the image
XData.
Data Types: double
y — Image extent in y direction 2-element numeric vector
Image extent in the y direction, returned as a
2-element numeric vector of the form [ymin ymax].
y is identical to the image
YData.
Data Types: double
flag — Image type integer
Image type, returned as an integer with one of these values:
Flag
Type of Image
0
Not an image; I is returned as an
empty matrix
1
Indexed image
2
Intensity image with values in standard range. The
standard range for single and
double images is
[0,1].