Full API information for OSDxImaging DLL

ImagingFxCalculateNCC Method

Calculates the normalised correlation coefficient for the array of pixels in the template and test images

Definition

Namespace: OSDx
Assembly: OSDxImaging (in OSDxImaging.dll) Version: 3.0.0.0 (3.0.0.0)
C#
public double CalculateNCC(
	Bitmap TemplateImage,
	Bitmap TestImage,
	Rectangle BlinkRect
)

Parameters

TemplateImage  Bitmap
The image acting as template
TestImage  Bitmap
The image being tested against the template
BlinkRect  Rectangle
The rectangle defining the useful area of the image holding blink related activity

Return Value

Double
A double precision number holding the normalised correlation coefficient of the two images

See Also