1 #ifndef FOURIERDESCRIPTOR_H
2 #define FOURIERDESCRIPTOR_H
7 #include "opencv2/highgui/highgui.hpp"
8 #include <opencv2/opencv.hpp>
25 void loadDictionary(
const string &fileName);
26 int findMatchInDictionary(vector<Point2i> &boundary,
string &distMetric,
double &distance,
int numFDtoUse=0,
int newBoundaryLength=64);
27 void calcCentroidDistFD(vector<Point2i> &boundary,
int numFD, Mat &dst,
int newBoundaryLength=64);
28 int findMatchInDictionary(Mat &testFD,
string &distMetric,
double &distance );
33 int sizeDict,numFDdict;
35 vector<int> dictClass;
39 #endif // FOURIERDESCRIPTOR_H