Method EstimateTransformation
- Namespace
- OpenCvSharp.XImgProc
- Assembly
- OpenCvSharp.dll
EstimateTransformation(InputArray, InputArray, OutputArray, out double, bool)
Fit two closed curves using Fourier descriptors.
public virtual void EstimateTransformation(InputArray src, InputArray dst, OutputArray alphaPhiST, out double dist, bool fdContour = false)
Parameters
srcInputArrayContour defining first shape.
dstInputArrayContour defining second shape (Target).
alphaPhiSTOutputArrayalpha=alphaPhiST(0,0), phi=alphaPhiST(0,1) (in radian), s=alphaPhiST(0,2), Tx=alphaPhiST(0,3), Ty=alphaPhiST(0,4) rotation center.
distdoubledistance between src and dst after matching.
fdContourboolfalse then src and dst are contours and true src and dst are Fourier descriptors.