If one erodes an image by empty structuring element, it should be all 1s, but in case of OpenCV, it returns the image. Similarly, dilation of image by empty structuring element return image itself instead of all 0s.
1 | initial version |
If one erodes an image by empty structuring element, it should be all 1s, but in case of OpenCV, it returns the image. Similarly, dilation of image by empty structuring element return image itself instead of all 0s.
2 | No.2 Revision |
If one erodes an image by empty zeros(3,3) structuring element, it should be all 1s, but in case of OpenCV, it returns the image.
Similarly, dilation of image by empty zeros(3,3) structuring element return image itself instead of all 0s.