Commit 4ebb6636 authored by Andrey Kamaev's avatar Andrey Kamaev

Tegra version of cv::detail::createLaplacePyr

parent be63ce72
...@@ -429,6 +429,11 @@ void createWeightMap(const Mat &mask, float sharpness, Mat &weight) ...@@ -429,6 +429,11 @@ void createWeightMap(const Mat &mask, float sharpness, Mat &weight)
void createLaplacePyr(const Mat &img, int num_levels, vector<Mat> &pyr) void createLaplacePyr(const Mat &img, int num_levels, vector<Mat> &pyr)
{ {
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::createLaplacePyr(img, num_levels, pyr))
return;
#endif
pyr.resize(num_levels + 1); pyr.resize(num_levels + 1);
if(img.depth() == CV_8U) if(img.depth() == CV_8U)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment