Tegra version of cv::detail::
authorAndrey Kamaev <no@email>
Mon, 12 Mar 2012 11:24:27 +0000 (11:24 +0000)
committerAndrey Kamaev <no@email>
Mon, 12 Mar 2012 11:24:27 +0000 (11:24 +0000)
modules/stitching/src/blenders.cpp

index 6660eb4..346460b 100644 (file)
@@ -381,6 +381,10 @@ void MultiBandBlender::blend(Mat &dst, Mat &dst_mask)
 \r
 void normalizeUsingWeightMap(const Mat& weight, Mat& src)\r
 {\r
+#ifdef HAVE_TEGRA_OPTIMIZATION\r
+    if(tegra::normalizeUsingWeightMap(weight, src))\r
+        return;\r
+#endif\r
     CV_Assert(src.type() == CV_16SC3);\r
 \r
     if(weight.type() == CV_32FC1)\r