Course Website: Digital Image Processing Morphological Image Processing.

Slides:



Advertisements
Similar presentations
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 8 Introduction to Binary Morphology.
Advertisements

Digital Image Processing
Table of Contents 9.5 Some Basic Morphological Algorithm
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
Course Website: Digital Image Processing Image Enhancement (Histogram Processing)
Chapter 9: Morphological Image Processing
Some Basic Morphological Algorithm
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
DIGITAL IMAGE PROCESSING
Introduction to Morphological Operators
Morphological Image Processing Md. Rokanujjaman Assistant Professor Dept of Computer Science and Engineering Rajshahi University.
Tutorial # 10 Morphological Operations I8oZE.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 9 Morphological Image Processing Chapter 9 Morphological.
Morphology Structural processing of images Image Processing and Computer Vision: 33 Morphological Transformations Set theoretic methods of extracting.
Chapter 9 Morphological Image Processing. Preview Morphology: denotes a branch of biology that deals with the form and structure of animals and planets.
Digital Image Processing: Revision
Introduction to Computer Vision
Copyright © 2012 Elsevier Inc. All rights reserved.. Chapter 9 Binary Shape Analysis.
2007Theo Schouten1 Morphology Set theory is the mathematical basis for morphology. Sets in Euclidic space E 2 (or rather Z 2 : the set of pairs of integers)
GUIDED BY: C.VENKATESH PRESENTED BY: S.FAHIMUDDIN C.VAMSI KRISHNA ASST.PROFESSOR M.V.KRISHNA REDDY (DEPT.ECE)
Lecture 5. Morphological Image Processing. 10/6/20152 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals.
Mathematical Morphology Lecture 14 Course book reading: GW Lucia Ballerini Digital Image Processing.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
Digital Image Processing Chapter 9: Morphological Image Processing 5 September 2007 Digital Image Processing Chapter 9: Morphological Image Processing.
Digital Image Processing CCS331 Relationships of Pixel 1.
Morphological Image Processing
J. Shanbehzadeh M. Hosseinajad Khwarizmi University of Tehran.
Gianni Ramponi University of Trieste Images © 2002 Gonzalez & Woods Digital Image Processing Chapter 9 Morphological Image.
Digital Image Processing CSC331 Morphological image processing 1.
Course Website: Digital Image Processing Image Enhancement (Spatial Filtering 1)
Digital Image Processing CSC331 Morphological image processing 1.
Morphological Image Processing การทำงานกับรูปภาพด้วยวิธีมอร์โฟโลจิคัล
References Books: Chapter 11, Image Processing, Analysis, and Machine Vision, Sonka et al Chapter 9, Digital Image Processing, Gonzalez & Woods.
CS654: Digital Image Analysis
Nottingham Image Analysis School, 23 – 25 June NITS Image Segmentation Guoping Qiu School of Computer Science, University of Nottingham
EE 4780 Morphological Image Processing. Bahadir K. Gunturk2 Example Two semiconductor wafer images are given. You are supposed to determine the defects.
Image Processing and Analysis (ImagePandA)
Morphological Image Processing Robotics. 2/22/2016Introduction to Machine Vision Remember from Lecture 12: GRAY LEVEL THRESHOLDING Objects Set threshold.
 Mathematical morphology is a tool for extracting image components that are useful in the representation and description of region shape, such as boundaries,
Digital Image Processing Morphological Image Processing.
BYST Morp-1 DIP - WS2002: Morphology Digital Image Processing Morphological Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department.
Digital Image Processing
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 11 Representation and.
Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.
Chapter 6 Skeleton & Morphological Operation. Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Morphological Image Processing
Vision & Image Processing for RoboCup KSL League Rami Isachar Lihen Sternfled.
Lecture 11+x+1 Chapter 9 Morphological Image Processing.
Digital Image Processing Lecture 15: Morphological Algorithms April 27, 2005 Prof. Charlene Tsai.
Digital Image Processing CP-7008 Lecture # 09 Morphological Image Processing Fall 2011.
CSE 554 Lecture 1: Binary Pictures
Introduction to Morphological Operators
Lecture 8 Introduction to Binary Morphology
CSSE463: Image Recognition Day 3
Digital Image Processing
Digital Image Processing
Digital Image Processing
CS Digital Image Processing Lecture 5
Binary Image processing بهمن 92
Interesting article in the March, 2006 issue of Wired magazine
Morphological Image Processing
Digital Image Processing Lecture 15: Morphological Algorithms
CSSE463: Image Recognition Day 3
ECE 692 – Advanced Topics in Computer Vision
Digital Image Processing Lecture 14: Morphology
CS654: Digital Image Analysis
Morphological Operators
Presentation transcript:

Course Website: Digital Image Processing Morphological Image Processing

2 of 39 Contents Once segmentation is complete, morphological operations can be used to remove imperfections in the segmented image and provide information on the form and structure of the image In this lecture we will consider –What is morphology? –Simple morphological operations –Compound operations –Morphological algorithms

3 of 39 1, 0, Black, White? Throughout all of the following slides whether 0 and 1 refer to white or black is a little interchangeable All of the discussion that follows assumes segmentation has already taken place and that images are made up of 0s for background pixels and 1s for object pixels After this it doesn’t matter if 0 is black, white, yellow, green…….

4 of 39 What Is Morphology? Morphological image processing (or morphology) describes a range of image processing techniques that deal with the shape (or morphology) of features in an image Morphological operations are typically applied to remove imperfections introduced during segmentation, and so typically operate on bi-level images

5 of 39 Quick Example Images taken from Gonzalez & Woods, Digital Image Processing (2002) Image after segmentationImage after segmentation and morphological processing

6 of 39 Structuring Elements, Hits & Fits B A C Structuring Element Fit: All on pixels in the structuring element cover on pixels in the image Hit: Any on pixel in the structuring element covers an on pixel in the image All morphological processing operations are based on these simple ideas

7 of 39 Structuring Elements Structuring elements can be any size and make any shape However, for simplicity we will use rectangular structuring elements with their origin at the middle pixel

8 of 39 Fitting & Hitting B C A Structuring Element Structuring Element 2

9 of 39 Fundamental Operations Fundamentally morphological image processing is very like spatial filtering The structuring element is moved across every pixel in the original image to give a pixel in a new processed image The value of this new pixel depends on the operation performed There are two basic morphological operations: erosion and dilation

10 of 39 Erosion Erosion of image f by structuring element s is given by f  s The structuring element s is positioned with its origin at (x, y) and the new pixel value is determined using the rule:

11 of 39 Erosion Example Structuring Element Original Image Processed Image With Eroded Pixels

12 of 39 Erosion Example Structuring Element Original Image Processed Image

13 of 39 Erosion Example 1 Watch out: In these examples a 1 refers to a black pixel! Original imageErosion by 3*3 square structuring element Erosion by 5*5 square structuring element

14 of 39 Erosion Example 2 Original image After erosion with a disc of radius 10 After erosion with a disc of radius 20 After erosion with a disc of radius 5 Images taken from Gonzalez & Woods, Digital Image Processing (2002)

15 of 39 What Is Erosion For? Erosion can split apart joined objects Erosion can strip away extrusions Watch out: Erosion shrinks objects Erosion can split apart

16 of 39 Dilation Dilation of image f by structuring element s is given by f s The structuring element s is positioned with its origin at (x, y) and the new pixel value is determined using the rule:

17 of 39 Dilation Example Structuring Element Original Image Processed Image

18 of 39 Dilation Example Structuring Element Original Image Processed Image With Dilated Pixels

19 of 39 Dilation Example 1 Original image Dilation by 3*3 square structuring element Dilation by 5*5 square structuring element Watch out: In these examples a 1 refers to a black pixel!

20 of 39 Dilation Example 2 Structuring element Original image After dilation Images taken from Gonzalez & Woods, Digital Image Processing (2002)

21 of 39 What Is Dilation For? Dilation can repair breaks Dilation can repair intrusions Watch out: Dilation enlarges objects

22 of 39 Compound Operations More interesting morphological operations can be performed by performing combinations of erosions and dilations The most widely used of these compound operations are: –Opening –Closing

23 of 39 Opening The opening of image f by structuring element s, denoted f ○ s is simply an erosion followed by a dilation f ○ s = (f  s) s Original shapeAfter erosionAfter dilation (opening) Note a disc shaped structuring element is used Images taken from Gonzalez & Woods, Digital Image Processing (2002)

24 of 39 Opening Example Original Image Image After Opening Images taken from Gonzalez & Woods, Digital Image Processing (2002)

25 of 39 Opening Example Structuring Element Original Image Processed Image

26 of 39 Opening Example Structuring Element Original Image Processed Image

27 of 39 Closing The closing of image f by structuring element s, denoted f s is simply a dilation followed by an erosion f s = (f s)  s Original shape After dilation After erosion (closing) Note a disc shaped structuring element is used Images taken from Gonzalez & Woods, Digital Image Processing (2002)

28 of 39 Closing Example Original Image Image After Closing Images taken from Gonzalez & Woods, Digital Image Processing (2002)

29 of 39 Closing Example Structuring Element Original Image Processed Image

30 of 39 Closing Example Structuring Element Original Image Processed Image

31 of 39 Morphological Processing Example Images taken from Gonzalez & Woods, Digital Image Processing (2002)

32 of 39 Morphological Algorithms Using the simple technique we have looked at so far we can begin to consider some more interesting morphological algorithms We will look at: –Boundary extraction –Region filling There are lots of others as well though: –Extraction of connected components –Thinning/thickening –Skeletonisation

33 of 39 Boundary Extraction Extracting the boundary (or outline) of an object is often extremely useful The boundary can be given simply as β(A) = A – (A  B) Images taken from Gonzalez & Woods, Digital Image Processing (2002)

34 of 39 Boundary Extraction Example A simple image and the result of performing boundary extraction using a square 3*3 structuring element Original ImageExtracted Boundary Images taken from Gonzalez & Woods, Digital Image Processing (2002)

35 of 39 Region Filling Given a pixel inside a boundary, region filling attempts to fill that boundary with object pixels (1s) Images taken from Gonzalez & Woods, Digital Image Processing (2002) Given a point inside here, can we fill the whole circle?

36 of 39 Region Filling (cont…) The key equation for region filling is Where X 0 is simply the starting point inside the boundary, B is a simple structuring element and A c is the complement of A This equation is applied repeatedly until X k is equal to X k-1 Finally the result is unioned with the original boundary Images taken from Gonzalez & Woods, Digital Image Processing (2002)

37 of 39 Region Filling Step By Step Images taken from Gonzalez & Woods, Digital Image Processing (2002)

38 of 39 Region Filling Example Images taken from Gonzalez & Woods, Digital Image Processing (2002) Original ImageOne Region Filled All Regions Filled

39 of 39 Summary The purpose of morphological processing is primarily to remove imperfections added during segmentation The basic operations are erosion and dilation Using the basic operations we can perform opening and closing More advanced morphological operation can then be implemented using combinations of all of these

40 of 39 Structuring Elements, Hits & Fits

41 of 39 HIT! FIT!

42 of 39 MISS!

43 of 39 Erosion Example Structuring Element

44 of 39 Dilation Example Structuring Element

45 of 39 Opening Example Structuring Element Original Image Processed Image

46 of 39 Closing Example Structuring Element Original Image Processed Image

47 of 39 Region Filling Step By Step Images taken from Gonzalez & Woods, Digital Image Processing (2002)

48 of 39 Region Filling Step By Step Images taken from Gonzalez & Woods, Digital Image Processing (2002)