Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

DEPARTMENT OF BIOMEDICAL ENGINEERING Experiment No.

10
Semester T.E. Semester VI – Biomedical Engineering
Subject Digital Image Processing
Subject Professor In-charge Prof. Geetha Narayanan
Laboratory GE Lab/Online

Student Name Sneha Singh


Roll Number 20105A0053
Grade and Subject
Teacher’s Signature

Experiment
Number 10
Experiment ToperformDilation and Erosion on an image.
Title
Resources / Hardware: Software: Virtual Lab
Apparatus IBM PC Compatible Computer System https://cse19-iiith.vlabs.ac.in/exp/morphological-
Required operations/simulation/morph.php

Objectives To understand the basics of morphological operations which are used in analyzing the form and shape
(Skill Set / details of image structures.
Knowledge
Tested /
Imparted)

Theory of Dilation:
Operation The Dilation of X by B is defined as X B = {x | -Bx Ç X ¹ f}

The result of dilation is a set of all locations x such that -Bx has at least 1 pixel within X.
Erosion:
The Erosion of X by B is defined as X B = {x | Bx Í X}

The erosion is a set of all locations x such that the structuring element B is within (contained in) X.

Opening:
By combining erosion with dilation as below

we define a new operation called opening.

Closing:

By reversing the ordering of erosion and dilation operations, a closing operation is defined:
Procedure: Steps to run the experiments

1. Select image from the mosaic using 'select image' option

2. Select one option from 'Dilation', 'Erosion', 'Closing 'and 'Opening'

3. Select options from 'Shape' and 'Size' of structuring elements properties

Select run option to perform the operations.

Outputs:
Conclusion:
1. The dilation operation enlarges /expands the objects in the image.
2. In contrast to the dilation operation, erosion decreases the size of the object.
3. The opening operation smoothest objects.
4. Closing smoothest objects by adding pixels.

You might also like