BFMatcher and crossCheck

asked 2015-09-06 15:39:15 -0500

LBerger gravatar image

updated 2015-09-06 15:40:06 -0500

Hi,

When I use BFMatcher I can find in constructor option crossCheck

Now if I want to use new method cv::DescriptorMatcher::create("BruteForce-Hamming") Is it possible to fix crossCheck to true?

my program is

descriptorMatcher = cv::DescriptorMatcher::create("BruteForce-Hamming");
if (descriptorMatcher.dynamicCast<cv::BFMatcher>()!=NULL)
{
    descriptorMatcher.dynamicCast<cv::BFMatcher>()->?????? // crossCheck = true
}

Thanks for your help

Opencv 3.0-dev VS 2013

edit retag flag offensive close merge delete