UtilImageGetPercentageDifference(Image, Image, Byte) Method

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

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static float GetPercentageDifference(
	Image img1,
	Image img2,
	byte threshold
)

Parameters

img1  Image
The first image to compare.
img2  Image
The second image to compare with img1.
threshold  Byte
A value from 0 to 255 indicating how big a difference will be ignored.

Return Value

Single
The resulting percentage difference value between the two specified images.

A value of 0 (zero) means the images are equal; a value of 1 (one) means the images are totally different.

Remarks

Example

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

See Also