You are on page 1of 8

Digital Image Processing

Morphological Image processing

Nazmin Islam
Lecturer
Dept. of CSE, NUB
Other algorithms
Thinning
Thickening
Pruning
Thinning
To remove selected foreground pixels from binary images
Reduces the area of shape from every side of the image
It also an application of hit-or-miss transform
It an iterative method
Mathematically can derived as

Obtained by a sequence of operation


A thin B=((((A thin B1) thin B2) thin B3………….)thin Bn)
Thinning
Thinning operation is calculated by translating the origin of the
structuring element to each possible pixel position in the image
If the foreground and background pixels in the structuring element
exactly match foreground and background pixels in the image, then
the image pixel underneath the origin of the structuring element is
set to background (zero).
Thickening
Thickening is a morphological operation that is used to grow
selected regions of foreground pixels in binary images

e thickening operation is related to the hit-and-miss transform and


can be expressed quite simply in terms of it. The thickening of an
image I by a structuring element J is:

It is also Obtained by a sequence of operation like thinning


A thick B=((((A thick B1) thick B2) thin B3………….)thick Bn)
Pruning
Eliminates the parasites form the images
The unwanted branches are removed
It also detects the skeleton of image and then thins the image
Work example
Work example

You might also like