Main Content


Get height of image from image model


imgheight = getImageHeight(imgmodel) returns the number of rows of the image in image model imgmodel.

Input Arguments

collapse all

Image model, specified as a scalar imagemodel object.

Output Arguments

collapse all

Image height in rows of pixels, returned as positive integer.

Data Types: double

Version History

Introduced before R2006a