Image model object from image object
imgmodel = getimagemodel(himage)
imgmodel = getimagemodel(himage) returns
the image model object associated with
be a handle to an image object or an array of handles to image objects.
The return value
imgmodel is an image model
himage is an array of handles to image
imgmodel is an array of image models.
himage does not have an associated image
getimagemodel creates one.
Read an image into the workspace.
h = imshow('bag.png');
Retrieve the image model associated with this image.
imgmodel = getimagemodel(h)
imgmodel = IMAGEMODEL object accessing an image with these properties: ClassType: 'uint8' DisplayRange: [0 255] ImageHeight: 250 ImageType: 'intensity' ImageWidth: 189 MinIntensity: 0 MaxIntensity: 255