Click or drag to resize

CvInvokeFindTransformECC Method

http://www.emgu.com
Finds the geometric transform (warp) between two images in terms of the ECC criterion

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static double FindTransformECC(
	IInputArray templateImage,
	IInputArray inputImage,
	IInputOutputArray warpMatrix,
	MotionType motionType,
	MCvTermCriteria criteria,
	IInputArray inputMask = null
)

Parameters

templateImage
Type: Emgu.CVIInputArray
single-channel template image; CV_8U or CV_32F array.
inputImage
Type: Emgu.CVIInputArray
single-channel input image which should be warped with the final warpMatrix in order to provide an image similar to templateImage, same type as temlateImage.
warpMatrix
Type: Emgu.CVIInputOutputArray
floating-point 2×3 or 3×3 mapping matrix (warp).
motionType
Type: Emgu.CV.CvEnumMotionType
Specifying the type of motion. Use Affine for default
criteria
Type: Emgu.CV.StructureMCvTermCriteria
specifying the termination criteria of the ECC algorithm; criteria.epsilon defines the threshold of the increment in the correlation coefficient between two iterations (a negative criteria.epsilon makes criteria.maxcount the only termination criterion). Default values can use 50 iteration and 0.001 eps.
inputMask (Optional)
Type: Emgu.CVIInputArray
An optional mask to indicate valid values of inputImage.

Return Value

Type: Double
The final enhanced correlation coefficient, that is the correlation coefficient between the template image and the final warped input image.
See Also