#include <math.h>
#include <cv.h>
#include <cv.hpp>
#include <vector>
#include <map>
#include <list>
#include <utility>
#include "one_way_descriptor_base.h"
#include "features.h"
Go to the source code of this file.
Classes | |
class | AffineBasis |
class | EdgeMatcher |
class | GeometricHash |
class | GeometricHash3D |
class | PointEdgeMatcher |
class | PointMatcher |
struct | PointMatcher::PointMatcherParams |
Defines | |
#define | PI 3.1415926 |
*inline*/ float length(cv::Point2f p); | |
Typedefs | |
typedef int | ModelBasisID |
Functions | |
double | affineDistortionRatio (const AffineBasis &basis1, const AffineBasis &basis2) |
float | calcAffineSeqDist (const AffineBasis &basis, CvSeq *seq, int idx1, int idx2, int is_mapped=0) |
void | findClosestPoint (const std::vector< KeyPointEx > &guess, const std::vector< KeyPointEx > &candidates, std::vector< KeyPointEx > &output, std::vector< bool > &is_detected, float max_dist) |
float | fitEdges (CvSeq *model, const AffineBasis &model_basis, CvSeq *test, const AffineBasis &test_basis) |
float | fitEdgesSym (CvSeq *model_seq, const AffineBasis &model_basis, CvSeq *test_seq, const AffineBasis &test_basis) |
float | fitPoints (const std::vector< cv::Point2f > &set1, const std::vector< cv::Point2f > &set2) |
float | fitPointsSym (const std::vector< cv::Point2f > &set1, const std::vector< cv::Point2f > &set2) |
AffineBasis | getPointEdgeBasis (cv::Point2f point, CvSeq *edge, int i, int modelID) |
void | getProximityPoints (const std::vector< KeyPointEx > &points, KeyPointEx point, float max_dist, std::vector< int > &indices) |
CvSeq * | mapContour (CvSeq *contour, AffineBasis src, AffineBasis dst, CvMemStorage *storage) |
void | mapPoints (const std::vector< cv::Point2f > &src, const AffineBasis &src_basis, const AffineBasis &dst_basis, std::vector< cv::Point2f > &dst) |
void | mapPoints (const std::vector< KeyPointEx > &src, const AffineBasis &src_basis, const AffineBasis &dst_basis, std::vector< KeyPointEx > &dst) |
float | validatePointMatch (const std::vector< KeyPointEx > &set1, const AffineBasis &basis1, const std::vector< KeyPointEx > &set2, const AffineBasis &basis2) |
#define PI 3.1415926 |
*inline*/ float length(cv::Point2f p);
Definition at line 39 of file detail/geometric_hash.h.
typedef int ModelBasisID |
Definition at line 81 of file detail/geometric_hash.h.
double affineDistortionRatio | ( | const AffineBasis & | basis1, |
const AffineBasis & | basis2 | ||
) |
Definition at line 732 of file geometric_hash.cpp.
float calcAffineSeqDist | ( | const AffineBasis & | basis, |
CvSeq * | seq, | ||
int | idx1, | ||
int | idx2, | ||
int | is_mapped = 0 |
||
) |
Definition at line 123 of file geometric_hash.cpp.
void findClosestPoint | ( | const std::vector< KeyPointEx > & | guess, |
const std::vector< KeyPointEx > & | candidates, | ||
std::vector< KeyPointEx > & | output, | ||
std::vector< bool > & | is_detected, | ||
float | max_dist | ||
) |
Definition at line 672 of file geometric_hash.cpp.
float fitEdges | ( | CvSeq * | model, |
const AffineBasis & | model_basis, | ||
CvSeq * | test, | ||
const AffineBasis & | test_basis | ||
) |
Definition at line 316 of file geometric_hash.cpp.
float fitEdgesSym | ( | CvSeq * | model_seq, |
const AffineBasis & | model_basis, | ||
CvSeq * | test_seq, | ||
const AffineBasis & | test_basis | ||
) |
Definition at line 347 of file geometric_hash.cpp.
float fitPoints | ( | const std::vector< cv::Point2f > & | set1, |
const std::vector< cv::Point2f > & | set2 | ||
) |
Definition at line 418 of file geometric_hash.cpp.
float fitPointsSym | ( | const std::vector< cv::Point2f > & | set1, |
const std::vector< cv::Point2f > & | set2 | ||
) |
Definition at line 442 of file geometric_hash.cpp.
AffineBasis getPointEdgeBasis | ( | cv::Point2f | point, |
CvSeq * | edge, | ||
int | i, | ||
int | modelID | ||
) |
Definition at line 199 of file geometric_hash.cpp.
void getProximityPoints | ( | const std::vector< KeyPointEx > & | points, |
KeyPointEx | point, | ||
float | max_dist, | ||
std::vector< int > & | indices | ||
) |
Definition at line 718 of file geometric_hash.cpp.
CvSeq* mapContour | ( | CvSeq * | contour, |
AffineBasis | src, | ||
AffineBasis | dst, | ||
CvMemStorage * | storage | ||
) |
Definition at line 355 of file geometric_hash.cpp.
void mapPoints | ( | const std::vector< cv::Point2f > & | src, |
const AffineBasis & | src_basis, | ||
const AffineBasis & | dst_basis, | ||
std::vector< cv::Point2f > & | dst | ||
) |
Definition at line 400 of file geometric_hash.cpp.
void mapPoints | ( | const std::vector< KeyPointEx > & | src, |
const AffineBasis & | src_basis, | ||
const AffineBasis & | dst_basis, | ||
std::vector< KeyPointEx > & | dst | ||
) |
Definition at line 409 of file geometric_hash.cpp.
float validatePointMatch | ( | const std::vector< KeyPointEx > & | set1, |
const AffineBasis & | basis1, | ||
const std::vector< KeyPointEx > & | set2, | ||
const AffineBasis & | basis2 | ||
) |
Definition at line 694 of file geometric_hash.cpp.