From 3df41c1d62a364b7cd43facebae7faa7b7e972e1 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 12 Mar 2012 11:24:27 +0000 Subject: [PATCH] Tegra version of cv::detail:: --- modules/stitching/src/blenders.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/stitching/src/blenders.cpp b/modules/stitching/src/blenders.cpp index 6660eb4..346460b 100644 --- a/modules/stitching/src/blenders.cpp +++ b/modules/stitching/src/blenders.cpp @@ -381,6 +381,10 @@ void MultiBandBlender::blend(Mat &dst, Mat &dst_mask) void normalizeUsingWeightMap(const Mat& weight, Mat& src) { +#ifdef HAVE_TEGRA_OPTIMIZATION + if(tegra::normalizeUsingWeightMap(weight, src)) + return; +#endif CV_Assert(src.type() == CV_16SC3); if(weight.type() == CV_32FC1) -- 2.7.4