Image Segmentation! Thresholding Watershed. Hodzic Ernad Seminar Computa9onal Intelligence

Similar documents
Image segmentation. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

EECS490: Digital Image Processing. Lecture #22

Image Analysis Image Segmentation (Basic Methods)

Region & edge based Segmentation

Today INF How did Andy Warhol get his inspiration? Edge linking (very briefly) Segmentation approaches

Structural Analysis of Aerial Photographs (HB47 Computer Vision: Assignment)

CS 490: Computer Vision Image Segmentation: Thresholding. Fall 2015 Dr. Michael J. Reale

REGION & EDGE BASED SEGMENTATION

ECG782: Multidimensional Digital Signal Processing

Ulrik Söderström 16 Feb Image Processing. Segmentation

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations II

Bioimage Informatics

Image Segmentation. Selim Aksoy. Bilkent University

Image Segmentation. Selim Aksoy. Bilkent University

Digital Image Analysis and Processing

Segmentation

ECEN 447 Digital Image Processing

Introduction to Medical Imaging (5XSA0) Module 5

Region-based Segmentation

Lecture 9: Hough Transform and Thresholding base Segmentation

Lecture: Segmentation I FMAN30: Medical Image Analysis. Anders Heyden

Segmentation

Chapter 10: Image Segmentation. Office room : 841

Operators-Based on Second Derivative double derivative Laplacian operator Laplacian Operator Laplacian Of Gaussian (LOG) Operator LOG

Image Segmentation Based on Watershed and Edge Detection Techniques

CITS 4402 Computer Vision

CSCI 599 Class Presenta/on. Zach Levine. Markov Chain Monte Carlo (MCMC) HMM Parameter Es/mates

Image Segmentation. Schedule. Jesus J Caban 11/2/10. Monday: Today: Image Segmentation Topic : Matting ( P. Bindu ) Assignment #3 distributed

Scale Invariant Feature Transform

Image Segmentation. Srikumar Ramalingam School of Computing University of Utah. Slides borrowed from Ross Whitaker

Segmentation Region-based processing. Feature extraction Gonzalez-Woods Chapt. 10 Pratt Chapt. 16 and 17

An Extended Fuzzy Logic Method for Watershed Ling Zhang 1, Ming Zhang 2,H.D. Cheng 2

Lecture 3 - Intensity transformation

Analysis of Binary Images

Segmentation algorithm for monochrome images generally are based on one of two basic properties of gray level values: discontinuity and similarity.

EE 701 ROBOT VISION. Segmentation

Image Segmentation Based on Height Maps

Line Segment Based Watershed Segmentation

Object Segmentation. Jacob D. Furst DePaul CTI

Scale Invariant Feature Transform

Digital Image Processing Lecture 7. Segmentation and labeling of objects. Methods for segmentation. Labeling, 2 different algorithms

EDGE BASED REGION GROWING

Image Enhancement: To improve the quality of images

Chapter 10 Image Segmentation. Yinghua He

Babu Madhav Institute of Information Technology Years Integrated M.Sc.(IT)(Semester - 7)

Lecture 6: Segmentation by Point Processing

Binary Image Processing. Introduction to Computer Vision CSE 152 Lecture 5

Image Segmentation. Segmentation is the process of partitioning an image into regions

Processing of binary images

Review on Different Segmentation Techniques For Lung Cancer CT Images

J. Magelin Mary Asst. Professor, Holy Cross College, Tiruchirappalli, India

Research Article Image Segmentation Using Gray-Scale Morphology and Marker-Controlled Watershed Transformation

Computer Vision. Image Segmentation. 10. Segmentation. Computer Engineering, Sejong University. Dongil Han

Chapter 3: Intensity Transformations and Spatial Filtering

EECS490: Digital Image Processing. Lecture #21

Morphological Technique in Medical Imaging for Human Brain Image Segmentation

Word Matching of handwritten scripts

Digital Image Procesing

C E N T E R A T H O U S T O N S C H O O L of H E A L T H I N F O R M A T I O N S C I E N C E S. Image Operations I

Graph based Image Segmentation using improved SLIC Superpixel algorithm

OCR For Handwritten Marathi Script

School of Computing University of Utah

Image Segmentation. Ross Whitaker SCI Institute, School of Computing University of Utah

WATERSHED, HIERARCHICAL SEGMENTATION AND WATERFALL ALGORITHM

Histogram and watershed based segmentation of color images

Digital Image Processing

Lecture 4: Spatial Domain Transformations

Novel Approaches of Image Segmentation for Water Bodies Extraction

Knowledge-driven morphological approaches for image segmentation and object detection

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,

RESTORATION OF DEGRADED DOCUMENTS USING IMAGE BINARIZATION TECHNIQUE

6. Object Identification L AK S H M O U. E D U

SEGMENTATION OF STROKE REGIONS FROM DWI AND ADC SEQUENCES USING A MODIFIED WATERSHED METHOD

Goal. The Challenge 9/29/08. Machine Learning Approaches to Biological Research: Bioimage Informa>cs and Beyond

Motivation. Gray Levels

Final Exam Schedule. Final exam has been scheduled. 12:30 pm 3:00 pm, May 7. Location: INNOVA It will cover all the topics discussed in class

Image Segmentation. Ross Whitaker SCI Institute, School of Computing University of Utah

Designing of Fingerprint Enhancement Based on Curved Region Based Ridge Frequency Estimation

Lecture 6: Edge Detection

Topic 4 Image Segmentation

Digital Image Processing. Prof. P.K. Biswas. Department of Electronics & Electrical Communication Engineering

A Statistical approach to line segmentation in handwritten documents

Carmen Alonso Montes 23rd-27th November 2015

SCENE TEXT BINARIZATION AND RECOGNITION

Segmentation and Grouping

Histograms. h(r k ) = n k. p(r k )= n k /NM. Histogram: number of times intensity level rk appears in the image

Outlines. Medical Image Processing Using Transforms. 4. Transform in image space

Image Segmentation for Image Object Extraction

CAP 5415 Computer Vision Fall 2012

Decision Trees, Random Forests and Random Ferns. Peter Kovesi

Digital Image Processing

Digital Image Processing

Chapter 3 Image Enhancement in the Spatial Domain

MRI Brain Image Segmentation based on Thresholding

IJSER. Abstract : Image binarization is the process of separation of image pixel values as background and as a foreground. We

Segmentation tools and workflows in PerGeos

Image Processing and Image Analysis VU

Lecture Image Enhancement and Spatial Filtering

Texture. Texture is a description of the spatial arrangement of color or intensities in an image or a selected region of an image.

MEDICAL IMAGE COMPUTING (CAP 5937) LECTURE 4: Pre-Processing Medical Images (II)

Transcription:

Image Segmentation! Thresholding Watershed Seminar Computa9onal Intelligence

Outline! Thresholding What is thresholding? How can we find a threshold value? Variable thresholding Local thresholding 2

Outline! Watersheds Basic concept/idea Drawback 3

What is Thresholding?! Par99on image direct into regions The simplest approach to segment an image g( x, y) = 1 0 if if f f ( x, ( x, y) y) > T T 4

Basic concept: Thresholding! Based on the histogram of an image we use a threshold to par99one the image histogram 5

Thresholding! 6

es9mate How to finde the threshold?! Automa9c Thresholding 7

How to calculate the threshold?! The basic global threshold T, is calculated as follows: 1. Select an ini9al es9mate for T ( e.g. the average grey level in the image) 2. Segment the image using T to produce two groups of pixels: G 1 consis9ng of pixels with grey levels >T and G 2 consis9ng pixels with grey levels T 3. Compute the average grey levels of pixels in G 1 to get μ 1 and G 2 to get μ 2 8

How to calculate the threshold?! 4. Compute a new threshold value µ + µ 1 T = 2 2 5. Repeat steps 2 4 un9l the difference in T in successive itera9ons is less than a predefined limit T Works very well for finding thresholds when the histogram is suitable 9

Thresholding! 10

Otsu s method! A measure of region homogeneity is variance (regions with high homogeneity will have low variance) We select the threshold by minimizing the within-class variance of the two groups of pixels separated by the thresholding operator It does not depend on modeling the probability density functions, however, it assumes a bimodal distribution of graylevel values 11

Example! Since the total variance σ does not depend on T, the T minimizing σ W 2 will be the T maximizing σ B 2 σ B 2 12

Otsu s method! Since the total variance σ does not depend on T, the T minimizing σ W 2 will be the T maximizing σ B 2 We start from the beginning of the histogram and test each gray-level value for the possibility of being the threshold T that maximizes σ B 2 13

Drawbacks of Otsu s method! The method assumes that the histogram of the image is bimodal (two classes) The method don t work when the two classes are very unequal In this case, σ B 2 may have two maxima. The correct maximum is not necessary the global one. The selected threshold should correspond to a valley of the histogram The method does not work well with variable illumination. 14

Preprocessing! Preprocessing (f.e. smoothing) the image to remove noise or other non- uniformi9es can improve the performance of the thresholding 15

Image smoothing! Try to get rid of lots of the finer detail by smoothing the orginal picture Original Image Smoothed Image Thresholded Image 16

Single Value Thresholding and Illumination! 17

Variable Thresholding! An approach to handling the situa9ons in which single value thresholding will not work is to divide an image into small images and threshold these individually 18

Variable Thresholding! It might lead to subimages with simpler histogram 19

Multiple Thresholds! Single value thresholding only works for bimodal histograms. Images with other kinds of histograms need more than a single threshold But it is less reliable than a single variable threshold. This is because it oben difficult to establish mul9ple thresholds to effec9vely isolate the region of interest 20

Local Thresholding! Source: hdp://homepages.inf.ed.ac.uk/ rbf/hipr2/adpthrsh.htm 21

Local Thresholding! select an individual threshold for each pixes based on the range of the intensity values in it s local neighborhood T = xy a*σ + b*µ xy xy 22

Drawbacks! Threshold selec9on is not always easy Noise, illumina9on, reflectance.. Based on a simple assamp9on The success of this technique very strongly depends on how well the histogram can be saperated 23

Morphological Watersheds! Embodies many of the concept of the other segmenta9on approaches and oben produce more stable segmenta9on Based on the visualizning of an image in 3 dimens9on (spatal cordinate versus intensity) the principal concept is to find watersheds lines 24

The height of the mountains is proportional to the grey scale value of the original image A hole is punched in each regional minimum The topography is flooded from below gradually Basic Steps! 25

A dam is build to prevent the water to swap over Only the tops of the dam are visble These dam correspond to the divide lines of the watersheds Basic Steps! 26

Oversegmentation! a: Orginal b: Gradient image of image a c: Watershed lines (oversegmenta9on) è Each connected region contains one local minimum in the corresponding gradient image d: Watershed lines obtained from smoothed image b 27

Markers! Another Part of the problem led to the oversegmented result is the large number of poten9al minima Use marker, star9ng point for flooding to prevent oversgmen9on 28

Summary! Produces sufficient results Oversegmenta9on is a problem even with marker But can be used as a good approach for pre- segmenta9on 29