Clusters feature matches using hough transform clustering. More...
#include <HoughClusterer.h>
Public Member Functions | |
| std::vector< std::list < KeyPointMatch > > | clusterAccumulator () |
| void | getImage (cv::Mat &target) |
| std::string | getLog () |
| float | getVariance () |
| HoughClusterer () | |
| HoughClusterer (std::vector< KeyPoint > *sceneKeyPoints, std::vector< KeyPoint > *objectImageKeyPoints, Point2D center, int imageWidth, int imageHeight) | |
| The constructor builds 4-dimensional accumulator-array of scale, orientation and 2-D-location. | |
| void | setNNMatches (std::list< KeyPointMatch > nnrMatches) |
| ~HoughClusterer () | |
| The destructor. | |
Private Member Functions | |
| bool | getAccumulatorValue (KeyPoint scenePoint, KeyPoint objectPoint, unsigned int &value) |
| void | incrAccumulatorValue (KeyPoint scenePoint, KeyPoint objectPoint, KeyPointMatch match) |
Private Attributes | |
| Point2D | m_Center |
| HoughAccumulator * | m_HoughAccumulator |
| int | m_ImageHeight |
| int | m_ImageWidth |
| std::ostringstream | m_Log |
| std::vector< KeyPoint > * | m_ObjectImageKeyPoints |
| int | m_OrientationBins |
| int | m_ScaleBins |
| std::vector< KeyPoint > * | m_SceneKeyPoints |
| int | m_XLocationBins |
| int | m_YLocationBins |
Clusters feature matches using hough transform clustering.
Definition at line 33 of file HoughClusterer.h.
| HoughClusterer::HoughClusterer | ( | ) | [inline] |
Definition at line 37 of file HoughClusterer.h.
| HoughClusterer::HoughClusterer | ( | std::vector< KeyPoint > * | sceneKeyPoints, |
| std::vector< KeyPoint > * | objectImageKeyPoints, | ||
| Point2D | center, | ||
| int | imageWidth, | ||
| int | imageHeight | ||
| ) |
The constructor builds 4-dimensional accumulator-array of scale, orientation and 2-D-location.
| sceneKeyPoints | List of keypoints of the scene |
| objectImageKeyPoints | List of keypoints from learned object |
| nnrMatches | MatchList with indices |
The destructor.
| std::vector< std::list< KeyPointMatch> > HoughClusterer::clusterAccumulator | ( | ) |
| bool HoughClusterer::getAccumulatorValue | ( | KeyPoint | scenePoint, |
| KeyPoint | objectPoint, | ||
| unsigned int & | value | ||
| ) | [private] |
| void HoughClusterer::getImage | ( | cv::Mat & | target | ) |
| std::string HoughClusterer::getLog | ( | ) |
| float HoughClusterer::getVariance | ( | ) |
| void HoughClusterer::incrAccumulatorValue | ( | KeyPoint | scenePoint, |
| KeyPoint | objectPoint, | ||
| KeyPointMatch | match | ||
| ) | [private] |
| void HoughClusterer::setNNMatches | ( | std::list< KeyPointMatch > | nnrMatches | ) |
Point2D HoughClusterer::m_Center [private] |
Definition at line 67 of file HoughClusterer.h.
Definition at line 71 of file HoughClusterer.h.
int HoughClusterer::m_ImageHeight [private] |
Definition at line 79 of file HoughClusterer.h.
int HoughClusterer::m_ImageWidth [private] |
Definition at line 78 of file HoughClusterer.h.
std::ostringstream HoughClusterer::m_Log [private] |
Definition at line 69 of file HoughClusterer.h.
std::vector< KeyPoint >* HoughClusterer::m_ObjectImageKeyPoints [private] |
Definition at line 65 of file HoughClusterer.h.
int HoughClusterer::m_OrientationBins [private] |
Definition at line 74 of file HoughClusterer.h.
int HoughClusterer::m_ScaleBins [private] |
Definition at line 73 of file HoughClusterer.h.
std::vector< KeyPoint >* HoughClusterer::m_SceneKeyPoints [private] |
Definition at line 64 of file HoughClusterer.h.
int HoughClusterer::m_XLocationBins [private] |
Definition at line 75 of file HoughClusterer.h.
int HoughClusterer::m_YLocationBins [private] |
Definition at line 76 of file HoughClusterer.h.