imsizecv

Gets the height and width of an image using its ComputerVision handle.

Syntax

R = imsizecv(handle)

Inputs

handle
Handle of an image.
Type: integer

Outputs

R
R is a vector whose first element is the image height (rows) and second element is the image width (columns).
Type: vector

Example

Get the size of the image:

handle = imreadcv('cv1.jpg');
R = imsizecv(handle)

R = [Matrix] 1 x 2
400  350