Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Well, the dilate functions as you have them are doing nothing at all. So you're just eroding twice. It's the same as changing iterations to 2 instead of the default 1. Note that doubling the size is not the same, you can test that yourself.

Well, the dilate functions as you have them there are doing nothing at all. So you're just eroding twice. It's the same as changing iterations to 2 instead of the default 1. Note that doubling the size is not the same, you can test that yourself.