Optimized version of adaptiveThreshold added

pull/13383/head
Kirill Kornyakov 13 years ago
parent ddf56fa629
commit c946a740bb
  1. 3
      modules/imgproc/src/smooth.cpp

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

Loading…
Cancel
Save