FUNCTION REFERENCE

imref2d.sizesMatch

Verify that an image's dimensions match an imref2d object's ImageSize.

Verify that an image's dimensions match an imref2d object's ImageSize.

Syntax

tf = sizesMatch(R, A)

Syntax

tf = R.sizesMatch(A)

Returns true when the first two dimensions of A equal R.ImageSize.

Example

R = imref2d([4 5]); R.sizesMatch(zeros(4, 5))   % true

Differences from MATLAB: None.

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