mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Merge pull request #2754 from thoinvil:patch-1
This commit is contained in:
commit
eded87de5b
@ -837,7 +837,7 @@ void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize,
|
|||||||
_dst.create( src.size(), src.type() );
|
_dst.create( src.size(), src.type() );
|
||||||
Mat dst = _dst.getMat();
|
Mat dst = _dst.getMat();
|
||||||
|
|
||||||
if( borderType != BORDER_CONSTANT )
|
if( borderType != BORDER_CONSTANT && (borderType & BORDER_ISOLATED) != 0 )
|
||||||
{
|
{
|
||||||
if( src.rows == 1 )
|
if( src.rows == 1 )
|
||||||
ksize.height = 1;
|
ksize.height = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user