M-File Help: ierode View code for ierode

ierode

Morphological erosion

out = ierode(im, se, options) is the image im after morphological erosion with the structuring element se.

out = ierode(im, se, n, options) as above but the structuring element se is applied n times, that is n erosions.

Options

'border' the border value is replicated (default)
'none' pixels beyond the border are not included in the window
'trim' output is not computed for pixels where the structuring element crosses the image border, hence output image had reduced dimensions.
'wrap' the image is assumed to wrap around, left to right, top to bottom.

Notes

Reference

See also

idilate, iclose, iopen, imorph


 

© 1990-2012 Peter Corke.