Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP9 Region-Based Segmentation Miguel Tavares.

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.
Clustering & image segmentation Goal::Identify groups of pixels that go together Segmentation.
Image Segmentation Image segmentation (segmentace obrazu) –division or separation of the image into segments (connected regions) of similar properties.
Lecture 07 Segmentation Lecture 07 Segmentation Mata kuliah: T Computer Vision Tahun: 2010.
電腦視覺 Computer and Robot Vision I Chapter2: Binary Machine Vision: Thresholding and Segmentation Instructor: Shih-Shinh Huang 1.
Chapter 9: Morphological Image Processing
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
Image Segmentation Selim Aksoy Department of Computer Engineering Bilkent University
Segmentation and Region Detection Defining regions in an image.
Content Based Image Retrieval
Biomedical Image Analysis Rangaraj M. Rangayyan Ch. 5 Detection of Regions of Interest: Sections , Presentation March 3rd 2005 Jukka Parviainen.
EE 7730 Image Segmentation.
Thresholding Otsu’s Thresholding Method Threshold Detection Methods Optimal Thresholding Multi-Spectral Thresholding 6.2. Edge-based.
Chapter 10 Image Segmentation.
研究專題研究專題 老師:賴薇如教授學生:吳家豪 學號: Outline Background of Image Processing Explain to The Algorithm of Image Processing Experiments Conclusion References.
Segmentation Divide the image into segments. Each segment:
Chapter 10 Image Segmentation.
The Segmentation Problem
CS292 Computational Vision and Language Segmentation and Region Detection.
Thresholding Thresholding is usually the first step in any segmentation approach We have talked about simple single value thresholding already Single value.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP3 Digital Images Miguel Tavares Coimbra.
Xiaojiang Ling CSE 668, Animate Vision Principles for 3D Image Sequences CSE Department, SUNY Buffalo
Digital Image Processing CSC331
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
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.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP8 Segmentation Miguel Tavares Coimbra.
Chapter 10 Image Segmentation.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
Chapter 4 Image Segmentation
G52IVG, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
EECS 274 Computer Vision Segmentation by Clustering II.
Chapter 3 cont’d. Binary Image Analysis. Binary image morphology (nonlinear image processing)
Segmentation: Region Based Methods Region-based methods –iterative methods based on region merging and/or splitting based on the degree of similarity of.
主講人 : 張緯德 1.  Image segmentation ◦ ex: edge-based, region-based  Image representation ◦ ex: Chain code, polygonal approximation signatures, skeletons.
CS654: Digital Image Analysis
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP14 Pattern Recognition Miguel Tavares.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
Miguel Tavares Coimbra
Introduction Segmentation plays an important part in computer vision and image processing applications. Its goal is to find regions that represent objects.
Mathematical Morphology
Miguel Tavares Coimbra
References Books: Chapter 11, Image Processing, Analysis, and Machine Vision, Sonka et al Chapter 9, Digital Image Processing, Gonzalez & Woods.
Digital Image Processing
CS654: Digital Image Analysis
Machine Vision ENT 273 Regions and Segmentation in Images Hema C.R. Lecture 4.
November 5, 2013Computer Vision Lecture 15: Region Detection 1 Basic Steps for Filtering in the Frequency Domain.
Region Detection Defining regions of an image Introduction All pixels belong to a region Object Part of object Background Find region Constituent pixels.
Morphological Image Processing Robotics. 2/22/2016Introduction to Machine Vision Remember from Lecture 12: GRAY LEVEL THRESHOLDING Objects Set threshold.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP10 Advanced Segmentation Miguel Tavares.
Image Segmentation Nitin Rane. Image Segmentation Introduction Thresholding Region Splitting Region Labeling Statistical Region Description Application.
Machine Vision ENT 273 Hema C.R. Binary Image Processing Lecture 3.
BYST Seg-1 DIP - WS2002: Segmentation Digital Image Processing Image Segmentation Bundit Thipakorn, Ph.D. Computer Engineering Department.
Color Image Segmentation Mentor : Dr. Rajeev Srivastava Students: Achit Kumar Ojha Aseem Kumar Akshay Tyagi.
Lecture z Chapter 10: Image Segmentation. Segmentation approaches 1) Gradient based: How different are pixels? 2) Thresholding: Converts grey-level images.
Miguel Tavares Coimbra
Machine Vision ENT 273 Lecture 4 Hema C.R.
Miguel Tavares Coimbra
Miguel Tavares Coimbra
Image Segmentation.
Computer Vision Lecture 13: Image Segmentation III
Computer Vision Lecture 12: Image Segmentation II
Digital Image Processing
Miguel Tavares Coimbra
Miguel Tavares Coimbra
A Block Based MAP Segmentation for Image Compression
Miguel Tavares Coimbra
CS654: Digital Image Analysis
Presentation transcript:

Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 14/15 – TP9 Region-Based Segmentation Miguel Tavares Coimbra

VC 14/15 - TP9 - Region-Based Segmentation Outline Region-based Segmentation Morphological Filters

VC 14/15 - TP9 - Region-Based Segmentation Topic: Region-based Segmentation Region-based Segmentation Morphological Filters

VC 14/15 - TP9 - Region-Based Segmentation Why Region-Based Segmentation? Segmentation –Edge detection and Thresholding not always effective. Homogenous regions –Region-based segmentation. –Effective in noisy images.

VC 14/15 - TP9 - Region-Based Segmentation Definitions Based on sets. Each image R is a set of regions R i. –Every pixel belongs to one region. –One pixel can only belong to a single region. R1R1 R3R3 R2R2 R4R4 R6R6 R5R5 R7R7

VC 14/15 - TP9 - Region-Based Segmentation R1R1 R3R3 R2R2 R4R4 R6R6 R5R5 R7R7

Basic Formulation Let R represent the entire image region. Segmentation partitions R into n subregions, R 1, R 2,..., R n, such that: a) b) c) d) e) a)Every pixel must be in a region b)Points in a region must be connected. c)Regions must be disjoint. d)All pixels in a region satisfy specific properties. e)Different regions have different properties.

VC 14/15 - TP9 - Region-Based Segmentation How do we form regions? Region Growing Region Merging Region Splitting Split and Merge Watershed... What a computer sees

VC 14/15 - TP9 - Region-Based Segmentation Region growing Groups pixels into larger regions. Starts with a seed region. Grows region by merging neighboring pixels. Iterative process –How to start? –How to iterate? –When to stop? Initial Regions Iterations Stop Condition Finish

VC 14/15 - TP9 - Region-Based Segmentation

Region merging Algorithm –Divide image into an initial set of regions. One region per pixel. –Define a similarity criteria for merging regions. –Merge similar regions. –Repeat previous step until no more merge operations are possible.

VC 14/15 - TP9 - Region-Based Segmentation Similarity Criteria Homogeneity of regions is used as the main segmentation criterion in region growing. –gray level –color, texture –shape –model –etc. Choice of criteria affects segmentation results dramatically!

VC 14/15 - TP9 - Region-Based Segmentation Gray-Level Criteria Comparing to Original Seed Pixel –Very sensitive to choice of seed point. Comparing to Neighbor in Region –Allows gradual changes in the region. –Can cause significant drift. Comparing to Region Statistics –Acts as a drift dampener. Other possibilities!

VC 14/15 - TP9 - Region-Based Segmentation Region splitting Algorithm –One initial set that includes the whole image. –Similarity criteria. –Iteratively split regions into sub-regions. –Stop when no more splittings are possible. R1R1 R1R1 R2R2 R3R3 R4R4 R1R1 R2R2 R3R3 R4R4 R6R6 R5R5 R7R7 R1R1 R3R3 R2R2 R4R4 R6R6 R5R5 R7R7

VC 14/15 - TP9 - Region-Based Segmentation [Machine Vision; David Vernon]

VC 14/15 - TP9 - Region-Based Segmentation Split and Merge Combination of both algorithms. Can handle a larger variety of shapes. –Simply apply previous algorithms consecutively.

VC 14/15 - TP9 - Region-Based Segmentation The Watershed Transform Geographical inspiration. –Shed water over rugged terrain. –Each lake corresponds to a region. Characteristics –Computationally complex. –Great flexibility in segmentation. –Risk of over-segmentation.

VC 14/15 - TP9 - Region-Based Segmentation The Drainage Analogy Two points are in the same region if they drain to the same point. Courtesy of Dr. Peter Yim at National Institutes of Health, Bethesda, MD

VC 14/15 - TP9 - Region-Based Segmentation The Immersion Analogy

VC 14/15 - TP9 - Region-Based Segmentation [Milan Sonka, Vaclav Hlavac, and Roger Boyle]

VC 14/15 - TP9 - Region-Based Segmentation Over-Segmentation Over-segmentation. –Raw watershed segmentation produces a severely oversegmented image with hundreds or thousands of catchment basins. Post-Processing. –Region merging. –Edge information. –Etc.

VC 14/15 - TP9 - Region-Based Segmentation Topic: Morphological Filters Region-based Segmentation Morphological Filters

VC 14/15 - TP9 - Region-Based Segmentation Mathematical Morphology Provides a mathematical description of geometric structures. Based on sets. –Groups of pixels which define an image region. What is this used for? –Binary images. –Can be used for post- processing segmentation results! Core techniques –Erosion, Dilation. –Open, Close.

VC 14/15 - TP9 - Region-Based Segmentation Tumor Segmentation using Morphologic Filtering

VC 14/15 - TP9 - Region-Based Segmentation Dilation, Erosion Two sets: –Image –Morphological kernel. Dilation (D) –Union of the kernel with the image set. –Increases resulting area. Erosion (E) –Intersection. –Decreases resulting area.

VC 14/15 - TP9 - Region-Based Segmentation Dilation Example using a 3x3 morphological kernel

VC 14/15 - TP9 - Region-Based Segmentation Erosion Example using a 3x3 morphological kernel

VC 14/15 - TP9 - Region-Based Segmentation Opening, Closing Opening –Erosion, followed by dilation. –Less destructive than an erosion. –Adapts image shape to kernel shape. Closing –Dilation, followed by erosion. –Less destructive than a dilation. –Tends to close shape irregularities.

VC 14/15 - TP9 - Region-Based Segmentation Opening Example using a 3x3 morphological kernel

VC 14/15 - TP9 - Region-Based Segmentation Closing Example using a 3x3 morphological kernel

VC 14/15 - TP9 - Region-Based Segmentation Core morphological operators Dilation Erosion Closing Opening

VC 14/15 - TP9 - Region-Based Segmentation Example: Opening Tresholding Opening

VC 14/15 - TP9 - Region-Based Segmentation Example: Closing Closing

VC 14/15 - TP9 - Region-Based Segmentation Connected Component Analysis Define ‘connected’. –4 neighbors. –8 neighbors. Search the image for seed points. Recursively obtain all connected points of the seeded region.

VC 14/15 - TP9 - Region-Based Segmentation Resources Gonzalez & Woods - Chapter 7 and 8