This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Image model object from image object


imgmodel = getimagemodel(himage)


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.


h = imshow('bag.png');
imgmodel = getimagemodel(h);

See Also

Introduced before R2006a

Was this topic helpful?