9 #ifndef CFeatureLines_H
10 #define CFeatureLines_H
12 #include <mrpt/config.h>
17 #include <opencv2/core/core.hpp>
34 std::vector<cv::Vec4i> & segments,
35 size_t threshold ,
const bool display =
false);
38 const std::vector<cv::Vec2f> lines,
39 std::vector<cv::Vec4i> & segments,
This class wraps different line detectors and descriptors from OpenCV.
void extractLines(const cv::Mat &image, std::vector< cv::Vec4i > &segments, size_t threshold, const bool display=false)
void extractLines_CannyHough(const cv::Mat &canny_image, const std::vector< cv::Vec2f > lines, std::vector< cv::Vec4i > &segments, size_t threshold)
GLenum GLsizei GLenum GLenum const GLvoid * image
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.