#include #include #include #include #include #include #include #include using namespace cv; using namespace std; class featureDetection{ public: featureDetection(); ~featureDetection(); void filteringPipeLine(Mat); vector houghTransform(); Mat lineItr(Mat,vector, string); int _width, _height; protected: bool findIntersection(vector, Point&); vector ransac(vector); void visualize(Mat); vector _lines; ofstream myfile; Mat _detectedEdges; int _LMWidth; int _thres; float _rho, _theta,_ransacThres, _houghThres; };