Commit c1aee0c3 authored by Michael Vukadinovic's avatar Michael Vukadinovic

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

parent 5042ab1f
...@@ -1234,7 +1234,7 @@ static bool IPPMorphOp(int op, InputArray _src, OutputArray _dst, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment