Compares current image with "image" and returns a floating point value from 0 to 1 which specifies the percentage of equality.

1 means that two images are equal.

The algorithm compares only the intensity of the pixels, not the colors.

This method returns an 8 bit gray scale image which contains the differences.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public double Compare(
	IEImage image,
	IEImage diffImage
)
Public Function Compare ( _
	image As IEImage, _
	diffImage As IEImage _
) As Double
public:
double Compare(
	IEImage^ image, 
	IEImage^ diffImage
)

Parameters

image
IEImage
The second image to compare.
diffImage
IEImage
The 8 bit gray scale image with the differences.

Return Value

Returns a floating point value from 0 to 1 which specifies the percentage of equality.

See Also