Lecture 9.1 Image Segmentation. Idar Dyrdal

Similar documents
Vision based Vehicle Tracking using a high angle camera

Image Segmentation and Registration

Practical Tour of Visual tracking. David Fleet and Allan Jepson January, 2006

Colour Image Segmentation Technique for Screen Printing

Environmental Remote Sensing GEOG 2021

COLOR-BASED PRINTED CIRCUIT BOARD SOLDER SEGMENTATION

How To Cluster Of Complex Systems

Segmentation & Clustering

Circle Object Recognition Based on Monocular Vision for Home Security Robot

Canny Edge Detection

Automatic Traffic Estimation Using Image Processing

Scanners and How to Use Them

EFFICIENT VEHICLE TRACKING AND CLASSIFICATION FOR AN AUTOMATED TRAFFIC SURVEILLANCE SYSTEM

OBJECT TRACKING USING LOG-POLAR TRANSFORMATION

Edge tracking for motion segmentation and depth ordering

Assessment. Presenter: Yupu Zhang, Guoliang Jin, Tuo Wang Computer Vision 2008 Fall

Vehicle Tracking in Occlusion and Clutter

Real-Time Tracking of Pedestrians and Vehicles

. Learn the number of classes and the structure of each class using similarity between unlabeled training patterns

A Method of Caption Detection in News Video

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

Segmentation of building models from dense 3D point-clouds

B2.53-R3: COMPUTER GRAPHICS. NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions.

Assessment of Camera Phone Distortion and Implications for Watermarking

SoSe 2014: M-TANI: Big Data Analytics

Implementation of Canny Edge Detector of color images on CELL/B.E. Architecture.

Vision-Based Blind Spot Detection Using Optical Flow

Calculation of Minimum Distances. Minimum Distance to Means. Σi i = 1

Bildverarbeitung und Mustererkennung Image Processing and Pattern Recognition

Tracking performance evaluation on PETS 2015 Challenge datasets

Data Mining Cluster Analysis: Basic Concepts and Algorithms. Lecture Notes for Chapter 8. Introduction to Data Mining

AUTOMATIC CROWD ANALYSIS FROM VERY HIGH RESOLUTION SATELLITE IMAGES

Data Mining Clustering (2) Sheets are based on the those provided by Tan, Steinbach, and Kumar. Introduction to Data Mining

Railway Expansion Joint Gaps and Hooks Detection Using Morphological Processing, Corner Points and Blobs

Image Analysis Using the Aperio ScanScope

REAL TIME TRAFFIC LIGHT CONTROL USING IMAGE PROCESSING

Feature Tracking and Optical Flow

Image Gradients. Given a discrete image Á Òµ, consider the smoothed continuous image ܵ defined by

Tutorial for Tracker and Supporting Software By David Chandler

Analecta Vol. 8, No. 2 ISSN

Clustering. Danilo Croce Web Mining & Retrieval a.a. 2015/201 16/03/2016

Using MATLAB to Measure the Diameter of an Object within an Image

Demo: Real-time Tracking of Round Object

Computer Vision. Color image processing. 25 August 2014

T O B C A T C A S E G E O V I S A T DETECTIE E N B L U R R I N G V A N P E R S O N E N IN P A N O R A MISCHE BEELDEN

Multiscale Object-Based Classification of Satellite Images Merging Multispectral Information with Panchromatic Textural Features

MVA ENS Cachan. Lecture 2: Logistic regression & intro to MIL Iasonas Kokkinos Iasonas.kokkinos@ecp.fr

DATA MINING CLUSTER ANALYSIS: BASIC CONCEPTS

LIBSVX and Video Segmentation Evaluation

Pest Control in Agricultural Plantations Using Image Processing

Technical Considerations Detecting Transparent Materials in Particle Analysis. Michael Horgan

STA 4273H: Statistical Machine Learning

3D Model of the City Using LiDAR and Visualization of Flood in Three-Dimension

Real-Time Background Estimation of Traffic Imagery Using Group-Based Histogram *

COMPARISON OF OBJECT BASED AND PIXEL BASED CLASSIFICATION OF HIGH RESOLUTION SATELLITE IMAGES USING ARTIFICIAL NEURAL NETWORKS

Poker Vision: Playing Cards and Chips Identification based on Image Processing

Machine vision systems - 2

CBIR: Colour Representation. COMPSCI.708.S1.C A/P Georgy Gimel farb

Clustering. Data Mining. Abraham Otero. Data Mining. Agenda

Template-based Eye and Mouth Detection for 3D Video Conferencing

Data Mining Cluster Analysis: Advanced Concepts and Algorithms. Lecture Notes for Chapter 9. Introduction to Data Mining

Medical Information Management & Mining. You Chen Jan,15, 2013 You.chen@vanderbilt.edu

Embedded Vision on FPGAs The MathWorks, Inc. 1

Data Mining. Cluster Analysis: Advanced Concepts and Algorithms

SIGNATURE VERIFICATION

Morphological segmentation of histology cell images

Building an Advanced Invariant Real-Time Human Tracking System

PDF Created with deskpdf PDF Writer - Trial ::

Object Tracking System Using Motion Detection

Signature Region of Interest using Auto cropping

Tracking And Object Classification For Automated Surveillance

Computer Vision for Quality Control in Latin American Food Industry, A Case Study

E27 SPRING 2013 ZUCKER PROJECT 2 PROJECT 2 AUGMENTED REALITY GAMING SYSTEM

Neural Networks Lesson 5 - Cluster Analysis

ROBUST VEHICLE TRACKING IN VIDEO IMAGES BEING TAKEN FROM A HELICOPTER

Volume 2, Issue 3, March 2014 International Journal of Advance Research in Computer Science and Management Studies

Enhanced LIC Pencil Filter

Automatic Labeling of Lane Markings for Autonomous Vehicles

Generation of Cloud-free Imagery Using Landsat-8

An Introduction to Data Mining. Big Data World. Related Fields and Disciplines. What is Data Mining? 2/12/2015

The Delicate Art of Flower Classification

LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example.

BCC Multi Stripe Wipe

A Genetic Algorithm-Evolved 3D Point Cloud Descriptor

Data Storage 3.1. Foundations of Computer Science Cengage Learning

Real time vehicle detection and tracking on multiple lanes

Real-time Traffic Congestion Detection Based on Video Analysis

Data Mining and Visualization

VEHICLE TRACKING AND SPEED ESTIMATION SYSTEM CHAN CHIA YIK. Report submitted in partial fulfillment of the requirements

EXPLORING SPATIAL PATTERNS IN YOUR DATA

HSI BASED COLOUR IMAGE EQUALIZATION USING ITERATIVE n th ROOT AND n th POWER

Transcription:

Lecture 9.1 Image Segmentation Idar Dyrdal

Segmentation Image segmentation is the process of partitioning a digital image into multiple parts The goal is to divide the image into meaningful and/or perceptually uniform regions Segmentation is typically used to locate objects and boundaries of physical entities in the scene The segmentation process utilizes available image information (graylevel, colour, texture, pixel position, ). 2

Segmentation methods Active contours (Snakes, Scissors, Level Sets) Split and merge (Watershed, Divisive & agglomerative clustering, Graph-based segmentation) K-means (parametric clustering) Mean shift (non-parametric clustering) Normalized cuts Graph cuts Graylevel thresholding 3

Colour Segmentation - Example Adaptive Weighted Distances 4

Segmentation by thresholding Number of pixels Otsu s method: Automatic clustering-based thresholding Minimization of intra-class variance Analog to Fisher s Discriminant Analysis Graylevel 5

Thresholding with Otsu s method 3 thresholds 4 classes 6

Binary segmentation foreground vs. background Number of pixels Number of pixels Background Foreground Background Foreground Graylevel Graylevel Threshold between two populations Threshold at given percentile 7

Binary thresholding Object detection Thermal image Thresholded image (Otsu s method) Global threshold selection threshold too low for detection of the object of interest 8

Manual thresholding Medium threshold High threshold 9

Local thresholding Threshold computed from graylevel statistics in selected window (Otsu s method) 10

Local thresholding using edge information Threshold = average graylevel along edges Edge image (Canny edge detector applied to selected window) Thresholded window 11

Object detection in video sequences (visible light) Change detection Absolute difference image (Current image - time averaged background image) Thresholding of difference image, i.e. Otsu s method Requires fixed camera (or registration of images) Daylight video frame Thresholded difference image 12

K-means (parametric) clustering 1. Select K points (for example randomly) as initial cluster centers 2. Assign each sample to nearest cluster center 3. Compute new cluster centers (i.e. sample means) 4. Repeat steps 2 and 3 until no further reassignments are possible. Unlabeled dataset 13

K-means clustering Initial cluster centers (red, green and blue points) Samples assigned to nearest cluster center 14

K-means clustering Re-computed cluster centers Samples re-assigned to new cluster centers 15

K-means clustering Re-computed cluster centers Final clustering 16

K-means clustering using color Original image Clustered image 10 clusters 17

Mean shift (non-parametric) segmentation Segmentation by clustering of the pixels in the image (colour and position) Non-parametric method (Parzen window technique) to find modes (i.e. peaks) in the density function All pixels climbing to the same peak are assigned to the same region. (Szeliski: Computer Vision Algorithms and Applications) 18

Mean shift segmentation (Szeliski: Computer Vision Algorithms and Applications) 19

Parzen method 20

Mean shift segmentation (Szeliski: Computer Vision Algorithms and Applications) 21

Road segmentation for autonomous vehicles Image data (graylevel, colour, local texture) from trapezoidal region is used to build a Gaussian model of the road surface. Pixels with sufficiently high probability density with respect to the model are assigned to the road class (marked in green). 22

Road segmentation alternative approach Original RGB image converted to an illumination invariant colour space (reduced variation due to sunlight and shadows). From this image a local entropy image is derived (Matlab: entropyfilt). Segmentation by region growing of the local entropy image (Matlab: grayconnected) using the green dots (left image) as seed pixels. 23

Morphological operations Non-linear filtering Typically used to clean up binary images Erosion: replace pixel value with minimum in local neighborhood Dilation: replace pixel value with maximum in local neighborhood Structuring element used to define the local neighborhood: A shape (in blue) and its morphological dilation (in green) and erosion (in yellow) by a diamondshape structuring element. 24

Morphological operations - Erosion Structuring element (disk shaped) 25

Morphological operations - Dilation Structuring element (disk shaped) 26

Opening = Erosion + Dilation 27

Closing = Dilation + Erosion 28

Opening - example Thresholded image Result of opening Disk shaped structuring element with radius = 2 pixels (5 x 5 filter mask) 29

Closing - example Thresholded image Result of opening Disk shaped structuring element with radius = 2 pixels (5 x 5 filter mask) 30

Active contours Fitting of curves to object boundaries: Snakes (fitting of spline curves to strong edges) Intelligent scissors (interactive specification of curves clinging to object boundaries) Level set techniques (evolving boundaries as the zero set of a characteristic function). (Szeliski: Computer Vision Algorithms and Applications) 31

Split and merge methods Principles: Recursive splitting of the image based on region statistics Hierarchical merging of pixels and regions Combined splitting and merging Methods: Watershed segmentation Region splitting (divisive clustering) Region merging (agglomerative clustering) Graph-based segmentation (Szeliski: Computer Vision Algorithms and Applications) 32

Agglomerative clustering Distance measures Distance measure Dendrogram 33

Normalized cuts Separation of groups with weak affinities (similarities) between nearby pixels (Szeliski: Computer Vision Algorithms and Applications) 34

Graph cuts Energy-based methods for binary segmentation: Grouping of pixels with similar statistics Minimization of pixel-based energy function Region-based and boundary-based energy terms Image represented as a graph Cutting of weak edges, i.e. low similarity between corresponding pixels. (Szeliski: Computer Vision Algorithms and Applications) 35

Summary Image Segmentation: Thresholding techniques Clustering methods for segmentation Morphological operations Read also: Szeliski 5.1-5.5 36