Merge pull request #2754 from thoinvil:patch-1

This commit is contained in:
Roman Donchenko 2014-05-19 15:41:27 +04:00 committed by OpenCV Buildbot
commit eded87de5b

View File

@ -837,7 +837,7 @@ void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize,
_dst.create( src.size(), src.type() );
Mat dst = _dst.getMat();
if( borderType != BORDER_CONSTANT )
if( borderType != BORDER_CONSTANT && (borderType & BORDER_ISOLATED) != 0 )
{
if( src.rows == 1 )
ksize.height = 1;