Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

dilate is a maximum filter. Just use it with the desired size and form (MORPH_RECT, MORPH_ELLIPSE, or a custom kernel).

dilate is a maximum filter. Just use it with the desired size and form (MORPH_RECT, MORPH_ELLIPSE, (MORPH_RECT, MORPH_ELLIPSE, or a custom kernel).kernel). If you want to fill gaps use morphologyEx with MORPH_CLOSE as op flag.