Main Content

getImageWidth

Get width of image from image model

Description

imgwidth = getImageWidth(imgmodel) returns the number of columns of the image in image model imgmodel.

Input Arguments

collapse all

Image model, specified as a scalar imagemodel object.

Output Arguments

collapse all

Image width in columns of pixels, returned as positive integer.

Data Types: double

Version History

Introduced before R2006a