Morphology Operators
This page describes the interfaces for the basic morphology operators that you can use to build your own pipeline. To easily visualize the effect of different operators, the "blobs" image is used to build the cover image.
using TestImages, ImageBase
restrict(testimage("blobs"))
Unless explicitly used, most operations in this package don't support color images. This is because many morphological operation is based on pixel value comparisons min
, max
, >
and <
– they are not welldefined for RGB
type.
This page contains only a subset of exported functions. The missing ones will be added in the future. You might need to check the heavy reference page to find out what you need. Contributions are welcome!
Operators
The 
The dilation operator 
The dilation operator 


The (white) tophat operator is defined as 
The (black) tophat operator, also known as bottom hat, is defined as 
There are three commonly used morphological gradient definitions: the beucher gradident 
Laplacian operator is defined as the difference between external gradient and internal gradient – 
The morphological reconstruction operator is to repeatedly apply particular operator until the stability, i.e,. output unchanged. The most widely used ones are reconstruction by dilation and reconstruction by erosion. 

