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 11:02:57 +0000 (15:02 +0400)
modules/features2d/src/orb.cpp

index fd08255..7f9eff6 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;