fixed link time error in gpu module
authorAlexey Spizhevoy <no@email>
Thu, 16 Dec 2010 08:46:47 +0000 (08:46 +0000)
committerAlexey Spizhevoy <no@email>
Thu, 16 Dec 2010 08:46:47 +0000 (08:46 +0000)
modules/gpu/src/match_template.cpp

index da870c7795d86913bffc33e2caf59e6ba1a9c51b..28e5b784cf0d1e76aab5505146949a202c8024a0 100644 (file)
@@ -62,13 +62,13 @@ namespace cv { namespace gpu { namespace imgproc
     void multiplyAndNormalizeSpects(int n, float scale, const cufftComplex* a,\r
                                     const cufftComplex* b, cufftComplex* c);\r
 \r
-    void matchTemplateNaive_8U_SQDIFF(\r
-            const DevMem2D image, const DevMem2D templ, DevMem2Df result);\r
+    void matchTemplateNaive_SQDIFF_8U(\r
+            const DevMem2D image, const DevMem2D templ, DevMem2Df result, int cn);\r
 \r
-    void matchTemplateNaive_32F_SQDIFF(\r
-            const DevMem2D image, const DevMem2D templ, DevMem2Df result);\r
+    void matchTemplateNaive_SQDIFF_32F(\r
+            const DevMem2D image, const DevMem2D templ, DevMem2Df result, int cn);\r
 \r
-    void matchTemplatePrepared_8U_SQDIFF(\r
+    void matchTemplatePrepared_SQDIFF_8U(\r
             int w, int h, const DevMem2Df image_sumsq, float templ_sumsq,\r
             DevMem2Df result);\r
 }}}\r
@@ -98,7 +98,7 @@ namespace
     void matchTemplate_32F_SQDIFF(const GpuMat& image, const GpuMat& templ, GpuMat& result)\r
     {\r
         result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32F);\r
-        imgproc::matchTemplateNaive_32F_SQDIFF(image, templ, result);\r
+        imgproc::matchTemplateNaive_SQDIFF_32F(image, templ, result, 1);\r
     }\r
 \r
 \r
@@ -243,7 +243,7 @@ namespace
     void matchTemplate_8U_SQDIFF(const GpuMat& image, const GpuMat& templ, GpuMat& result)\r
     {\r
         result.create(image.rows - templ.rows + 1, image.cols - templ.cols + 1, CV_32F);\r
-        imgproc::matchTemplateNaive_8U_SQDIFF(image, templ, result);\r
+        imgproc::matchTemplateNaive_SQDIFF_8U(image, templ, result, 1);\r
     }\r
 \r
 \r