#include <houghlines.hh>
Public Member Functions | |
HoughLines (bool hack=false) | |
if hack is set to true, only the lines longer than HACK_HEIGHT pixels are returned. | |
virtual | ~HoughLines () |
virtual void | writeOn (IplImage &img) const |
This function draws the results of the computations on the picture. It means that 'writeOn()' is called more often than 'compute()'. | |
virtual CvSeq & | getResult () |
Returns the results of the computations. | |
void | setHack (bool) |
| |
Private Member Functions | |
virtual void | compute (const IplImage &img) |
Fullfill this function which would be called according to the delay of the Vision class. | |
virtual void | emptyResult () |
void | workOnLines () |
called if hack is set to true | |
void | freeItems () |
Private Attributes | |
CvSeq * | result |
CvMemStorage * | storage |
bool | hack |
HoughLines::HoughLines | ( | bool | hack = false |
) |
if hack is set to true, only the lines longer than HACK_HEIGHT pixels are returned.
HoughLines::~HoughLines | ( | ) | [virtual] |
void HoughLines::writeOn | ( | IplImage & | img | ) | const [virtual] |
This function draws the results of the computations on the picture. It means that 'writeOn()' is called more often than 'compute()'.
Implements VisionBehavior< CvSeq >.
CvSeq & HoughLines::getResult | ( | ) | [virtual] |
void HoughLines::setHack | ( | bool | hack | ) |
void HoughLines::compute | ( | const IplImage & | img | ) | [private, virtual] |
Fullfill this function which would be called according to the delay of the Vision class.
Implements VisionBehavior< CvSeq >.
void HoughLines::emptyResult | ( | ) | [private, virtual] |
Implements VisionBehavior< CvSeq >.
void HoughLines::workOnLines | ( | ) | [private] |
called if hack is set to true
void HoughLines::freeItems | ( | ) | [private] |
CvSeq* HoughLines::result [private] |
CvMemStorage* HoughLines::storage [private] |
bool HoughLines::hack [private] |