You are here: Start » FIL.NET » Function Reference » System » Assertions » FIL.AssertImageEqualTo

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
inImageFilNet.ImageInput image.
inExpectedImageFilNet.Image
inMaxDifferencefloat<0.0f, INF>0.0fMaximum absolute difference between a specific pixel of the two images. Default value: 0.0f.
inDescriptionstring
inEpsilonfloat<0.0f, INF>1.0fMaximum allowed difference, significant. InEpsilon will be multiplied by 10^inEpsilonScale before checking the difference. Default value: 1.0f.
inEpsilonScaleint-6Default 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.

Function Overrides

See also