1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Optimized version of adaptiveThreshold added

This commit is contained in:
Kirill Kornyakov
2012-01-25 07:50:47 +00:00
parent ddf56fa629
commit c946a740bb
+2 -1
View File
@@ -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