AssertImageEqualTo
Asserts that two images are equal or differ by a small given margin.
Syntax
C++
Python
def AssertImageEqualTo( inImage: Image, inExpectedImage: Image, inMaxDifference: float, /, *, inDescription: str = "", inEpsilon: float = 1.0, inEpsilonScale: int = -6 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inExpectedImage | Image | |||
![]() |
inMaxDifference | float | 0.0 - ![]() |
Maximum absolute difference between a specific pixel of the two images | |
![]() |
inDescription | str | "" | ||
![]() |
inEpsilon | float | 0.0 - ![]() |
1.0 | Maximum allowed difference, significant. InEpsilon will be multiplied by 10^inEpsilonScale before checking the difference |
![]() |
inEpsilonScale | int | -6 |


