提交 54e65598 编写于 作者: V Vadim Pisarevsky

fixed error in OpenCL ORB

上级 1176d4ef
...@@ -105,7 +105,7 @@ ocl_computeOrbDescriptors(const UMat& imgbuf, const UMat& layerInfo, ...@@ -105,7 +105,7 @@ ocl_computeOrbDescriptors(const UMat& imgbuf, const UMat& layerInfo,
size_t globalSize[] = {nkeypoints}; size_t globalSize[] = {nkeypoints};
ocl::Kernel desc_ker("ORB_computeDescriptor", ocl::features2d::orb_oclsrc, ocl::Kernel desc_ker("ORB_computeDescriptor", ocl::features2d::orb_oclsrc,
format("-D ORB_DESCRIPTORS -D wta_k=%d", wta_k)); format("-D ORB_DESCRIPTORS -D WTA_K=%d", wta_k));
if( desc_ker.empty() ) if( desc_ker.empty() )
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册