Detect lines using the LSD algorithm. This line finder implements the LSD method from OpenCV contrib.
More...
#include <LineTrace.h>
Detect lines using the LSD algorithm. This line finder implements the LSD method from OpenCV contrib.
- See also
- Module
rdf::LineTraceLSD::LineTraceLSD |
( |
const cv::Mat & |
img | ) |
|
bool rdf::LineTraceLSD::checkInput |
( |
| ) |
const |
|
overrideprotectedvirtual |
checks if all input images are in the specified format.
Implements rdf::Module.
bool rdf::LineTraceLSD::compute |
( |
| ) |
|
|
overridevirtual |
Runs the algorithm implemented by the module.
- Returns
- True on success.
Implements rdf::Module.
cv::Mat rdf::LineTraceLSD::draw |
( |
const cv::Mat & |
img | ) |
const |
bool rdf::LineTraceLSD::isEmpty |
( |
| ) |
const |
|
overridevirtual |
Returns true if the module was initialized with the default constructor. Note, if empty is true, nothing can be computed.
- Returns
- Returns true if the module was initialized.
Implements rdf::Module.
LineFilter rdf::LineTraceLSD::lineFilter |
( |
| ) |
const |
QVector< Line > rdf::LineTraceLSD::lines |
( |
| ) |
const |
QVector< Line > rdf::LineTraceLSD::separatorLines |
( |
| ) |
const |
Returns only lines that are perpendicular or parallel to the image coordinates.
- Returns
QString rdf::LineTraceLSD::toString |
( |
| ) |
const |
|
overridevirtual |
Converts the module's parameters and results to a string.
- Returns
- The string containing all parameters and results of the module.
Reimplemented from rdf::Module.
cv::Mat rdf::LineTraceLSD::mImg |
|
protected |
QVector<Line> rdf::LineTraceLSD::mLines |
|
protected |
The documentation for this class was generated from the following files: