Merge pull request #2262 from SpecLad:merge-2.4

This commit is contained in:
Roman Donchenko
2014-02-03 15:33:40 +04:00
committed by OpenCV Buildbot
23 changed files with 216 additions and 99 deletions

View File

@@ -829,7 +829,7 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth,
ddepth = sdepth;
_dst.create( src.size(), CV_MAKETYPE(ddepth, cn) );
Mat dst = _dst.getMat();
if( borderType != BORDER_CONSTANT && normalize )
if( borderType != BORDER_CONSTANT && normalize && (borderType & BORDER_ISOLATED) != 0 )
{
if( src.rows == 1 )
ksize.height = 1;