Morphological Image Processing Robotics. 2/22/2016Introduction to Machine Vision Remember from Lecture 12: GRAY LEVEL THRESHOLDING Objects Set threshold.

Slides:



Advertisements
Similar presentations
In form and in feature, face and limb, I grew so like my brother
Advertisements

Document Image Processing
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
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.
Introduction to Morphological Operators
Table of Contents Preview 9.1 Preliminaries 9.2 Erosion and Dilation
Morphological Image Processing Md. Rokanujjaman Assistant Professor Dept of Computer Science and Engineering Rajshahi University.
Tutorial # 10 Morphological Operations I8oZE.
Provides mathematical tools for shape analysis in both binary and grayscale images Chapter 13 – Mathematical Morphology Usages: (i)Image pre-processing.
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.
Morphological Image Processing Spring 2006, Jen-Chang Liu.
Course Website: Digital Image Processing Morphological Image Processing.
Lectures 10&11: Representation and description
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Morphological Image Processing
EE465: Introduction to Digital Image Processing 1 What is in Common?
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)
E.G.M. PetrakisBinary Image Processing1 Binary Image Analysis Segmentation produces homogenous regions –each region has uniform gray-level –each region.
GUIDED BY: C.VENKATESH PRESENTED BY: S.FAHIMUDDIN C.VAMSI KRISHNA ASST.PROFESSOR M.V.KRISHNA REDDY (DEPT.ECE)
Digital Image Processing
Lecture 5. Morphological Image Processing. 10/6/20152 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals.
Morphological Image Processing
MATHEMATICAL MORPHOLOGY I.INTRODUCTION II.BINARY MORPHOLOGY III.GREY-LEVEL MORPHOLOGY.
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.
Digital Image Processing Chapter 9: Morphological Image Processing 5 September 2007 Digital Image Processing Chapter 9: Morphological Image Processing.
Blending recap Visible seams – edges that should not exist, should be avoided. People are fairly insensitive to uniform intensity shifts or gradual intensity.
Morphological Image Processing
Gianni Ramponi University of Trieste Images © 2002 Gonzalez & Woods Digital Image Processing Chapter 9 Morphological Image.
Image Segmentation and Morphological Processing Digital Image Processing in Life- Science Aviad Baram
Digital Image Processing
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh Mostafa Mahdijo Mostafa Mahdijo ( J.Shanbehzadeh.
Digital Image Processing CSC331 Morphological image processing 1.
Morphological Image Processing การทำงานกับรูปภาพด้วยวิธีมอร์โฟโลจิคัล
Erosion: Erosion is used for shrinking of element A by using element B
CS654: Digital Image Analysis
References Books: Chapter 11, Image Processing, Analysis, and Machine Vision, Sonka et al Chapter 9, Digital Image Processing, Gonzalez & Woods.
CS654: Digital Image Analysis
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)
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
 Mathematical morphology is a tool for extracting image components that are useful in the representation and description of region shape, such as boundaries,
BYST Morp-1 DIP - WS2002: Morphology Digital Image Processing Morphological Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department.
Morphology Morphology deals with form and structure Mathematical morphology is a tool for extracting image components useful in: –representation and description.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
ECE472/572 - Lecture 14 Morphological Image Processing 11/17/11.
Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Morphological Image Processing
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.
Game Theoretic Image Segmentation
HIT and MISS.
Introduction to Morphological Operators
CS Digital Image Processing Lecture 5
Binary Image processing بهمن 92
Morphological Operation
Morphological Image Processing
Digital Image Processing Lecture 15: Morphological Algorithms
ECE 692 – Advanced Topics in Computer Vision
Digital Image Processing Lecture 14: Morphology
CS654: Digital Image Analysis
Morphological Operators
Morphological Filters Applications and Extension Morphological Filters
Presentation transcript:

Morphological Image Processing Robotics

2/22/2016Introduction to Machine Vision Remember from Lecture 12: GRAY LEVEL THRESHOLDING Objects Set threshold here

2/22/2016Introduction to Machine Vision BINARY IMAGE Problem here How do we fill “missing pixels”?

4 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction skeletons convex hull morphological filtering thinning pruning

5 Mathematic Morphology mathematical framework used for: pre-processing noise filtering, shape simplification,... enhancing object structure skeletonization, convex hull... Segmentation watershed,… quantitative description area, perimeter,...

6 Z 2 and Z 3 set in mathematic morphology represent objects in an image binary image (0 = white, 1 = black) : the element of the set is the coordinates (x,y) of pixel belong to the object  Z 2 gray-scaled image : the element of the set is the coordinates (x,y) of pixel belong to the object and the gray levels  Z 3

7 Basic Set Theory

8 Reflection and Translation

9 Logic Operations

10 Example

Structuring element (SE) 11  small set to probe the image under study  for each SE, define origo  shape and size must be adapted to geometric properties for the objects

Basic idea in parallel for each pixel in binary image: check if SE is ”satisfied” output pixel is set to 0 or 1 depending on used operation 12

How to describe SE many different ways! information needed: position of origo for SE positions of elements belonging to SE 13

Basic morphological operations Erosion Dilation combine to Opening object Closening background 14 keep general shape but smooth with respect to

Erosion Does the structuring element fit the set? erosion of a set A by structuring element B: all z in A such that B is in A when origin of B=z shrink the object 15

Erosion 16

Erosion 17

18 Erosion

Dilation Does the structuring element hit the set? dilation of a set A by structuring element B: all z in A such that B hits A when origin of B=z grow the object 19

Dilation 20

Dilation 21

22 Dilation B = structuring element

23 Dilation : Bridging gaps

useful erosion removal of structures of certain shape and size, given by SE Dilation filling of holes of certain shape and size, given by SE 24

Combining erosion and dilation WANTED: remove structures / fill holes without affecting remaining parts SOLUTION: combine erosion and dilation (using same SE) 25

26 Erosion : eliminating irrelevant detail structuring element B = 13x13 pixels of gray level 1

Opening erosion followed by dilation, denoted ∘ eliminates protrusions breaks necks smoothes contour 27

Opening 28

Opening 29

30 Opening

Closing dilation followed by erosion, denoted smooth contour fuse narrow breaks and long thin gulfs eliminate small holes fill gaps in the contour 31

Closing 32

Closing 33

34 Closing

35 Properties Opening (i) A  B is a subset (subimage) of A (ii) If C is a subset of D, then C  B is a subset of D  B (iii) (A  B)  B = A  B Closing (i) A is a subset (subimage) of A  B (ii) If C is a subset of D, then C  B is a subset of D  B (iii) (A  B)  B = A  B Note: repeated openings/closings has no effect!

Duality Opening and closing are dual with respect to complementation and reflection 36

37

38

Useful: open & close 39

Application: filtering 40

Hit-or-Miss Transformation ⊛ (HMT) find location of one shape among a set of shapes ”template matching composite SE: object part (B1) and background part (B2) does B1 fits the object while, simultaneously, B2 misses the object, i.e., fits the background? 41

42 Hit-or-Miss Transformation

43 Boundary Extraction

44 Example

45 Region Filling

46 Example

End here 47

48 Extraction of connected components

49 Example

Convex hull A set A is is said to be convex if the straight line segment joining any two points in A lies entirely within A. 50

51

52 Thinning

53 Thickening

54 Skeletons

55

56 Pruning H = 3x3 structuring element of 1’s

57

58

59

60

61 5 basic structuring elements