Public Member Functions | |
void | Init (unsigned int dx, unsigned int dy, float rhores, unsigned int numACells) |
std::array< int, 3 > | AddPointReturnMax (int x, int y) |
bool | SubtractPoint (int x, int y) |
int | GetCell (int row, int col) const |
void | SetCell (int row, int col, int value) |
void | GetAccumSize (int &numRows, int &numCols) |
int | NumAccumulated () |
void | GetEquation (float row, float col, float &rho, float &theta) const |
int | GetMax (int &xmax, int &ymax) const |
void | reconfigure (fhicl::ParameterSet const &pset) |
Private Types | |
typedef HoughTransformCounters < int, signed char, 64 > | BaseMap_t |
rho -> # hits (for convenience) More... | |
typedef HoughTransformCounters < int, signed char, 64 > | DistancesMap_t |
typedef std::vector < DistancesMap_t > | HoughImage_t |
Type of the Hough transform (angle, distance) map with custom allocator. More... | |
Private Member Functions | |
std::array< int, 3 > | DoAddPointReturnMax (int x, int y, bool bSubtract=false) |
Private Attributes | |
unsigned int | m_dx |
unsigned int | m_dy |
unsigned int | m_rowLength |
unsigned int | m_numAngleCells |
float | m_rhoResolutionFactor |
HoughImage_t | m_accum |
column (map key)=rho, row (vector index)=theta More... | |
int | m_numAccumulated |
std::vector< double > | m_cosTable |
std::vector< double > | m_sinTable |
Definition at line 74 of file HoughBaseAlg.cxx.
|
private |
rho -> # hits (for convenience)
Definition at line 103 of file HoughBaseAlg.cxx.
|
private |
Definition at line 104 of file HoughBaseAlg.cxx.
|
private |
Type of the Hough transform (angle, distance) map with custom allocator.
Definition at line 107 of file HoughBaseAlg.cxx.
|
inline |
Definition at line 660 of file HoughBaseAlg.cxx.
|
private |
Definition at line 758 of file HoughBaseAlg.cxx.
|
inline |
Definition at line 86 of file HoughBaseAlg.cxx.
|
inline |
Definition at line 651 of file HoughBaseAlg.cxx.
void cluster::HoughTransform::GetEquation | ( | float | row, |
float | col, | ||
float & | rho, | ||
float & | theta | ||
) | const |
Definition at line 730 of file HoughBaseAlg.cxx.
int cluster::HoughTransform::GetMax | ( | int & | xmax, |
int & | ymax | ||
) | const |
Definition at line 738 of file HoughBaseAlg.cxx.
void cluster::HoughTransform::Init | ( | unsigned int | dx, |
unsigned int | dy, | ||
float | rhores, | ||
unsigned int | numACells | ||
) |
Definition at line 681 of file HoughBaseAlg.cxx.
|
inline |
Definition at line 92 of file HoughBaseAlg.cxx.
void cluster::HoughTransform::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
|
inline |
Definition at line 81 of file HoughBaseAlg.cxx.
|
inline |
Definition at line 672 of file HoughBaseAlg.cxx.
|
private |
column (map key)=rho, row (vector index)=theta
Definition at line 117 of file HoughBaseAlg.cxx.
|
private |
Definition at line 119 of file HoughBaseAlg.cxx.
|
private |
Definition at line 109 of file HoughBaseAlg.cxx.
|
private |
Definition at line 110 of file HoughBaseAlg.cxx.
|
private |
Definition at line 118 of file HoughBaseAlg.cxx.
|
private |
Definition at line 112 of file HoughBaseAlg.cxx.
|
private |
Definition at line 113 of file HoughBaseAlg.cxx.
|
private |
Definition at line 111 of file HoughBaseAlg.cxx.
|
private |
Definition at line 120 of file HoughBaseAlg.cxx.