Commit c946a740 authored by Kirill Kornyakov's avatar Kirill Kornyakov

Optimized version of adaptiveThreshold added

parent ddf56fa6
...@@ -311,8 +311,9 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth, ...@@ -311,8 +311,9 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth,
if( src.cols == 1 ) if( src.cols == 1 )
ksize.width = 1; ksize.width = 1;
} }
#ifdef HAVE_TEGRA_OPTIMIZATION #ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::box(src, dst, ksize, borderType))
return;
if ( tegra::boxFilter(src, dst, ksize, anchor, normalize, borderType) ) if ( tegra::boxFilter(src, dst, ksize, anchor, normalize, borderType) )
return; return;
#endif #endif
......
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