#include <geometric_hash.h>
Public Types | |
typedef std::pair< cv::Point2f, CvSeq * > | Model |
typedef std::pair< cv::Point2f, CvSeq * > | Model |
Public Member Functions | |
int | addModel (const Model &model) |
int | addModel (const Model &model) |
const Model & | getModel (int model_id) |
const Model & | getModel (int model_id) |
const Model & | getModelByBasisID (int basis_id) const |
const Model & | getModelByBasisID (int basis_id) const |
AffineBasis | match (cv::Point2f point, CvSeq *edge, std::map< int, std::pair< int, int > > &votes) const |
AffineBasis | match (cv::Point2f point, CvSeq *edge, std::map< int, std::pair< int, int > > &votes) const |
PointEdgeMatcher (cv::Point3f _size, const cv::Point3f *_range) | |
PointEdgeMatcher (cv::Point3f _size, const cv::Point3f *_range) | |
Private Attributes | |
std::vector< Model > | models |
Definition at line 159 of file detail/geometric_hash.h.
typedef std::pair<cv::Point2f,CvSeq*> PointEdgeMatcher::Model |
Definition at line 162 of file detail/geometric_hash.h.
typedef std::pair<cv::Point2f,CvSeq*> PointEdgeMatcher::Model |
Definition at line 162 of file geometric_hash.h.
PointEdgeMatcher::PointEdgeMatcher | ( | cv::Point3f | _size, |
const cv::Point3f * | _range | ||
) | [inline] |
Definition at line 168 of file detail/geometric_hash.h.
PointEdgeMatcher::PointEdgeMatcher | ( | cv::Point3f | _size, |
const cv::Point3f * | _range | ||
) | [inline] |
Definition at line 168 of file geometric_hash.h.
int PointEdgeMatcher::addModel | ( | const Model & | model | ) |
Definition at line 369 of file geometric_hash.cpp.
int PointEdgeMatcher::addModel | ( | const Model & | model | ) |
const Model& PointEdgeMatcher::getModel | ( | int | model_id | ) | [inline] |
Reimplemented from EdgeMatcher.
Definition at line 171 of file detail/geometric_hash.h.
const Model& PointEdgeMatcher::getModel | ( | int | model_id | ) | [inline] |
Reimplemented from EdgeMatcher.
Definition at line 171 of file geometric_hash.h.
const Model& PointEdgeMatcher::getModelByBasisID | ( | int | basis_id | ) | const [inline] |
Reimplemented from EdgeMatcher.
Definition at line 172 of file geometric_hash.h.
const Model& PointEdgeMatcher::getModelByBasisID | ( | int | basis_id | ) | const [inline] |
Reimplemented from EdgeMatcher.
Definition at line 172 of file detail/geometric_hash.h.
AffineBasis PointEdgeMatcher::match | ( | cv::Point2f | point, |
CvSeq * | edge, | ||
std::map< int, std::pair< int, int > > & | votes | ||
) | const |
Definition at line 385 of file geometric_hash.cpp.
AffineBasis PointEdgeMatcher::match | ( | cv::Point2f | point, |
CvSeq * | edge, | ||
std::map< int, std::pair< int, int > > & | votes | ||
) | const |
std::vector< Model > PointEdgeMatcher::models [private] |
Definition at line 165 of file detail/geometric_hash.h.