|
Fawkes API
Fawkes Development Version
|
Hough-Transform accumulator. More...
#include <>>
Public Member Functions | |
| RhtAccumulator () | |
| Constructor. | |
| ~RhtAccumulator () | |
| Destructor. | |
| int | accumulate (int x, int y, int r) |
| Accumulate new candidate. | |
| int | getMax (int &x, int &y, int &r) const |
| Get maximum. | |
| void | dump (std::ostream &) |
| Dump. | |
| void | reset (void) |
| Reset. | |
| unsigned int | getNumVotes () const |
| Get number of votes. | |
| std::vector< std::vector< int > > * | getNodes (int min_count) |
| Get nodes. | |
Hough-Transform accumulator.
Definition at line 125 of file ht_accum.h.
| firevision::RhtAccumulator::RhtAccumulator | ( | ) |
Constructor.
Definition at line 482 of file ht_accum.cpp.
| firevision::RhtAccumulator::~RhtAccumulator | ( | ) |
Destructor.
Definition at line 490 of file ht_accum.cpp.
References firevision::RhtRNode::cleanup(), firevision::RhtYNode::cleanup(), and firevision::RhtXNode::cleanup().
| int firevision::RhtAccumulator::accumulate | ( | int | x, |
| int | y, | ||
| int | r | ||
| ) |
Accumulate new candidate.
| x | x |
| y | y |
| r | r |
Definition at line 518 of file ht_accum.cpp.
References firevision::RhtXNode::generate(), and firevision::RhtXNode::insert().
| void firevision::RhtAccumulator::dump | ( | std::ostream & | s | ) |
Dump.
| s | stream |
Definition at line 554 of file ht_accum.cpp.
References firevision::RhtXNode::dump().
| int firevision::RhtAccumulator::getMax | ( | int & | x, |
| int & | y, | ||
| int & | r | ||
| ) | const |
Get maximum.
| x | x return value |
| y | y return value |
| r | r return value |
Definition at line 542 of file ht_accum.cpp.
| vector< vector< int > > * firevision::RhtAccumulator::getNodes | ( | int | min_votes | ) |
Get nodes.
| min_votes | min votes |
Definition at line 576 of file ht_accum.cpp.
References firevision::RhtXNode::getNodes().
| unsigned int firevision::RhtAccumulator::getNumVotes | ( | ) | const |
| void firevision::RhtAccumulator::reset | ( | void | ) |
Reset.
Definition at line 500 of file ht_accum.cpp.