Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.

Slides:



Advertisements
Similar presentations
Gray-Scale Morphological Filtering
Advertisements

In form and in feature, face and limb, I grew so like my brother
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.
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
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.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Morphological Image Processing
图像处理技术讲座(10) Digital Image Processing (10) 灰度的数学形态学(2) Mathematical morphology in gray scale (2) 顾 力栩 上海交通大学 计算机系
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.
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.
Morphological Image Processing การทำงานกับรูปภาพด้วยวิธีมอร์โฟโลจิคัล
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.
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.
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
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.
HIT and MISS.
Morphological Operations
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
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:

Lecture(s) 3-4. Morphological Image Processing

3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals and plants ► ► Morphological image processing is used to extract image components for representation and description of region shape, such as boundaries, skeletons, and the convex hull

3/13/20163 Introduction

4 Preliminaries (1) ► ► Reflection ► ► Translation

3/13/20165 Example: Reflection and Translation

3/13/20166 Preliminaries (2) ► ► Structure elements (SE) Small sets or sub-images used to probe thăm dò an image under study for properties of interest

3/13/20167 Logic operations involving binary images

3/13/20168

9 Examples: Structuring Elements (1) origin

3/13/ Examples: Structuring Elements (2) Accommodate the entire structuring elements when its origin is on the border of the original set A Origin of B visits every element of A At each location of the origin of B, if B is completely contained in A, then the location is a member of the new set, otherwise it is not a member of the new set.

3/13/ Erosion

3/13/ Example of Erosion (1)

3/13/ Example of Erosion (2)

3/13/ Dilation

3/13/ Examples of Dilation (1)

3/13/ Examples of Dilation (2)

3/13/ Duality ► ► Erosion and dilation are duals of each other with respect to set complementation and reflection

3/13/ Duality ► ► Erosion and dilation are duals of each other with respect to set complementation and reflection

3/13/ Duality ► ► Erosion and dilation are duals of each other with respect to set complementation and reflection

3/13/ Opening and Closing ► ► Opening generally smoothes the contour of an object, breaks narrow isthmuses eo, and eliminates thin protrusions lồi lõm ► ► Closing tends to smooth sections of contours but it generates fuses narrow breaks and long thin gulfs, eliminates small holes, and fills gaps in the contour

3/13/ Opening and Closing

3/13/ Opening

3/13/ Example: Opening

3/13/ Example: Opening

3/13/ Example: Closing

3/13/201626

3/13/ Duality of Opening and Closing ► ► Opening and closing are duals of each other with respect to set complementation and reflection

3/13/ The Properties of Opening and Closing ► ► Properties of Opening ► ► Properties of Closing

3/13/201629

3/13/201630

3/13/201631

3/13/201632

3/13/ The Hit-or-Miss Transformation

3/13/ Some Basic Morphological Algorithms (1) ► ► Boundary Extraction The boundary of a set A, can be obtained by first eroding A by B and then performing the set difference between A and its erosion.

3/13/ Example 1

3/13/ Example 2

3/13/ Some Basic Morphological Algorithms (2) ► ► Hole Filling A hole may be defined as a background region surrounded by a connected border of foreground pixels. Let A denote a set whose elements are 8-connected boundaries, each boundary enclosing a background region (i.e., a hole). Given a point in each hole, the objective is to fill all the holes with 1s.

3/13/ Some Basic Morphological Algorithms (2) ► ► Hole Filling 1. Forming an array X 0 of 0s (the same size as the array containing A), except the locations in X 0 corresponding to the given point in each hole, which we set to X k = (X k-1 + B) A c k=1,2,3,… Stop the iteration if X k = X k-1

3/13/ Example

3/13/201640

3/13/ Some Basic Morphological Algorithms (3) ► ► Extraction of Connected Components Central to many automated image analysis applications. Let A be a set containing one or more connected components, and form an array X 0 (of the same size as the array containing A) whose elements are 0s, except at each location known to correspond to a point in each connected component in A, which is set to 1.

3/13/ Some Basic Morphological Algorithms (3) ► ► Extraction of Connected Components Central to many automated image analysis applications.

3/13/201643

3/13/201644

3/13/ Some Basic Morphological Algorithms (4) ► ► Convex Hull A set A is said to be convex if the straight line segment joining any two points in A lies entirely within A. The convex hull H or of an arbitrary set S is the smallest convex set containing S.

3/13/ Some Basic Morphological Algorithms (4) ► ► Convex Hull

3/13/201647

3/13/201648

3/13/ Some Basic Morphological Algorithms (5) ► ► Thinning The thinning of a set A by a structuring element B, defined

3/13/ Some Basic Morphological Algorithms (5) ► ► A more useful expression for thinning A symmetrically is based on a sequence of structuring elements:

3/13/201651

3/13/ Some Basic Morphological Algorithms (6) ► ► Thickening:

3/13/ Some Basic Morphological Algorithms (6)

3/13/ Some Basic Morphological Algorithms (7) ► ► Skeletons

3/13/ Some Basic Morphological Algorithms (7)

3/13/ Some Basic Morphological Algorithms (7)

3/13/201657

3/13/201658

3/13/ Some Basic Morphological Algorithms (7)

3/13/201660

3/13/ Some Basic Morphological Algorithms (8) ► ► Pruning

3/13/ Pruning: Example

3/13/ Pruning: Example

3/13/ Pruning: Example

3/13/ Pruning: Example

3/13/ Pruning: Example

3/13/ Some Basic Morphological Algorithms (9) ► ► Morphological Reconstruction

3/13/ Morphological Reconstruction: Geodesic Dilation

3/13/201669

3/13/ Morphological Reconstruction: Geodesic Erosion

3/13/201671

3/13/ Morphological Reconstruction by Dilation

3/13/201673

3/13/ Morphological Reconstruction by Erosion

3/13/ Opening by Reconstruction

3/13/201676

3/13/ Filling Holes

3/13/201678

3/13/201679

3/13/ Border Clearing

3/13/201681

3/13/ Summary (1)

3/13/ Summary (2)

3/13/201684

3/13/201685

3/13/ Gray-Scale Morphology

3/13/ Gray-Scale Morphology: Erosion and Dilation by Flat Structuring

3/13/201688

3/13/ Gray-Scale Morphology: Erosion and Dilation by Nonflat Structuring

3/13/ Duality: Erosion and Dilation

3/13/ Opening and Closing

3/13/201692

3/13/ Properties of Gray-scale Opening

3/13/ Properties of Gray-scale Closing

3/13/201695

3/13/ Morphological Smoothing ► ► Opening suppresses bright details smaller than the specified SE, and closing suppresses dark details. ► ► Opening and closing are used often in combination as morphological filters for image smoothing and noise removal.

3/13/ Morphological Smoothing

3/13/ Morphological Gradient ► ► Dilation and erosion can be used in combination with image subtraction to obtain the morphological gradient of an image, denoted by g, ► ► The edges are enhanced and the contribution of the homogeneous areas are suppressed, thus producing a “derivative-like” (gradient) effect.

3/13/ Morphological Gradient

3/13/ Top-hat and Bottom-hat Transformations ► ► The top-hat transformation of a grayscale image f is defined as f minus its opening: ► ► The bottom-hat transformation of a grayscale image f is defined as its closing minus f:

3/13/ Top-hat and Bottom-hat Transformations ► ► One of the principal applications of these transformations is in removing objects from an image by using structuring element in the opening or closing operation

3/13/ Example of Using Top-hat Transformation in Segmentation

3/13/ Granulometry ► ► Granulometry deals with determining the size of distribution of particles in an image ► ► Opening operations of a particular size should have the most effect on regions of the input image that contain particles of similar size ► ► For each opening, the sum (surface area) of the pixel values in the opening is computed

3/13/ Example

3/13/

3/13/ Textual Segmentation ► ► Segmentation: the process of subdividing an image into regions.

3/13/ Textual Segmentation

3/13/ Gray-Scale Morphological Reconstruction (1) ► ► Let f and g denote the marker and mask image with the same size, respectively and f ≤ g. The geodesic dilation of size 1 of f with respect to g is defined as The geodesic dilation of size n of f with respect to g is defined as

3/13/ Gray-Scale Morphological Reconstruction (2) ► ► The geodesic erosion of size 1 of f with respect to g is defined as The geodesic erosion of size n of f with respect to g is defined as

3/13/ Gray-Scale Morphological Reconstruction (3) ► ► The morphological reconstruction by dilation of a gray- scale mask image g by a gray-scale marker image f, is defined as the geodesic dilation of f with respect to g, iterated until stability is reached, that is, The morphological reconstruction by erosion of g by f is defined as

3/13/ Gray-Scale Morphological Reconstruction (4) ► ► The opening by reconstruction of size n of an image f is defined as the reconstruction by dilation of f from the erosion of size n of f; that is, The closing by reconstruction of size n of an image f is defined as the reconstruction by erosion of f from the dilation of size n of f; that is,

3/13/

3/13/ Steps in the Example Opening by reconstruction of the original image using a horizontal line of size 1x71 pixels in the erosion operation Subtract the opening by reconstruction from original image Opening by reconstruction of the f’ using a vertical line of size 11x1 pixels Dilate f1 with a line SE of size 1x21, get f2.

3/13/ Steps in the Example Calculate the minimum between the dilated image f2 and and f’, get f By using f3 as a marker and the dilated image f2 as the mask,