mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -724,7 +724,16 @@ int ORB_Impl::descriptorType() const
|
||||
|
||||
int ORB_Impl::defaultNorm() const
|
||||
{
|
||||
return NORM_HAMMING;
|
||||
switch (wta_k)
|
||||
{
|
||||
case 2:
|
||||
return NORM_HAMMING;
|
||||
case 3:
|
||||
case 4:
|
||||
return NORM_HAMMING2;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_OPENCL
|
||||
|
||||
Reference in New Issue
Block a user