Fixed bug in IPPMorphOp function when looping over elements of the morphology kernel.

This commit is contained in:
Michael Vukadinovic 2014-05-01 11:52:49 -07:00
parent 5042ab1f32
commit c1aee0c312

View File

@ -1234,7 +1234,7 @@ static bool IPPMorphOp(int op, InputArray _src, OutputArray _dst,
return false; return false;
} }
} }
for( x = 0; y < kernel.cols; x++ ) for( x = 0; x < kernel.cols; x++ )
{ {
if( kernel.at<uchar>(anchor.y, x) != 0 ) if( kernel.at<uchar>(anchor.y, x) != 0 )
continue; continue;