LineFinder Class Reference

#include <linefinder.h>

List of all members.

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

Detailed Description

Definition at line 25 of file linefinder.h.


Constructor & Destructor Documentation

LineFinder::LineFinder (  )  [inline]

Definition at line 55 of file linefinder.h.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Defines


road_recognition
Author(s): Morais
autogenerated on Wed Jul 23 04:35:03 2014