Main Content

isequal

(Not recommended) Compare twobigimageobjects for equality

Theisequalfunction of thebigimageobject is not recommended. Use theblockedImageobject instead. For more information, seeCompatibility Considerations.

Description

tf= isequal(bigimg1,bigimg2)returnstrueif big imagesbigimg1andbigimg2have 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.isequaldoes not consider file names, masks, and other class properties.

Input Arguments

collapse all

First big image, specified as abigimageobject.

Second big image, specified as abigimageobject.

Output Arguments

collapse all

大的图片bigimg1andbigimg2are equal, returned as a logical scalar.

Data Types:logical

Version History

Introduced in R2019b

expand all

Not recommended starting in R2021a

See Also