--- layout: default ---
Introduction Getting started Modules Macros
Back to module list

Dilate and erode

Description

Applies binary dilate or erode operations to an image in the workspace. Dilate will expand all foreground-labelled regions by a specified number of pixels, while erode will shrink all foreground-labelled regions by the same ammount.

This image must be 8-bit and have the logic black foreground (intensity 0) and white background (intensity 255). If 2D operations are applied on higher dimensionality images the operations will be performed in a slice-by-slice manner. All operations (both 2D and 3D) use the plugin "MorphoLibJ".

Parameters