Go to the documentation of this file.00001 #include <string>
00002 #include <opencv2/opencv.hpp>
00003 #ifndef CVUTILS_H_
00004 #define CVUTILS_H_
00005
00006 using namespace std;
00007 using namespace cv;
00022 class CvUtils {
00023 public:
00024
00039 CvUtils(string f);
00040
00086 CvUtils(string f, String featureType, String descriptorType);
00087 ~CvUtils();
00088 String detect();
00089 private:
00090 string thefile;
00091 string feature;
00092 string descriptor;
00093 Mat image;
00094 vector<KeyPoint> kps;
00095 Mat descs;
00096
00097 void toFile(String extension);
00098 void fromFile();
00099 Mat list_keypoint_to_Mat(vector<KeyPoint> kp);
00100
00101 };
00102
00103
00104 #endif