XnaFanUtilGetDifferenceValue(Image, Image, Int32) Method

Gets a value indicating the percentage of difference between two images.

Definition

Namespace: DevCase.ThirdParty.XnaFan
Assembly: DevCase.net48.ThirdParty.XnaFan (in DevCase.net48.ThirdParty.XnaFan.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static float GetDifferenceValue(
	Image image1,
	Image image2,
	int threshold = 1
)

Parameters

image1  Image
The first image to compare.
image2  Image
The second image to compare.
threshold  Int32  (Optional)
A value, from 0 to 100, indicating how big a difference will be ignored.

Default value is 1.

Return Value

Single
The resulting percentage value.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

https://www.nuget.org/packages/ImageComparison

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also