0 ×

Morphological Image Operations

StreamableKNIME Image Types and Nodes version by University of Konstanz

Perform morphological operations (like erode and dilate or open and close) on images.


Connection Type
  • Four-Connected
  • Eight-Connected
  • Structuring Element: Read the structuring element from the optional second in port.
Structuring Element
Column of the structuring element, if 'Structuring Element' is selected as 'Connection Type'.
  • Erode: Shrink bright areas.
  • Dilate: Grow bright areas.
  • Open: Erode followed by Dilate. Erases tiny bright spots.
  • Close: Dilate followed by Erode. Erases tiny dark holes.
Number of Iterations
Determines how often the chosen morphological operation should be applied to the images (to increase the effect). If Open/Closed is selected, first Erode/Dilate is applied n times then Dilate/Erode n times.
Dimension Selection
Determines for which dimensions the morphological operations will be applied individually.
Out of Bounds Strategy
The 'OutOfBounds Strategy' is used when an algorithm needs access to pixels which lie outside of an image (for example convolutions). The strategy determines how an image is extended, for examples see Fiji Wiki

Input Ports

Optional Structuring Elements

Output Ports

Processed Images


Image Viewer
Tabular View with resulting Images

Best Friends (Incoming)

Best Friends (Outgoing)



To use this node in KNIME, install KNIME Image Processing from the following update site:


A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.