dilation
DESCRIPTION
Dilation. The basic morphological operations applied to either grayscale or binary images are Erosion and Dilation. Erosion shrinks image objects while dilation expands them. Course Name: Digital Image Processing Level(UG/PG): UG Author(s) : Phani Swathi Chitta - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/1.jpg)
Dilation
The basic morphological operations applied to either grayscale or binary images are Erosion and Dilation. Erosion shrinks image objects while dilation expands them.
Course Name: Digital Image Processing Level(UG/PG): UG Author(s) : Phani Swathi ChittaMentor: Prof. Saravanan Vijayakumaran
*The contents in this ppt are licensed under Creative Commons Attribution-NonCommercial-ShareAlike 2.5 India license
![Page 2: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/2.jpg)
Learning ObjectivesAfter interacting with this Learning Object, the learner will be able to:• Explain the basic morphological operation (Dilation)
![Page 3: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/3.jpg)
Definitions of the components/Keywords:
5
3
2
4
1 • Characteristics of Dilation
- Dilation generally increases the sizes of objects, filling in holes and broken areas, and connecting areas that are separated by spaces smaller than the size of the structuring element.
- With grayscale images, dilation increases the brightness of objects by taking the neighborhood maximum when passing the structuring element over the image.
- With binary images, dilation connects areas that are separated by spaces smaller than the structuring element and adds pixels to the perimeter of each image object.
• The dilation operator takes two pieces of data as inputs. - The first is the image which is to be dilated. - The second is a (usually small) set of coordinate points known as a
structuring element (also known as a kernel).• It is this structuring element that determines the precise effect of the dilation
on the input image.
• In dilation, every background pixel that is touching an object pixel is changed into an object pixel. Dilation makes the objects larger, and can merge multiple objects into one.
![Page 4: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/4.jpg)
Master Layout 1
5
3
2
4
1
• Give radio buttons to select any one structuring element of sizes 5x5, 7x7, 11x11 • The structuring elements (SE) are
Image after dilation Original Image
![Page 5: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/5.jpg)
Step 1: 1
5
32
4Instruction for the animator Text to be displayed in the working area (DT)
• Show the original image first then show the structuring element selected by the user
• The text in DT should appear in parallel to the figures
• The original image• The structuring element
![Page 6: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/6.jpg)
Step 2: 1
5
32
4Instruction for the animator Text to be displayed in the working area (DT)
• The SE must move on the original image such that the center of the SE must move pixel by pixel of original image
• The text in DT should appear in parallel to the figures
• The left image is the original image• The
![Page 7: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/7.jpg)
Step 3: 1
5
32
4Instruction for the animator Text to be displayed in the working area (DT)
• The first fig. should appear and then when the slider points at sigma, the second fig. should be shown
• The text in DT should appear in parallel to the figures
• The original image• The resulting image after high boost filtering is applied• The filter mask used for smoothing is of size 3x3
![Page 8: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/8.jpg)
Step 4: 1
5
32
4Instruction for the animator Text to be displayed in the working area (DT)
• The first fig. should appear and then when the slider points at sigma, the second fig. should be shown
• The text in DT should appear in parallel to the figures
• The original image• The resulting image after high boost filtering is applied• The filter mask used for smoothing is of size 3x3
![Page 9: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/9.jpg)
Step 6: 1
5
32
4Instruction for the animator Text to be displayed in the working area (DT)
• The first fig. should appear and then when the slider points at sigma, the second fig. should be shown
• The text in DT should appear in parallel to the figures
• The original image• The resulting image after high boost filtering is applied• The filter mask used for smoothing is of size 3x3
![Page 10: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/10.jpg)
Step 7: 1
5
32
4Instruction for the animator Text to be displayed in the working area (DT)
• The first fig. should appear and then when the slider points at sigma, the second fig. should be shown
• The text in DT should appear in parallel to the figures
• The original image• The resulting image after high boost filtering is applied• The filter mask used for smoothing is of size 3x3
![Page 11: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/11.jpg)
Step 8: 1
5
32
4Instruction for the animator Text to be displayed in the working area (DT)
• The first fig. should appear and then when the slider points at sigma, the second fig. should be shown
• The text in DT should appear in parallel to the figures
• The original image• The resulting image after high boost filtering is applied• The filter mask used for smoothing is of size 3x3
![Page 12: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/12.jpg)
Introduction
Credits
12
Definitions Test your understanding (questionnaire) Lets Sum up (summary) Want to know more…
(Further Reading)
Try it yourself
Interactivity:
Analogy
Slide 1
Slide 3
Slide 23, 24,25
Slide 26
Electrical Engineering
Select any one of the figures a b c d
Select the structuring element
![Page 13: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/13.jpg)
Questionnaire
1.After dilating the image, will the number of background pixels increase or decrease?
Answers: a) Increase b) Decrease
1
5
2
4
3
![Page 14: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/14.jpg)
Questionnaire2.
Image a Image b:Structuring Element What is the resulting image after dilating the image a using
structuring element (image b)?Answers: a) b)
1
5
2
4
3
![Page 15: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/15.jpg)
Questionnaire2.
Image a Image b:Structuring Element What is the resulting image after dilating the image a using
structuring element (image b)?Answers: c) d)
1
5
2
4
3
![Page 16: Dilation](https://reader030.vdocuments.site/reader030/viewer/2022020117/56816868550346895dded2b9/html5/thumbnails/16.jpg)
Links for further readingReference websites:http://siri.lmao.sk/fiit/DSO/Prednasky/2a Morphological processing
Recap & Extend / Digital Image Processing Lecture Morphological processing Recap &Extend.pdf
http://en.wikipedia.org/wiki/Dilation_%28morphology%29http://homepages.inf.ed.ac.uk/rbf/HIPR2/dilatedemo.htmhttp://homepages.inf.ed.ac.uk/rbf/HIPR2/dilate.htm
Books:Digital Image Processing – Rafael C. Gonzalez,
Richard E. Woods, Third edition, Prentice Hall