Skip to content

Commit

Permalink
fix lucid
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelchang authored Oct 21, 2019
1 parent 2bf8e1b commit 18a0a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/feature/matcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ namespace feature
Matcher::Matcher(std::string descriptor_type, double max_dist)
: maxDistance_(max_dist)
{
if (descriptor_type == "SIFT" || descriptor_type == "SURF" || descriptor_type == "KAZE" || descriptor_type == "DAISY" || descriptor_type == "LUCID" || descriptor_type == "VGG")
if (descriptor_type == "SIFT" || descriptor_type == "SURF" || descriptor_type == "KAZE" || descriptor_type == "DAISY" || descriptor_type == "VGG")
{
matcher_ = cv::BFMatcher::create(cv::NORM_L2, true);
}
else if (descriptor_type == "ORB" || descriptor_type == "BRISK" || descriptor_type == "AKAZE" || descriptor_type == "FREAK" || descriptor_type == "LATCH" || descriptor_type == "BOOST")
else if (descriptor_type == "ORB" || descriptor_type == "BRISK" || descriptor_type == "AKAZE" || descriptor_type == "FREAK" || descriptor_type == "LATCH" || descriptor_type == "LUCID" || descriptor_type == "BOOST")
{
matcher_ = cv::BFMatcher::create(cv::NORM_HAMMING, true);
}
Expand Down

0 comments on commit 18a0a13

Please sign in to comment.