You are here: Start » FIL.NET » Function Reference » System » Assertions » FIL.AssertImageEqualTo
Asserts that two images are equal or differ by a small given margin.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void AssertImageEqualTo ( FilNet.Image inImage, FilNet.Image inExpectedImage, float inMaxDifference, string inDescription, float inEpsilon, int inEpsilonScale )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inExpectedImage | FilNet.Image | |||
![]() | inMaxDifference | float | <0.0f, INF> | 0.0f | Maximum absolute difference between a specific pixel of the two images. Default value: 0.0f. |
![]() | inDescription | string | |||
![]() | inEpsilon | float | <0.0f, INF> | 1.0f | Maximum allowed difference, significant. InEpsilon will be multiplied by 10^inEpsilonScale before checking the difference. Default value: 1.0f. |
![]() | inEpsilonScale | int | -6 | Default value: -6. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input images have different pixel formats in AssertImageEqualTo. |
DomainError | Input images have different sizes in AssertImageEqualTo. |