Fawkes API
Fawkes Development Version
|
Hough-Transform accumulator node. More...
#include <>>
Public Member Functions | |
RhtRNode (int r) | |
Constructor. More... | |
void | clear (void) |
Clear. More... | |
int | insert (int r) |
Insert. More... | |
void | dump (std::ostream &, int x, int y) |
Dump. More... | |
void | clear (int r) |
Clear. More... | |
void | getNodes (std::vector< std::vector< int > > *rv, int min_votes, int x, int y) |
Get nodes. More... | |
![]() | |
RhtAccNode () | |
Constructor. More... | |
virtual | ~RhtAccNode () |
Destructor. More... | |
Static Public Member Functions | |
static RhtRNode * | generate (int r) |
Generate. More... | |
static void | reset (void) |
Reset. More... | |
static void | cleanup (void) |
Cleanup. More... | |
Protected Attributes | |
int | r |
r More... | |
int | count |
count More... | |
![]() | |
RhtAccNode * | left |
left More... | |
RhtAccNode * | right |
right More... | |
RhtAccNode * | next |
used for recycling More... | |
Hough-Transform accumulator node.
Definition at line 52 of file ht_accum.h.
firevision::RhtRNode::RhtRNode | ( | int | r | ) |
|
static |
Cleanup.
Definition at line 470 of file ht_accum.cpp.
References firevision::RhtAccNode::next.
Referenced by firevision::RhtAccumulator::~RhtAccumulator().
void firevision::RhtRNode::clear | ( | void | ) |
|
virtual |
Clear.
r | r |
Reimplemented from firevision::RhtAccNode.
Definition at line 454 of file ht_accum.cpp.
References firevision::RhtAccNode::clear(), count, and r.
void firevision::RhtRNode::dump | ( | std::ostream & | s, |
int | x, | ||
int | y | ||
) |
Dump.
s | dump to s |
x | x |
y | y |
Definition at line 417 of file ht_accum.cpp.
References count, firevision::RhtAccNode::left, r, and firevision::RhtAccNode::right.
Referenced by firevision::RhtYNode::dump().
|
static |
Generate.
r | r |
Definition at line 432 of file ht_accum.cpp.
References clear(), firevision::RhtAccNode::next, and RhtRNode().
Referenced by insert(), and firevision::RhtYNode::insert().
void firevision::RhtRNode::getNodes | ( | std::vector< std::vector< int > > * | rv, |
int | min_votes, | ||
int | x, | ||
int | y | ||
) |
Get nodes.
rv | return value |
min_votes | min votes |
x | x |
y | y |
Definition at line 392 of file ht_accum.cpp.
References count, firevision::RhtAccNode::left, r, and firevision::RhtAccNode::right.
Referenced by firevision::RhtYNode::getNodes().
int firevision::RhtRNode::insert | ( | int | r0 | ) |
Insert.
r0 | r |
Definition at line 365 of file ht_accum.cpp.
References count, generate(), firevision::RhtAccNode::left, r, and firevision::RhtAccNode::right.
Referenced by firevision::RhtYNode::insert().
|
static |
Reset.
Definition at line 463 of file ht_accum.cpp.
Referenced by firevision::RhtAccumulator::reset().
|
protected |
count
Definition at line 70 of file ht_accum.h.
Referenced by firevision::RhtAccumulator::accumulate(), clear(), dump(), getNodes(), insert(), and RhtRNode().
|
protected |
r
Definition at line 68 of file ht_accum.h.
Referenced by firevision::RhtAccumulator::accumulate(), clear(), dump(), getNodes(), insert(), and RhtRNode().