MRPT
2.0.4
mrpt
vision
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
*/
24
class
CFeatureLines
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
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition:
BaseAppDataSource.h:15
mrpt::vision::CFeatureLines::extractLines
void extractLines(const mrpt::img::CImage &image, std::vector< std::array< int, 4 >> &segments, size_t threshold, const bool display=false)
Definition:
CFeatureLines.cpp:243
mrpt::vision::CFeatureLines
This class wraps different line detectors and descriptors from OpenCV.
Definition:
CFeatureLines.h:24
mrpt::img::CImage
A class for storing images as grayscale or RGB bitmaps.
Definition:
img/CImage.h:148
display
void display()
Definition:
vision_stereo_rectify/test.cpp:32
CImage.h
Page generated by
Doxygen 1.8.17
for MRPT 2.0.4 at Fri Jul 17 08:43:33 UTC 2020