NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
matching.cc File Reference
#include <interest_point/BAD.h>
#include <interest_point/brisk.h>
#include <interest_point/matching.h>
#include <opencv2/xfeatures2d.hpp>
#include <Eigen/Core>
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <iostream>
#include <vector>
Include dependency graph for matching.cc:

Classes

class  interest_point::BriskDynamicDetector
 
class  interest_point::SurfDynamicDetector
 
class  interest_point::TeblidDynamicDetector
 

Namespaces

 interest_point
 

Functions

 DEFINE_int32 (hamming_distance, 85, "A smaller value keeps fewer but more reliable binary descriptor matches.")
 
 DEFINE_double (goodness_ratio, 0.8, "A smaller value keeps fewer but more reliable descriptor matches.")
 
 DEFINE_int32 (orgbrisk_octaves, 4, "Number of octaves, or scale spaces, that BRISK will evaluate.")
 
 DEFINE_double (orgbrisk_pattern_scale, 1.0, "The pattern scale to use for BRISK.")
 
 DEFINE_int32 (detection_retries, 5, "Number of attempts to acquire the desired number of features with the detector.")
 
 DEFINE_int32 (min_surf_features, 1000, "Minimum number of features to be computed using SURF.")
 
 DEFINE_int32 (max_surf_features, 5000, "Maximum number of features to be computed using SURF.")
 
 DEFINE_double (min_surf_threshold, 1.1, "Minimum threshold for feature detection using SURF.")
 
 DEFINE_double (default_surf_threshold, 10, "Default threshold for feature detection using SURF.")
 
 DEFINE_double (max_surf_threshold, 1000, "Maximum threshold for feature detection using SURF.")
 
 DEFINE_double (surf_too_many_ratio, 1.1, "Ratio to increase the dynamic feature threshold by if too many features are detected.")
 
 DEFINE_double (surf_too_few_ratio, 0.9, "Ratio to reduce the dynamic feature threshold by if too few features are detected.")
 
 DEFINE_int32 (min_brisk_features, 1000, "Minimum number of features to be computed using ORGBRISK.")
 
 DEFINE_int32 (max_brisk_features, 5000, "Maximum number of features to be computed using ORGBRISK.")
 
 DEFINE_double (min_brisk_threshold, 10, "Minimum threshold for feature detection using ORGBRISK.")
 
 DEFINE_double (default_brisk_threshold, 90, "Default threshold for feature detection using ORGBRISK.")
 
 DEFINE_double (max_brisk_threshold, 110, "Maximum threshold for feature detection using ORGBRISK.")
 
 DEFINE_double (brisk_too_many_ratio, 1.25, "Ratio to increase the dynamic feature threshold by if too many features are detected.")
 
 DEFINE_double (brisk_too_few_ratio, 0.8, "Ratio to reduce the dynamic feature threshold by if too few features are detected.")
 
void interest_point::FindMatches (const cv::Mat &img1_descriptor_map, const cv::Mat &img2_descriptor_map, std::vector< cv::DMatch > *matches, boost::optional< int > hamming_distance=boost::none, boost::optional< double > goodness_ratio=boost::none)
 

Function Documentation

◆ DEFINE_double() [1/12]

DEFINE_double ( brisk_too_few_ratio  ,
0.  8,
"Ratio to reduce the dynamic feature threshold by if too few features are detected."   
)

◆ DEFINE_double() [2/12]

DEFINE_double ( brisk_too_many_ratio  ,
1.  25,
"Ratio to increase the dynamic feature threshold by if too many features are detected."   
)

◆ DEFINE_double() [3/12]

DEFINE_double ( default_brisk_threshold  ,
90  ,
"Default threshold for feature detection using ORGBRISK."   
)

◆ DEFINE_double() [4/12]

DEFINE_double ( default_surf_threshold  ,
10  ,
"Default threshold for feature detection using SURF."   
)

◆ DEFINE_double() [5/12]

DEFINE_double ( goodness_ratio  ,
0.  8,
"A smaller value keeps fewer but more reliable descriptor matches."   
)

◆ DEFINE_double() [6/12]

DEFINE_double ( max_brisk_threshold  ,
110  ,
"Maximum threshold for feature detection using ORGBRISK."   
)

◆ DEFINE_double() [7/12]

DEFINE_double ( max_surf_threshold  ,
1000  ,
"Maximum threshold for feature detection using SURF."   
)

◆ DEFINE_double() [8/12]

DEFINE_double ( min_brisk_threshold  ,
10  ,
"Minimum threshold for feature detection using ORGBRISK."   
)

◆ DEFINE_double() [9/12]

DEFINE_double ( min_surf_threshold  ,
1.  1,
"Minimum threshold for feature detection using SURF."   
)

◆ DEFINE_double() [10/12]

DEFINE_double ( orgbrisk_pattern_scale  ,
1.  0,
"The pattern scale to use for BRISK."   
)

◆ DEFINE_double() [11/12]

DEFINE_double ( surf_too_few_ratio  ,
0.  9,
"Ratio to reduce the dynamic feature threshold by if too few features are detected."   
)

◆ DEFINE_double() [12/12]

DEFINE_double ( surf_too_many_ratio  ,
1.  1,
"Ratio to increase the dynamic feature threshold by if too many features are detected."   
)

◆ DEFINE_int32() [1/7]

DEFINE_int32 ( detection_retries  ,
,
"Number of attempts to acquire the desired number of features with the detector."   
)

◆ DEFINE_int32() [2/7]

DEFINE_int32 ( hamming_distance  ,
85  ,
"A smaller value keeps fewer but more reliable binary descriptor matches."   
)

◆ DEFINE_int32() [3/7]

DEFINE_int32 ( max_brisk_features  ,
5000  ,
"Maximum number of features to be computed using ORGBRISK."   
)

◆ DEFINE_int32() [4/7]

DEFINE_int32 ( max_surf_features  ,
5000  ,
"Maximum number of features to be computed using SURF."   
)

◆ DEFINE_int32() [5/7]

DEFINE_int32 ( min_brisk_features  ,
1000  ,
"Minimum number of features to be computed using ORGBRISK."   
)

◆ DEFINE_int32() [6/7]

DEFINE_int32 ( min_surf_features  ,
1000  ,
"Minimum number of features to be computed using SURF."   
)

◆ DEFINE_int32() [7/7]

DEFINE_int32 ( orgbrisk_octaves  ,
,
"Number of  octaves,
or scale  spaces,
that BRISK will evaluate."   
)