Main Content

isequal

(To be removed) Compare two bigimage objects for equality

The isequal function of the bigimage object will be removed in a future release. Use the blockedImage object instead. For more information, see Version History.

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

Version History

Introduced in R2019b

expand all

R2024b: Warns

The isequal function issues a warning that it will be removed in a future release.

See Also