Optimized version of adaptiveThreshold added
This commit is contained in:
parent
ddf56fa629
commit
c946a740bb
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user