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
src1InputArraySource floating point array (CV_32FC1 or CV_64FC1)
src2InputArraySource floating point array (CV_32FC1 or CV_64FC1)
l2sizeintSize of the neighborhood used at each iteration.
maxItersintMaximum number of iterations.
Returns
- Point2d
detected phase shift(sub-pixel) between the two arrays.