MRPT  2.0.3
CFeatureLines.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in https://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+
9  */
10 #pragma once
11 
12 #include <mrpt/img/CImage.h>
13 #include <array>
14 #include <vector>
15 
16 namespace mrpt
17 {
18 namespace vision
19 {
20 /** This class wraps different line detectors and descriptors from OpenCV.
21  *
22  * \ingroup mrpt_vision_grp
23  */
25 {
26  public:
27  void extractLines(
28  const mrpt::img::CImage& image,
29  std::vector<std::array<int, 4>>& segments, size_t threshold,
30  const bool display = false);
31 
32 }; // end of class
33 
34 } // namespace vision
35 } // namespace mrpt
This class wraps different line detectors and descriptors from OpenCV.
Definition: CFeatureLines.h:24
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void extractLines(const mrpt::img::CImage &image, std::vector< std::array< int, 4 >> &segments, size_t threshold, const bool display=false)
A class for storing images as grayscale or RGB bitmaps.
Definition: img/CImage.h:148



Page generated by Doxygen 1.8.14 for MRPT 2.0.3 Git: 8e9e8af54 Wed May 13 17:41:24 2020 +0200 at miƩ may 13 17:55:54 CEST 2020