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.
This commit is contained in:
Leonid Beynenson 2014-07-11 16:37:30 +04:00
parent 2df3abe16b
commit cce2d9927e

View File

@ -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