adding the Brief descriptor, associated hamming distance functors for bruteforce matching. Also adding cout << cv::Mat functions in core.
This commit is contained in:
@@ -485,6 +485,14 @@ Ptr<DescriptorMatcher> createDescriptorMatcher( const string& descriptorMatcherT
|
||||
{
|
||||
dm = new FlannBasedMatcher();
|
||||
}
|
||||
else if (!descriptorMatcherType.compare("BruteForce-Hamming"))
|
||||
{
|
||||
dm = new BruteForceMatcher<Hamming> ();
|
||||
}
|
||||
else if (!descriptorMatcherType.compare("BruteForce-HammingLUT"))
|
||||
{
|
||||
dm = new BruteForceMatcher<HammingLUT> ();
|
||||
}
|
||||
else
|
||||
{
|
||||
//CV_Error( CV_StsBadArg, "unsupported descriptor matcher type");
|
||||
|
Reference in New Issue
Block a user