FUNCTION REFERENCE

sizesMatch

True if an image has the size an imref2d describes.

True if an image has the size an imref2d describes.

Syntax

tf = sizesMatch(R, A)

Compares the first two dimensions of A with R.ImageSize; further dimensions (colour channels) are ignored.

Example

sizesMatch(imref2d([2 3]), zeros(2, 3, 3))   % true

Differences from MATLAB: imref3d is not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.