Products & Services Solutions Academia Support User Community Company

Learn more about Image Processing Toolbox   

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS