Get width of image from image model
imgwidth = getImageWidth(imgmodel)
imgwidth = getImageWidth(imgmodel) returns the number of columns of the image in image model imgmodel.
imgwidth
imgmodel
collapse all
imagemodel
Image model, specified as a scalar imagemodel object.
Image width in columns of pixels, returned as positive integer.
Data Types: double
double
getImageHeight | imageinfo
getImageHeight
imageinfo