MRPT  1.9.9
CFeatureLines.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef CFeatureLines_H
10 #define CFeatureLines_H
11 
12 #include <mrpt/config.h>
13 
14 #if MRPT_HAS_OPENCV
15 #include <mrpt/vision/utils.h>
16 //#include <mrpt/utils/CImage.h>
17 #include <opencv2/core/core.hpp>
18 //#include <opencv2/highgui/highgui.hpp>
19 //#include <opencv2/core/eigen.hpp>
20 //#include <pcl/point_types.h>
21 
22 namespace mrpt
23 {
24  namespace vision
25  {
26  /** This class wraps different line detectors and descriptors from OpenCV.
27  *
28  * \ingroup mrpt_vision_grp
29  */
31  {
32  public:
33  void extractLines (const cv::Mat & image,
34  std::vector<cv::Vec4i> & segments,
35  size_t threshold , const bool display = false);
36 
37  void extractLines_CannyHough(const cv::Mat & canny_image,
38  const std::vector<cv::Vec2f> lines,
39  std::vector<cv::Vec4i> & segments,
40  size_t threshold );
41  }; // end of class
42 
43  } // end of namespace
44 } // end of namespace
45 
46 #endif
47 #endif
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: glext.h:3551
void extractLines(const cv::Mat &image, std::vector< cv::Vec4i > &segments, size_t threshold, const bool display=false)
This class wraps different line detectors and descriptors from OpenCV.
Definition: CFeatureLines.h:30
void extractLines_CannyHough(const cv::Mat &canny_image, const std::vector< cv::Vec2f > lines, std::vector< cv::Vec4i > &segments, size_t threshold)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020