18 #ifndef PIC_FEATURES_MATCHING_FLOAT_FEATURE_BRUTE_FORCE_MATCHER 19 #define PIC_FEATURES_MATCHING_FLOAT_FEATURE_BRUTE_FORCE_MATCHER 23 #include "../features_matching/feature_matcher.hpp" 24 #include "../features_matching/sift_descriptor.hpp" 28 #ifndef PIC_DISABLE_EIGEN 53 bool getMatch(
float *desc,
int &matched_j,
float &dist_1)
61 for(
unsigned int j = 0; j <
descs->size(); j++) {
75 return ((dist_1 > dist_2 * 1.2f) && matched_j != -1);
83 #endif // PIC_FEATURES_MATCHING_FLOAT_FEATURE_BRUTE_FORCE_MATCHER static float match(float *fv0, float *fv1, int nfv)
Definition: sift_descriptor.hpp:243
FloatFeatureBruteForceMatcher(std::vector< unsigned int *> *descs, unsigned int desc_size)
FloatFeatureBruteForceMatcher.
Definition: float_feature_brute_force_matcher.hpp:42
The FeatureMatcher class.
Definition: feature_matcher.hpp:39
std::vector< float *> * descs
Definition: feature_matcher.hpp:42
The FloatFeatureBruteForceMatcher class.
Definition: float_feature_brute_force_matcher.hpp:33
Definition: bilateral_separation.hpp:25
bool getMatch(float *desc, int &matched_j, float &dist_1)
getMatch
Definition: float_feature_brute_force_matcher.hpp:53
float desc_size
Definition: feature_matcher.hpp:43