#include <linefinder.h>
Public Member Functions | |
void | drawDetectedLines (cv::Mat &image, cv::Scalar color=cv::Scalar(255, 255, 255)) |
std::vector< cv::Vec4i > | findLines (cv::Mat &binary) |
LineFinder () | |
std::vector< cv::Vec4i > | removeLinesOfInconsistentOrientations (const cv::Mat &orientations, double percentage, double delta) |
void | setAccResolution (double dRho, double dTheta) |
void | setLineLengthAndGap (double length, double gap) |
void | setMinVote (int minv) |
Private Attributes | |
double | deltaRho |
double | deltaTheta |
cv::Mat | img |
std::vector< cv::Vec4i > | lines |
double | maxGap |
double | minLength |
int | minVote |
Definition at line 25 of file linefinder.h.
LineFinder::LineFinder | ( | ) | [inline] |
Definition at line 55 of file linefinder.h.
void LineFinder::drawDetectedLines | ( | cv::Mat & | image, | |
cv::Scalar | color = cv::Scalar(255,255,255) | |||
) | [inline] |
Definition at line 87 of file linefinder.h.
std::vector<cv::Vec4i> LineFinder::findLines | ( | cv::Mat & | binary | ) | [inline] |
Definition at line 78 of file linefinder.h.
std::vector<cv::Vec4i> LineFinder::removeLinesOfInconsistentOrientations | ( | const cv::Mat & | orientations, | |
double | percentage, | |||
double | delta | |||
) | [inline] |
Definition at line 107 of file linefinder.h.
void LineFinder::setAccResolution | ( | double | dRho, | |
double | dTheta | |||
) | [inline] |
Definition at line 58 of file linefinder.h.
void LineFinder::setLineLengthAndGap | ( | double | length, | |
double | gap | |||
) | [inline] |
Definition at line 71 of file linefinder.h.
void LineFinder::setMinVote | ( | int | minv | ) | [inline] |
Definition at line 65 of file linefinder.h.
double LineFinder::deltaRho [private] |
Definition at line 37 of file linefinder.h.
double LineFinder::deltaTheta [private] |
Definition at line 38 of file linefinder.h.
cv::Mat LineFinder::img [private] |
Definition at line 30 of file linefinder.h.
std::vector<cv::Vec4i> LineFinder::lines [private] |
Definition at line 34 of file linefinder.h.
double LineFinder::maxGap [private] |
Definition at line 48 of file linefinder.h.
double LineFinder::minLength [private] |
Definition at line 45 of file linefinder.h.
int LineFinder::minVote [private] |
Definition at line 42 of file linefinder.h.