Fixed bug which caused crash of GPU version of feature matcher in stitcher

The bug caused crash of GPU version of feature matcher in stitcher when
we use ORB features.
pull/2968/head
Leonid Beynenson 11 years ago
parent 2df3abe16b
commit cce2d9927e
  1. 2
      modules/stitching/src/matchers.cpp

@ -212,7 +212,7 @@ void GpuMatcher::match(const ImageFeatures &features1, const ImageFeatures &feat
descriptors1_.upload(features1.descriptors);
descriptors2_.upload(features2.descriptors);
BFMatcher_GPU matcher(NORM_L2);
BFMatcher_GPU matcher(NORM_L1);
MatchesSet matches;
// Find 1->2 matches

Loading…
Cancel
Save