Go to the documentation of this file.00001 #include <iostream>
00002 #include <vector>
00003 #include <fstream>
00004 #include <string>
00005
00006
00007 #include <opencv2/core/core.hpp>
00008 #include <opencv2/highgui/highgui.hpp>
00009 #include <opencv2/imgproc/imgproc.hpp>
00010 #include <opencv2/video/tracking.hpp>
00011
00012 using namespace cv;
00013 using namespace std;
00014
00015 class featureDetection{
00016
00017 public:
00018 featureDetection();
00019 ~featureDetection();
00020 void filteringPipeLine(Mat);
00021 vector<Vec2f> houghTransform();
00022 Mat lineItr(Mat,vector<Vec2f>, string);
00023 int _width, _height;
00024
00025 protected:
00026 bool findIntersection(vector<Point>, Point&);
00027 vector<Point2f> ransac(vector<Point2f>);
00028 void visualize(Mat);
00029 vector<Vec2f> _lines;
00030 ofstream myfile;
00031 Mat _detectedEdges;
00032 int _LMWidth;
00033 int _thres;
00034 float _rho, _theta,_ransacThres, _houghThres;
00035
00036 };