Table of Contents

Method FindTransformECCMultiScale

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

FindTransformECCMultiScale(InputArray, InputArray, InputOutputArray, ECCParameters?, InputArray, InputArray)

Finds the geometric transform (warp) between two images in terms of the ECC criterion. Uses pyramids, making the function more stable and able to correctly handle more sophisticated cases than FindTransformECC(InputArray, InputArray, InputOutputArray, MotionTypes, TermCriteria?, InputArray).

public static double FindTransformECCMultiScale(InputArray reference, InputArray sample, InputOutputArray warpMatrix, ECCParameters? eccParams = null, InputArray referenceMask = default, InputArray sampleMask = default)

Parameters

reference InputArray

Single channel reference image; CV_8U, CV_16U, CV_32F, CV_64F type.

sample InputArray

sample image which should be warped with the final warpMatrix in order to provide an image similar to reference, same type as reference.

warpMatrix InputOutputArray

floating-point 2x3 or 3x3 mapping matrix (warp).

eccParams ECCParameters

List of the algorithm parameters. See ECCParameters for details.

referenceMask InputArray

An optional single channel mask to indicate valid values of reference.

sampleMask InputArray

An optional single channel mask to indicate valid values of sample.

Returns

double