Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Dilate and erode are maximum-/minimum filters. So there is no correct or wrong approach. It simply depends on what you try to achieve.

Please post some example images and your code, so people can take a look at your specific problem.