Table of Contents

Method PhaseCorrelateIterative

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

PhaseCorrelateIterative(InputArray, InputArray, int, int)

Iterative variant of PhaseCorrelate(InputArray, InputArray, InputArray, out double) that refines the detected shift over multiple iterations for improved sub-pixel accuracy.

public static Point2d PhaseCorrelateIterative(InputArray src1, InputArray src2, int l2size = 7, int maxIters = 10)

Parameters

src1 InputArray

Source floating point array (CV_32FC1 or CV_64FC1)

src2 InputArray

Source floating point array (CV_32FC1 or CV_64FC1)

l2size int

Size of the neighborhood used at each iteration.

maxIters int

Maximum number of iterations.

Returns

Point2d

detected phase shift(sub-pixel) between the two arrays.