Commit 1fbaa48c authored by huangqinjin's avatar huangqinjin

ORB: compute default norm by wta_k

parent d8ffddd0
......@@ -724,7 +724,16 @@ int ORB_Impl::descriptorType() const
int ORB_Impl::defaultNorm() const
{
switch (wta_k)
{
case 2:
return NORM_HAMMING;
case 3:
case 4:
return NORM_HAMMING2;
default:
return -1;
}
}
#ifdef HAVE_OPENCL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment