You are here: Start » AVL.NET » AVS.AssertImageEqualTo Method

AVS.AssertImageEqualTo Method

Asserts that two images are equal or differ by a small given margin.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AssertImageEqualTo
(
	AvlNet.Image inImage,
	AvlNet.Image inExpectedImage,
	float inMaxDifference,
	string inDescription,
	float inEpsilon,
	int inEpsilonScale
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inExpectedImageAvlNet.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.

Function Overrides

See also