Method FourierDescriptor
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
FourierDescriptor(InputArray, OutputArray, int, int)
Fourier descriptors for planar closed curves.
public static void FourierDescriptor(InputArray src, OutputArray dst, int nbElt = -1, int nbFD = -1)
Parameters
srcInputArraycontour type vector<Point>, vector<Point2f> or vector<Point2d>.
dstOutputArrayMat of type CV_64FC2 and nbElt rows.
nbEltintnumber of rows in dst, or getOptimalDFTSize rows if nbElt=-1.
nbFDintnumber of FD returned in dst; dst = [FD(1...nbFD/2) FD(nbFD/2-nbElt+1...:nbElt)].