Morphological Operators

A set of morphological operators for GIMP

Morphological operators on steroids!

An extension to the default set of morphological operators for GIMP: erosion, dilation, opening, closing, boundary extraction, gradient, hit-or-miss, thickening, thinning, skelethonization, white and black top-hat.

Additionally, this plugin lets you define a custom structuring element for operations. The plugin is tested to work on GIMP starting from version 2.6.

v1.0 - Read the changelog


Follow the general instructions to install a plugin on GIMP. You will find "Morphological Operators..." under "Filter -> General" menu.

Erosion: brighter areas shrink in size and darker spots within those areas become larger
Dilation: dual of erosion, it enlarges the boundaries of brighter regions.
Opening and Closing: less destructive erosion and dilation.
Boundary extraction
Skeletonization: creates a topological skeleton of the image.
Hit-or-Miss's family tools, with thickening and thinning.
Black and White Top-Hat: operations that extract small details from the image.
You can customize the size and shape of the structuring element with a simple interface

Consider donating

This project costs me a lot of "No, not tonight" answers to the questions "Hey, Ale! Wanna go out with us for some beer?". So, if you are a real gentleman, why don't you pay me back those missed drinks? ;)