Get type of image from image model
imgtype = getImageType(imgmodel)
imgtype = getImageType(imgmodel) returns the type of image in imgmodel.
imgtype
imgmodel
collapse all
imagemodel
Image model, specified as a scalar imagemodel object.
'intensity'
'truecolor'
'binary'
'indexed'
Image type, returned as 'intensity', 'truecolor', 'binary', or 'indexed'.
imageinfo