OpenCV453
|
クラス | |
class | cv::ximgproc::ContourFitting |
Class for ContourFitting algorithms. ContourFitting match two contours ![]() ![]() | |
関数 | |
CV_EXPORTS_W void | cv::ximgproc::fourierDescriptor (InputArray src, OutputArray dst, int nbElt=-1, int nbFD=-1) |
Fourier descriptors for planed closed curves [詳解] | |
CV_EXPORTS_W void | cv::ximgproc::transformFD (InputArray src, InputArray t, OutputArray dst, bool fdContour=true) |
transform a contour [詳解] | |
CV_EXPORTS_W void | cv::ximgproc::contourSampling (InputArray src, OutputArray out, int nbElt) |
Contour sampling . [詳解] | |
CV_EXPORTS_W Ptr< ContourFitting > | cv::ximgproc::createContourFitting (int ctr=1024, int fd=16) |
create ContourFitting algorithm object [詳解] | |
CV_EXPORTS_W void cv::ximgproc::contourSampling | ( | InputArray | src, |
OutputArray | out, | ||
int | nbElt | ||
) |
Contour sampling .
src | contour type vector<Point> , vector<Point2f> or vector<Point2d> |
out | Mat of type CV_64FC2 and nbElt rows |
nbElt | number of points in out contour |
CV_EXPORTS_W Ptr< ContourFitting > cv::ximgproc::createContourFitting | ( | int | ctr = 1024 , |
int | fd = 16 |
||
) |
create ContourFitting algorithm object
ctr | number of Fourier descriptors equal to number of contour points after resampling. |
fd | Contour defining second shape (Target). |
CV_EXPORTS_W void cv::ximgproc::fourierDescriptor | ( | InputArray | src, |
OutputArray | dst, | ||
int | nbElt = -1 , |
||
int | nbFD = -1 |
||
) |
Fourier descriptors for planed closed curves
For more details about this implementation, please see [PersoonFu1977]
src | contour type vector<Point> , vector<Point2f> or vector<Point2d> |
dst | Mat of type CV_64FC2 and nbElt rows A VERIFIER |
nbElt | number of rows in dst or getOptimalDFTSize rows if nbElt=-1 |
nbFD | number of FD return in dst dst = [FD(1...nbFD/2) FD(nbFD/2-nbElt+1...:nbElt)] |
CV_EXPORTS_W void cv::ximgproc::transformFD | ( | InputArray | src, |
InputArray | t, | ||
OutputArray | dst, | ||
bool | fdContour = true |
||
) |