Mathematical Morphology Lecture 14 Course book reading: GW 9.1-4 Lucia Ballerini Digital Image Processing.

Slides:



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

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.
Morphology – Chapter 10. Binary image processing Often it is advantageous to reduce an image from gray level (multiple bits/pixel) to binary (1 bit/pixel)
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.
Introduction to Computer Vision
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)
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.
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 CSC331 Morphological image processing 1.
Lecture Two for teens.
Digital Image Processing
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh Mostafa Mahdijo Mostafa Mahdijo ( J.Shanbehzadeh.
Digital Image Processing CSC331 Morphological image processing 1.
Morphological Image Processing การทำงานกับรูปภาพด้วยวิธีมอร์โฟโลจิคัล
CS654: Digital Image Analysis
Mathematical Morphology
References Books: Chapter 11, Image Processing, Analysis, and Machine Vision, Sonka et al Chapter 9, Digital Image Processing, Gonzalez & Woods.
Morphological Filtering
CS654: Digital Image Analysis
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
EE 4780 Morphological Image Processing. Bahadir K. Gunturk2 Example Two semiconductor wafer images are given. You are supposed to determine the defects.
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
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.
Morphology Morphology deals with form and structure Mathematical morphology is a tool for extracting image components useful in: –representation and description.
Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.
Digital Image Processing, Spring ECES 682 Digital Image Processing Week 8 Oleh Tretiak ECE Department Drexel University.
Morphological Image Processing (Chapter 9) CSC 446 Lecturer: Nada ALZaben.
Morphological Image Processing
Lecture 11+x+1 Chapter 9 Morphological Image Processing.
Mathematical Morphology
Digital Image Processing CP-7008 Lecture # 09 Morphological Image Processing Fall 2011.
CSE 554 Lecture 1: Binary Pictures
Computer and Robot Vision I
HIT and MISS.
Introduction to Morphological Operators
CS Digital Image Processing Lecture 5
Blending recap Visible seams – edges that should not exist, should be avoided. People are fairly insensitive to uniform intensity shifts or gradual intensity.
Morphological Operation
Morphological Image Processing
ECE 692 – Advanced Topics in Computer Vision
Digital Image Processing Lecture 14: Morphology
CS654: Digital Image Analysis
Presentation transcript:

Mathematical Morphology Lecture 14 Course book reading: GW Lucia Ballerini Digital Image Processing

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

Set theory A is a set in Z 2 a=(a 1,a 2 ) is an element in A: a  A a=(a 1,a 2 ) is not an element in A: a  A empty set:  set specified using { }, e.g., C={w|w=-d, for d  D} every element in A is also in B (subset): A  B

Set theory union of A and B: C=A  B={c|c  A or c  B} intersection of A and B: C=A  B={c|c  A and c  B} disjoint/mutually exclusive: A  B=  ABAB ABAB

Set theory complement of A: A C ={w|w  A} difference of A and B: A-B={w|w  A,w  B}=A  B C ACAC A-B

Set theory reflection of A: Â={w|w=-a, for a  A} translation of A by a point z=(z 1,z 2 ): (A) z ={c|c=a+c, for a  A} Â (A) z

Logical operations ► pixelwise combination of images ► AND, OR, NOT pq p AND q (p  q, p  q) p OR q (p+q, p  q) NOT p (p,  p)

AB NOT AA AND B A OR BA XOR B

Structuring element (SE) ► small set to probe the image under study ► for each SE, define origo  SE in point p: origo coincides with p ► 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 pixels in output image if check is: SE fits

How to describe SE many different ways! information needed: position of origo for SE positions of elements belonging to SE line segment pair of points (separated by one pixel) line segment (origo is not in SE) origo line segment (origo is not in SE)

Basic morphological operations ► erosion ► dilation ► combine to  opening  closening keep general shape but smooth with respect to object background

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

Erosion SE=

Erosion

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

Dilation SE=

Dilation

notation if SE is symmetric with respect to its origin (almost) only symmetric SEs in GW!!

Duality erosion and dilation are dual with respect to complementation and reflection note! the operations are not self dual

A A⊖BA⊖B(A ⊖ B) C ACAC AC⊕BAC⊕B

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

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

input: squares of size 1x1, 3x3, 5x5, 7x7, 9x9, and 15x15 pixels erosion: SE=square of size 13x13 dilation: SE=square of size 13x13

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

Opening B= A A⊖BA⊖B A∘BA∘B

Opening A A⊖BA⊖B A∘BA∘B

Opening: roll ball(=SE) inside object see B as a ”rolling ball” boundary of A ∘ B = points in B that reaches farthest into A when B is rolled inside A

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

Closing B= A A⊕BA⊕B  A  B

Closing B= A A⊕BA⊕B  A  B

Closing: roll ball(=SE) outside object see B as a ”rolling ball” boundary of A  B = points in B that reaches farthest into A when B is rolled outside A

Properties ► opening  A ∘ B subset/image of A  C  D  C ∘ B  D ∘ B  (A ∘ B) ∘ B= A ∘ B ► closing  A subset/image of A  B  C  D  C  B  D  B  (A  B)  B= A  B Note: idempotent  repeated openings/closings has no effect!

Duality opening and closing are dual with respect to complementation and reflection

A A∘BA∘B(A ∘ B) C ACBACB ACAC

Uselful: open & close A opening of A  removal of small protrusions, thin connections, … closing of A  removal of holes

Application: filtering 1.erode A ⊖ B 2. dilate (A ⊖ B)  B= A ∘ B 4. erode ((A ∘ B)  B) ⊖ B= (A ∘ B)  B 3. dilate (A ∘ B)  B

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

A=X  Y  Z Y X Z WW-X A⊖XA⊖X A C ⊖ (W-X) A ⊛ X=(A ⊖B 1 )  (A c ⊖ B 2 )

Hit-or-Miss Transformation ⊛ (HMT) find location of one shape among a set of shapes WW-X B=(B 1,B 2 ) B 1 =X B 2 =W-X

use HMT endpoints isolated points B1B1 B2B2 B1B1 B2B2 B2B2 B2B2 B2B2