Image.zssd#
- Image.zssd(image2: Any) float[source]#
Zero-mean sum of squared differences
- Parameters:
image2 (
Image) – second image- Raises:
ValueError – image2 shape is not equal to self
- Returns:
sum of squared differences
- Return type:
scalar
Returns a simple image disimilarity measure which is the zero-mean sum of the squared differences between the image and
image2. The result is a scalar and a value of 0 indicates identical pixel patterns (relative to their maen) and is increasingly positive as image dissimilarity increases.Examples
Note
The
zssdsimilarity measure is invariant to changes in image brightness offset.
References
P. Corke, Robotics, Vision & Control for Python, Springer, 2023, Section 11.5.2.