Main Content

isequal

(Not recommended) Compare two bigimage objects for equality

The isequal function of the bigimage object is not recommended. Use the blockedImage object instead. For more information, see Compatibility Considerations.

Description

tf = isequal(bigimg1,bigimg2) returns true if big images bigimg1 and bigimg2 have the same spatial referencing, underlying data type, and block size. Pixel values are only compared if the metadata is equal, and the comparison ends early when unequal pixel values are found. isequal does not consider file names, masks, and other class properties.

Input Arguments

collapse all

First big image, specified as a bigimage object.

Second big image, specified as a bigimage object.

Output Arguments

collapse all

Big images bigimg1 and bigimg2 are equal, returned as a logical scalar.

Data Types: logical

Compatibility Considerations

expand all

Not recommended starting in R2021a

See Also

Introduced in R2019b