Fixed bug in IPPMorphOp function when looping over elements of the morphology kernel.
This commit is contained in:
parent
5042ab1f32
commit
c1aee0c312
@ -1234,7 +1234,7 @@ static bool IPPMorphOp(int op, InputArray _src, OutputArray _dst,
|
||||
return false;
|
||||
}
|
||||
}
|
||||
for( x = 0; y < kernel.cols; x++ )
|
||||
for( x = 0; x < kernel.cols; x++ )
|
||||
{
|
||||
if( kernel.at<uchar>(anchor.y, x) != 0 )
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user