getimagemodel - Image model object from image object
Syntax
imgmodel = getimagemodel(himage)
Description
imgmodel = getimagemodel(himage) returns
the image model object associated with himage. himage must
be a handle to an image object or an array of handles to image objects.
The return value imgmodel is an image model
object. If himage is an array of handles to image
objects, imgmodel is an array of image models.
If himage does not have an associated image
model object, getimagemodel creates one.
Examples
h = imshow('bag.png');
imgmodel = getimagemodel(h);
See Also
imagemodel
 | getimage | | getline |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit