Image Processing and Analysis (ImagePandA)

Slides:



Advertisements
Similar presentations
Table of Contents 9.5 Some Basic Morphological Algorithm
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.
DIGITAL IMAGE PROCESSING
Morphological Image Processing Md. Rokanujjaman Assistant Professor Dept of Computer Science and Engineering Rajshahi University.
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.
Digital Image Processing Homework 4 TA. Yu-Lun Liu VC Lab. Dec.04, 2007.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Morphological Image Processing
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)
Digital Image Processing 3rd Edition
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 Processing
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.
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.
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.
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
DIGITAL IMAGE PROCESSING
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,
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.
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.
7.1 Morfologi untuk Pengolahan Citra : Thickening, Skeleton
Digital Image Processing Lecture 15: Morphological Algorithms April 27, 2005 Prof. Charlene Tsai.
Mathematical Morphology
Digital Image Processing CP-7008 Lecture # 09 Morphological Image Processing Fall 2011.
CSE 554 Lecture 1: Binary Pictures
Morphological Operations
CS Digital Image Processing Lecture 5
Medical Images Edge Detection via Neutrosophic Mathematical Morphology
Binary Image processing بهمن 92
Closing One of the important morphological operations applied to either grayscale or binary images is Closing. It is derived from the fundamental operations.
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
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:

Image Processing and Analysis (ImagePandA) 7 – Morphological Image Processing Christoph Lampert / Chris Wojtan Based on content from “Digital Image Processing” by Gonzalez and Woods TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:

Outline Preliminaries Erosion and Dilation Opening and Closing The Hit-or-Miss Transformation Some Basic Morphological Algorithms Gray-Scale Morphology

Outline Preliminaries Erosion and Dilation Opening and Closing The Hit-or-Miss Transformation Some Basic Morphological Algorithms Gray-Scale Morphology

Preliminaries Set theory 𝐵 = 𝑤 𝑤=−𝑏, for 𝑏∈𝐵 Reflection 𝐵 𝑧 = 𝑐 𝑐=𝑏+𝑧, for 𝑏∈𝐵 Translation

Preliminaries Set theory Structuring elements (SEs) Small sets or subimages used to probe an image SEs are padded to rectangular images

Outline Preliminaries Erosion and Dilation Opening and Closing The Hit-or-Miss Transformation Some Basic Morphological Algorithms Gray-Scale Morphology

Erosion and Dilation Erosion 𝐴⊖𝐵={𝑧| 𝐵 𝑧 ⊆𝐴} 𝐴⊖𝐵={𝑧| 𝐵 𝑧 ∩ 𝐴 𝑐 =∅}

Erosion and Dilation Erosion 𝐴⊖𝐵={𝑧| 𝐵 𝑧 ⊆𝐴} 𝐴⊖𝐵={𝑧| 𝐵 𝑧 ∩ 𝐴 𝑐 =∅}

Erosion and Dilation Erosion 𝐴⊖𝐵={𝑧| 𝐵 𝑧 ⊆𝐴} 𝐴⊖𝐵={𝑧| 𝐵 𝑧 ∩ 𝐴 𝑐 =∅}

Erosion and Dilation 𝐴⊕𝐵={𝑧| 𝐵 𝑧 ∩𝐴≠∅} Dilation

Erosion and Dilation 𝐴⊕𝐵={𝑧| 𝐵 𝑧 ∩𝐴≠∅} Dilation

Erosion and Dilation Duality Erosion is just like dilating the compliment Dilation is just like eroding the compliment (𝐴⊖𝐵) 𝑐 = 𝐴 𝑐 ⊕ 𝐵 (𝐴⊕𝐵) 𝑐 = 𝐴 𝑐 ⊖ 𝐵

Outline Preliminaries Erosion and Dilation Opening and Closing The Hit-or-Miss Transformation Some Basic Morphological Algorithms Gray-Scale Morphology

Opening and Closing Opening A∘𝐵= 𝐴⊖𝐵 ⊕𝐵 Closing A∘𝐵= 𝐴⊕𝐵 ⊖𝐵

Opening and Closing Opening A∘𝐵= 𝐴⊖𝐵 ⊕𝐵 Closing A∘𝐵= 𝐴⊕𝐵 ⊖𝐵

Opening and Closing

Opening and Closing

Outline Preliminaries Erosion and Dilation Opening and Closing The Hit-or-Miss Transformation Some Basic Morphological Algorithms Gray-Scale Morphology

The Hit-or-Miss Transformation Given disjoint structuring elements 𝐶 and 𝐷 𝐴⊛𝐵= 𝐴⊖𝐶 ∩( 𝐴 𝑐 ⊖𝐷) Point 𝑧 belongs to the hit-or-miss transform output if:  𝐶 translated to 𝑧 fits in 𝐴, and 𝐷 translated to 𝑧 misses 𝐴 (fits the background of 𝐴) Result is the set of positions where the first structuring element fits in the foreground of the input image, and the second structuring element misses it completely. It is used to detect patterns or shapes

The Hit-or-Miss Transformation

Outline Preliminaries Erosion and Dilation Opening and Closing The Hit-or-Miss Transformation Some Basic Morphological Algorithms Gray-Scale Morphology

Boundary Extraction 𝛽 𝐴 =𝐴−(𝐴⊖𝐵)

Boundary Extraction 𝛽 𝐴 =𝐴−(𝐴⊖𝐵)

Hole Filling Pick a pixel inside of a hole, call it 𝑋 0 Iterate 𝑋 𝑘 =( 𝑋 𝑘−1 ⊕𝐵)∩ 𝐴 𝑐

Hole Filling Pick a pixel inside of a hole, call it 𝑋 0 Iterate 𝑋 𝑘 =( 𝑋 𝑘−1 ⊕𝐵)∩ 𝐴 𝑐

Extracting Connected Components Pick a pixel inside of a shape, call it 𝑋 0 Iterate 𝑋 𝑘 =( 𝑋 𝑘−1 ⊕𝐵)∩𝐴

Thinning 𝐴⊗𝐵=𝐴− 𝐴⊛𝐵 =𝐴∩ (𝐴⊛𝐵) 𝑐 Repeat until no change

Thickening Morphological dual of thinning 𝐴⊙𝐵=𝐴∪ 𝐴⊛𝐵 Repeat until no change More common approach: Thin the background 𝐴 𝑐 and then compliment the result

Thickening

Pruning

Geodesic Dilation

Geodesic Erosion

Morphological Reconstruction

Morphological Reconstruction

Border clearing Find all boundary pixels in A Morphologically reconstruct all of them Subtract those from the original

Border clearing

Outline Preliminaries Erosion and Dilation Opening and Closing The Hit-or-Miss Transformation Some Basic Morphological Algorithms Gray-Scale Morphology

Gray-Scale Morphology

Gray-Scale Morphology Erosion 𝑓⊖𝑏 𝑥,𝑦 = min 𝑠,𝑡 ∈𝑏 𝑓(𝑥+𝑠,𝑦+𝑡) Dilation 𝑓⨁𝑏 𝑥,𝑦 = max 𝑠,𝑡 ∈𝑏 𝑓(𝑥−𝑠,𝑦−𝑡)

Gray-Scale Morphology

Gray-Scale Morphology Erosion 𝑓⊖𝑏 𝑥,𝑦 = min 𝑠,𝑡 ∈𝑏 𝑓(𝑥+𝑠,𝑦+𝑡) Dilation 𝑓⨁𝑏 𝑥,𝑦 = max 𝑠,𝑡 ∈𝑏 𝑓(𝑥−𝑠,𝑦−𝑡) Opening f∘𝑏= 𝑓⊖𝑏 ⊕𝑏 Closing f∘𝑏= 𝑓⊕𝑏 ⊖𝑏

Gray-Scale Morphology

Gray-Scale Morphology

Gray-Scale Morphology

Gray-Scale Morphology Mostly analogous to binary morphology Lots of potential, but lots of heuristics/hacks Not easy to find general tricks that work on all problems

Gray-Scale Morphology