Digital Image Processing Lecture 19: Segmentation: Morphological Watersheds Prof. Charlene Tsai.

Slides:



Advertisements
Similar presentations
Segmentation by Morphological Watersheds
Advertisements

Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
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 Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
DIGITAL IMAGE PROCESSING
THE WATERSHED SEGMENTATION 1 NADINE GARAISY. GENERAL DEFINITION 2 A drainage basin or watershed is an extent or an area of land where surface water from.
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.
EE 7730 Image Segmentation.
Chapter 9 Morphological Image Processing. Preview Morphology: denotes a branch of biology that deals with the form and structure of animals and planets.
Chapter 10 Image Segmentation.
Digital Image Processing: Revision
Chapter 10 Image Segmentation.
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)
Cross-section topology Michel Couprie Contributors: G. Bertrand M. Couprie J.C. Everat (PhD) F.N. Bezerra (PhD)
FEATURE EXTRACTION FOR JAVA CHARACTER RECOGNITION Rudy Adipranata, Liliana, Meiliana Indrawijaya, Gregorius Satia Budhi Informatics Department, Petra Christian.
Chapter 3 Binary Image Analysis. Types of images ► Digital image = I[r][c] is discrete for I, r, and c.  B[r][c] = binary image - range of I is in {0,1}
Chapter 10, Part IV.  Definitions: ◦ Let M 1, M 2 ….M R be sets denoting the coordinates of the points in the regional. ◦ Let C(M i ) be a set denoting.
Lecture 5. Morphological Image Processing. 10/6/20152 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
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.
Gianni Ramponi University of Trieste Images © 2002 Gonzalez & Woods Digital Image Processing Chapter 9 Morphological Image.
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
Chapter 10 Image Segmentation.
Chapter 4 Image Segmentation
EECS 274 Computer Vision Segmentation by Clustering II.
Image Processing Segmentation 1.Process of partitioning a digital image into multiple segments (sets of pixels). 2. Clustering pixels into salient image.
Pixel Connectivity Pixel connectivity is a central concept of both edge- and region- based approaches to segmentation The notation of pixel connectivity.
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Morphological Image Processing การทำงานกับรูปภาพด้วยวิธีมอร์โฟโลจิคัล
Mathematical Morphology
References Books: Chapter 11, Image Processing, Analysis, and Machine Vision, Sonka et al Chapter 9, Digital Image Processing, Gonzalez & Woods.
图像处理技术讲座(11) Digital Image Processing (11) 灰度的数学形态学(3) Mathematical morphology in gray scale (3) 顾 力栩 上海交通大学 计算机系
EE4328, Section 005 Introduction to Digital Image Processing Image Segmentation Zhou Wang Dept. of Electrical Engineering The Univ. of Texas at Arlington.
By Dr. Rajeev Srivastava Image Segmentation By Dr. Rajeev Srivastava Image Segmentation.
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
Region Detection Defining regions of an image Introduction All pixels belong to a region Object Part of object Background Find region Constituent pixels.
DIGITAL IMAGE PROCESSING
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Morphological Image Processing Robotics. 2/22/2016Introduction to Machine Vision Remember from Lecture 12: GRAY LEVEL THRESHOLDING Objects Set threshold.
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
BYST Morp-1 DIP - WS2002: Morphology Digital Image Processing Morphological Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department.
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.
NLP&CC 2012 报告人:许灿辉 单 位:北京大学计算机科学技术研究所 Integration of Text Information and Graphic Composite for PDF Document Analysis 基于复合图文整合的 PDF 文档分析 Integration of.
Lecture z Chapter 10: Image Segmentation. Segmentation approaches 1) Gradient based: How different are pixels? 2) Thresholding: Converts grey-level images.
Application 2 Detect Filarial Worms SourceBTTRemove NoisesThreshold Skeleton Eliminate short structures ReconstructionFinal result.
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.
Chapter 10 Image Segmentation
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
COMP 9517 Computer Vision Segmentation 7/2/2018 COMP 9517 S2, 2017.
Maximally Stable Extremal Regions
CS Digital Image Processing Lecture 5
Richard Anderson Lecture 13 Divide and Conquer
Watershed Segmentation
Maximally Stable Extremal Regions
Quasi-linear algorithms for the topological watershed
A topological approach to watersheds
Digital Image Processing Lecture 15: Morphological Algorithms
Digital Image Processing Lecture 21: Principal Components for Description Prof. Charlene Tsai *Chapter 11.4 of Gonzalez.
ECE 692 – Advanced Topics in Computer Vision
Digital Image Processing Lecture 14: Morphology
CS654: Digital Image Analysis
Morphological Operators
Presentation transcript:

Digital Image Processing Lecture 19: Segmentation: Morphological Watersheds Prof. Charlene Tsai

2 Introduction Review: We have done  Detection of discontinuities  Thresholding  Region processing Morphological watersheds embodies properties from other 3 approaches, therefore more superior.

3 Basic Concept Water level a c c b Visualize the image in 3D topography ( 地勢 )  2 spatial coordinates + graylevel 3 types of points:  (a) Points in a regional minimum  (b) Points on hills  (c) Points on watershed lines How to differentiate (b) & (c)?

4 Illustration Objective: finding the watershed lines  Construction of dam to prevent catchment basins from merging Original imageTopographic view Catchment basins Watershed lines

5 (con’d) Punch a hole in each regional minimal for water to fill up the catchment basin.

6 (con’d) Water start merging, so shorter dam constructed Longer dam constructed Final result

7 Aside Watershed algorithm is often applied to the gradient of an image, rather than to the image itself.  Regional minima of catchment basins correlate nicely with the small value of the gradient corresponding the objects of interest  Boundaries are highlighted as the watershed lines.

8 Watershed Segmentation Algorithm Starting with the notation:  g(x,y) is the image with min and max the lowest and highest graylevel, respectively  M 1, M 2, … M R be the regional minima  T[n]={ (s,t) | g(s,t)<n }  C n (M i ) is the set of (s,t) in the catchment basin of M i that are flooded at stage n.  C[n-1] is a subset of C[n] and C[n] is subset of T[n]. So it implies that  Each connected component (CC) of C[n-1] is contained in exactly one CC of T[n].

9 Flooding Initialization: C[min+1]=T[min+1] Obtain C[n] from C[n-1] (recursively):  Let Q be the set of CC in T[n], and  3 possibilities for : (a) empty (b) containing one CC of C[n-1] (c) containing more than one CC of C[n-1]

10 Constructing C[n] Scenario (a) [empty]: a new minimum is found  q is incorporated into C[n-1] to form C[n] Scenario (b) [containing 1 CC]: q lies in the catchment basin of some regional minimum  q is incorporated into C[n-1] to form C[n] Scenario (c) [containing 1+ CC], part of the watershed line is encountered.  A dam must be build within q to prevent overflow between the catchment basins.

11 Dam Construction of height max+1 In C[n-1] q Scenario (c)

12 B (con’d) Dilate each CC of by the structuring element B, subject to 2 conditions:  Dilation constrained to q (origin of B located in q)  Dilation cannot cause merging of CC’s being dilated Change the height to max+1

13 Example Gradient image Segmente d image

14 Exercise Give a step-by-step implementation of the dam building procedure for the one- dimensional gray-level cross section shown. Show a drawing of the cross section at each step, showing “water” levels and dams constructed. g(x) x

15 Step1 (n=1): T[1]=? C[1]=? Q[1]=?

16 Step2 (n=2): T[2]=? Q[2]=? C[2]=?

17 Step3 (n=3,4): T[3]=? Q[3]=? C[3]=? C[4]=?

18 Step5 (n=5): T[5]=? Q[5]=? C[5]=?

19 Dam Construction: