Main Content

getImageType

Get type of image from image model

Description

imgtype = getImageType(imgmodel) returns the type of image in imgmodel.

Input Arguments

collapse all

Image model, specified as a scalar imagemodel object.

Output Arguments

collapse all

Image type, returned as 'intensity', 'truecolor', 'binary', or 'indexed'.

Version History

Introduced before R2006a