#include <geometric_hash.h>
Public Member Functions | |
| ModelBasisID | addBasis (const AffineBasis &basis) |
| void | addEntry (const ModelBasisID &basisID, cv::Point2f point) |
| GeometricHash (cv::Size _size, cv::Point2f range_min, cv::Point2f range_max) | |
| const std::vector< AffineBasis > & | getBases () const |
| const std::list< ModelBasisID > & | getEntries (cv::Point2f point) const |
Protected Member Functions | |
| int | getBin (cv::Point2f coords) const |
Protected Attributes | |
| std::vector< AffineBasis > | bases |
| std::list< ModelBasisID > | empty_list |
| std::vector< std::list < ModelBasisID > > | hash |
| cv::Point2f | range [2] |
| cv::Size | size |
Definition at line 83 of file geometric_hash.h.
| GeometricHash::GeometricHash | ( | cv::Size | _size, |
| cv::Point2f | range_min, | ||
| cv::Point2f | range_max | ||
| ) |
Definition at line 31 of file geometric_hash.cpp.
| ModelBasisID GeometricHash::addBasis | ( | const AffineBasis & | basis | ) |
Definition at line 53 of file geometric_hash.cpp.
| void GeometricHash::addEntry | ( | const ModelBasisID & | basisID, |
| cv::Point2f | point | ||
| ) |
Definition at line 59 of file geometric_hash.cpp.
| const std::vector< AffineBasis > & GeometricHash::getBases | ( | ) | const |
Definition at line 87 of file geometric_hash.cpp.
| int GeometricHash::getBin | ( | cv::Point2f | coords | ) | const [protected] |
Definition at line 40 of file geometric_hash.cpp.
| const std::list< ModelBasisID > & GeometricHash::getEntries | ( | cv::Point2f | point | ) | const |
Definition at line 74 of file geometric_hash.cpp.
std::vector<AffineBasis> GeometricHash::bases [protected] |
Definition at line 88 of file geometric_hash.h.
std::list<ModelBasisID> GeometricHash::empty_list [protected] |
Definition at line 90 of file geometric_hash.h.
std::vector<std::list<ModelBasisID> > GeometricHash::hash [protected] |
Definition at line 89 of file geometric_hash.h.
cv::Point2f GeometricHash::range[2] [protected] |
Definition at line 87 of file geometric_hash.h.
cv::Size GeometricHash::size [protected] |
Definition at line 86 of file geometric_hash.h.