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)
Syntaxpublic static double FindTransformECC(
IInputArray templateImage,
IInputArray inputImage,
IInputOutputArray warpMatrix,
MotionType motionType,
MCvTermCriteria criteria,
IInputArray inputMask = null
)
Public Shared Function FindTransformECC (
templateImage As IInputArray,
inputImage As IInputArray,
warpMatrix As IInputOutputArray,
motionType As MotionType,
criteria As MCvTermCriteria,
Optional inputMask As IInputArray = Nothing
) As Double
public:
static double FindTransformECC(
IInputArray^ templateImage,
IInputArray^ inputImage,
IInputOutputArray^ warpMatrix,
MotionType motionType,
MCvTermCriteria criteria,
IInputArray^ inputMask = nullptr
)
static member FindTransformECC :
templateImage : IInputArray *
inputImage : IInputArray *
warpMatrix : IInputOutputArray *
motionType : MotionType *
criteria : MCvTermCriteria *
?inputMask : IInputArray
(* Defaults:
let _inputMask = defaultArg inputMask null
*)
-> float
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:
DoubleThe final enhanced correlation coefficient, that is the correlation coefficient between the template image and the final warped input image.
See Also