Ask Your Question

Aadil Jaleel Choudhry's profile - activity

2015-03-11 03:36:54 -0600 commented question Erosion / Dilation erroneous output for empty structuring element?

Steven, no this isn't the problem.

2015-03-11 00:19:31 -0600 commented question Erosion / Dilation erroneous output for empty structuring element?

My bad, I just edited the question. I meant zeros(3,3) instead of empty kernel.

I am implementing hit miss transform using erode function, it uses a kernel of 0's if the structuring element for hit miss is all 1's

2015-03-11 00:15:50 -0600 received badge  Editor (source)
2015-03-10 04:54:17 -0600 received badge  Student (source)
2015-03-10 02:46:09 -0600 asked a question Erosion / Dilation erroneous output for empty structuring element?

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