Greetings.
I'm using OpenCV 2.4.9.
What should be the behavior of the functions of morphology (erosion and dilation) when the structuring element is null (cv::Mat()
) or the number of iterations is zero (0) or negative?
Initially I thought that in such cases the result should be the input image without any change. However, I have noticed that is not the case.
Is it a bug?
Thanks in advance for any help and/or suggestions