This class implements the accumulator used for Hough Clustering by the Feature Classifier. More...
#include <HoughAccumulator.h>
Classes | |
struct | compareMatchList |
Public Member Functions | |
bool | getAccumulatorValue (int scaleIndex, int orientationIndex, int xIndex, int yIndex, unsigned int &value) |
Get accumulator value with given indices. | |
std::vector< std::list < KeyPointMatch > > | getClusteredMatches () |
Cluster accumulator. | |
void | getImage (cv::Mat &target) |
Get histogram image. | |
std::string | getLog () |
std::vector< std::list < KeyPointMatch > > | getMaximumMatches () |
Cluster accumulator by searching a maximum. | |
float | getVariance () |
Get variance of accumulator. | |
HoughAccumulator () | |
The constructor. | |
bool | incrAccumulatorValue (int scaleIndex, int orientationIndex, int xIndex, int yIndex, KeyPointMatch match) |
Increment accumulator with given indices. | |
void | resetAccumulator () |
Reset accumulator entries. | |
~HoughAccumulator () | |
The destructor. | |
Private Member Functions | |
unsigned int | getIndex (int scaleIndex, int orientationIndex, int xIndex, int yIndex) |
unsigned int | getMaxAccumulatorValue () |
bool | verifyAccumulatorIndex (int scale, int orientation, int xLocation, int yLocation) |
Private Attributes | |
std::list< KeyPointMatch > * | m_AccumulatorArray |
unsigned int | m_AccumulatorSize |
std::ostringstream | m_Log |
int | m_OrientationBins |
int | m_ScaleBins |
int | m_XLocationBins |
int | m_YLocationBins |
This class implements the accumulator used for Hough Clustering by the Feature Classifier.
Definition at line 24 of file HoughAccumulator.h.
The constructor.
The destructor.
bool HoughAccumulator::getAccumulatorValue | ( | int | scaleIndex, |
int | orientationIndex, | ||
int | xIndex, | ||
int | yIndex, | ||
unsigned int & | value | ||
) |
Get accumulator value with given indices.
std::vector< std::list< KeyPointMatch > > HoughAccumulator::getClusteredMatches | ( | ) |
Cluster accumulator.
void HoughAccumulator::getImage | ( | cv::Mat & | target | ) |
Get histogram image.
unsigned int HoughAccumulator::getIndex | ( | int | scaleIndex, |
int | orientationIndex, | ||
int | xIndex, | ||
int | yIndex | ||
) | [private] |
std::string HoughAccumulator::getLog | ( | ) | [inline] |
Definition at line 55 of file HoughAccumulator.h.
unsigned int HoughAccumulator::getMaxAccumulatorValue | ( | ) | [private] |
std::vector< std::list< KeyPointMatch > > HoughAccumulator::getMaximumMatches | ( | ) |
Cluster accumulator by searching a maximum.
float HoughAccumulator::getVariance | ( | ) |
Get variance of accumulator.
bool HoughAccumulator::incrAccumulatorValue | ( | int | scaleIndex, |
int | orientationIndex, | ||
int | xIndex, | ||
int | yIndex, | ||
KeyPointMatch | match | ||
) |
Increment accumulator with given indices.
void HoughAccumulator::resetAccumulator | ( | ) |
Reset accumulator entries.
bool HoughAccumulator::verifyAccumulatorIndex | ( | int | scale, |
int | orientation, | ||
int | xLocation, | ||
int | yLocation | ||
) | [private] |
std::list< KeyPointMatch >* HoughAccumulator::m_AccumulatorArray [private] |
Definition at line 77 of file HoughAccumulator.h.
unsigned int HoughAccumulator::m_AccumulatorSize [private] |
Definition at line 79 of file HoughAccumulator.h.
std::ostringstream HoughAccumulator::m_Log [private] |
Definition at line 81 of file HoughAccumulator.h.
int HoughAccumulator::m_OrientationBins [private] |
Definition at line 73 of file HoughAccumulator.h.
int HoughAccumulator::m_ScaleBins [private] |
Definition at line 72 of file HoughAccumulator.h.
int HoughAccumulator::m_XLocationBins [private] |
Definition at line 74 of file HoughAccumulator.h.
int HoughAccumulator::m_YLocationBins [private] |
Definition at line 75 of file HoughAccumulator.h.