fixed error in OpenCL ORB
authorVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Fri, 17 Oct 2014 10:30:12 +0000 (14:30 +0400)
committerVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Fri, 17 Oct 2014 10:30:12 +0000 (14:30 +0400)
modules/features2d/src/orb.cpp

index 97d29e2..3a9a2e9 100644 (file)
@@ -105,7 +105,7 @@ ocl_computeOrbDescriptors(const UMat& imgbuf, const UMat& layerInfo,
     size_t globalSize[] = {nkeypoints};
 
     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() )
         return false;