Segmentation. (template) matching

Similar documents
Filters and Pyramids. CSC320: Introduction to Visual Computing Michael Guerzhoy. Many slides from Steve Marschner, Alexei Efros

Filtering, scale, orientation, localization, and texture. Nuno Vasconcelos ECE Department, UCSD (with thanks to David Forsyth)

Scaled representations

Announcements. Edge Detection. An Isotropic Gaussian. Filters are templates. Assignment 2 on tracking due this Friday Midterm: Tuesday, May 3.

Filtering and Enhancing Images

ECG782: Multidimensional Digital Signal Processing

Segmentation and Grouping

INF 4300 Classification III Anne Solberg The agenda today:

Lecture 6: Edge Detection

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

Filtering Applications & Edge Detection. GV12/3072 Image Processing.

Processing and Others. Xiaojun Qi -- REU Site Program in CVMA

Sampling and Reconstruction. Most slides from Steve Marschner

Chamfer matching. More on template matching. Distance transform example. Computing the distance transform. Shape based matching.

CS 534: Computer Vision Texture

EE795: Computer Vision and Intelligent Systems

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

Digital Image Processing. Image Enhancement - Filtering

Texture. Texture. 2) Synthesis. Objectives: 1) Discrimination/Analysis

Lecture 2 Image Processing and Filtering

Image Analysis Image Segmentation (Basic Methods)

Topic 4 Image Segmentation

Clustering CS 550: Machine Learning

CPSC 425: Computer Vision

ENG 7854 / 9804 Industrial Machine Vision. Midterm Exam March 1, 2010.

CSSE463: Image Recognition Day 21

Normalized cuts and image segmentation

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

2D Image Processing INFORMATIK. Kaiserlautern University. DFKI Deutsches Forschungszentrum für Künstliche Intelligenz

CS 534: Computer Vision Texture

Applications. Foreground / background segmentation Finding skin-colored regions. Finding the moving objects. Intelligent scissors

COMPUTER VISION > OPTICAL FLOW UTRECHT UNIVERSITY RONALD POPPE

Basic relations between pixels (Chapter 2)

Color Image Segmentation

ME/CS 132: Introduction to Vision-based Robot Navigation! Low-level Image Processing" Larry Matthies"

EDGE BASED REGION GROWING

DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution and Fully Connected CRFs

What will we learn? Neighborhood processing. Convolution and correlation. Neighborhood processing. Chapter 10 Neighborhood Processing

Overview. Spectral Processing of Point- Sampled Geometry. Introduction. Introduction. Fourier Transform. Fourier Transform

Lecture 4: Spatial Domain Transformations

Part 3: Image Processing

CS4442/9542b Artificial Intelligence II prof. Olga Veksler

CPSC 425: Computer Vision

Basic Algorithms for Digital Image Analysis: a course

How and what do we see? Segmentation and Grouping. Fundamental Problems. Polyhedral objects. Reducing the combinatorics of pose estimation

Computer Vision: 4. Filtering. By I-Chen Lin Dept. of CS, National Chiao Tung University

6.801/866. Segmentation and Line Fitting. T. Darrell

The SIFT (Scale Invariant Feature

Edge and local feature detection - 2. Importance of edge detection in computer vision

Image Processing. Filtering. Slide 1

Broad field that includes low-level operations as well as complex high-level algorithms

Image Processing. Bilkent University. CS554 Computer Vision Pinar Duygulu

Region-based Segmentation

Digital Image Processing

Color-Texture Segmentation of Medical Images Based on Local Contrast Information

Bioimage Informatics

5. Feature Extraction from Images

Interactive segmentation, Combinatorial optimization. Filip Malmberg

Texture. D. Forsythe and J. Ponce Computer Vision modern approach Chapter 9 (Slides D. Lowe, UBC)

CS4442/9542b Artificial Intelligence II prof. Olga Veksler

Interactive Non-Linear Image Operations on Gigapixel Images

Human Head-Shoulder Segmentation

Introduction to digital image classification

Texture. D. Forsythe and J. Ponce Computer Vision modern approach Chapter 9 (Slides D. Lowe, UBC) Previously

convolution shift invariant linear system Fourier Transform Aliasing and sampling scale representation edge detection corner detection

Unsupervised Learning and Clustering

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

Local Image preprocessing (cont d)

EE 701 ROBOT VISION. Segmentation

Segmenting an Image Assigning labels to pixels (cat, ball, floor) Point processing: Lecture 3: Region Based Vision. Overview

Course Evaluations. h"p:// 4 Random Individuals will win an ATI Radeon tm HD2900XT

Lecture 7: Most Common Edge Detectors

Processing 3D Surface Data

CS334: Digital Imaging and Multimedia Edges and Contours. Ahmed Elgammal Dept. of Computer Science Rutgers University

Edge Detection Lecture 03 Computer Vision

CS664 Lecture #21: SIFT, object recognition, dynamic programming

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

Separable Kernels and Edge Detection

EECS490: Digital Image Processing. Lecture #17

Midterm Examination CS 534: Computational Photography

Region & edge based Segmentation

Image Analysis Lecture Segmentation. Idar Dyrdal

University of Florida CISE department Gator Engineering. Clustering Part 4

Parametric Texture Model based on Joint Statistics

Histogram and watershed based segmentation of color images

COMP 465: Data Mining Still More on Clustering

Analysis: TextonBoost and Semantic Texton Forests. Daniel Munoz Februrary 9, 2009

Image Composition. COS 526 Princeton University

Feature descriptors. Alain Pagani Prof. Didier Stricker. Computer Vision: Object and People Tracking

Clustering Part 4 DBSCAN

The goals of segmentation

Automatic Photo Popup

Image segmentation. Václav Hlaváč. Czech Technical University in Prague

CS6670: Computer Vision

CSE 573: Artificial Intelligence Autumn 2010

Introduction to Digital Image Processing

A Parametric Texture Model based on Joint Statistics of Complex Wavelet Coefficients. Gowtham Bellala Kumar Sricharan Jayanth Srinivasa

Basic Algorithms for Digital Image Analysis: a course

Introduction to Medical Imaging (5XSA0)

UNIT-2 IMAGE REPRESENTATION IMAGE REPRESENTATION IMAGE SENSORS IMAGE SENSORS- FLEX CIRCUIT ASSEMBLY

Transcription:

Segmentation. (template) matching 1

Announcements Midterm March 3 2010, in class Duration: 45 min Weight: 20% of final course mark Closed book, closed notes Calculator allowed Practice midterm posted. Solution will be posted on Sunday. Midterm Review: March 2 Office hours: March 2, 3-5 pm or by appointment 2

Reading 6.4 Adelson and Bergen, Image Pyramids 3

Template matching Assumes you know what you are looking for (supervised process) 4

Copyright 2008, Thomson Engineering, a division of Thomson Learning Ltd. 6-5

Comparing neighborhoods to templates By linear filtering Correlation can be considered as a dot product between two vectors: - the pattern and the considered image region. - The dot product is maximal (maximum correlation) when the pattern is very similar to the corresponding image region. 6

Optimality matching criterion evaluation 7

Challenge We need scaled representations because the details of interest can occur at various scales 8

A bar in the big images is a hair on the zebra s nose; in smaller images, a stripe; in the smallest, the animal s nose 9

Aliasing Can t shrink an image by taking every second pixel If we do, characteristic errors appear 10

11

Detecting a target pattern The target pattern may appear at any scale We want to use only convolutions Construct copies of the target at several expanded scales, and convolve them with the original image 12

Detecting a target pattern (cont d) Or maintain a fixed scale of the target and change the scale of the image 13

Detecting a target pattern Both approaches should give equivalent results The difference is in the computational complexity A convolution with the target pattern expanded in scale by a factor s requires s 2 more operations than the convolution with the image reduced in scale by s. s=2..32 A series of images at iteratively reduced scales will form a pyramid. 14

A Gaussian Pyramid 15

Levels of the Gaussian pyramid expanded to the size of the original image 16

How to construct a Gaussian pyramid At each iteration: Filtering with a low-pass filter (ex: Gaussian with constant σ or other) Subsampling G L =Reduce(G l-1 ) form the correlation kernel. The same kernel is used to produce all levels in the pyramid. Kernel should be small and separable 17

The Laplacian Pyramid series of band-pass images obtained by subtracting each Gaussian (low-pass) pyramid level from the next-lower level in the pyramid. 18

Flexible templates Target might not be exactly the same in every image Idea: break the template into pieces and try to match each piece Position the entire template over the neighborhood, then search around the position of each subtemplate for the best match Overall match is best combined match for all subtemplates From B. Morse, http:// morse.cs.byu.edu/650/ 19

Evaluation issues in segmentation Reading 6.5 20

Evaluating segmentation techniques As in other areas of vision, evaluation is a problem We need to know what the correct result is We need some way to compare the result of each algorithm to the ideal situation From Tony Pridmore s Lecture Notes on Image Processing and Interpretation, University of Nottingham 21

Evaluating segmentation Possible approaches Ground truth get a correct segmentation and compare the results of the algorithm to it Evaluations based on region properties we want the regions to be uniform, and for adjacent regions to be different Evaluating robustness If we deliberately introduce noise or partially mask the object of interest, how will the segmentation result be affected? Adapted from Tony Pridmore s Lecture Notes on Image Processing and Interpretation, University of Nottingham 22

Ground truth segmentation Typically used in medical imaging applications Issue: human segmentations can vary significantly How do we build a ground truth segmentation from several human segmentations? 23

Copyright 2008, Thomson Engineering, a division of Thomson Learning Ltd. 6-24

Statistical ground truth 25

Ground truth in other applications Experiment: segmenting an image by hand Adapted from Tony Pridmore s Lecture Notes on Image Processing and Interpretation, University of Nottingham 26

Ground truth in other applications Experiment: segmenting an image by hand Adapted from Tony Pridmore s Lecture Notes on Image Processing and Interpretation, University of Nottingham 27

Ground truth in other applications Human segmentation of complex scenes is subjective; it depends on visual representation among many other things Are human segmentations consistent? Adapted from Tony Pridmore s Lecture Notes on Image Processing and Interpretation, University of Nottingham 28

Comparing image segmentations Suppose we have a agreed ground truth We need to compare two sets of regions What does it mean for two sets of regions to be similar? Is the number of regions important? Does it matter if two regions are merged or if one is split in two? Ground truth partition Which result is better? Adapted from Tony Pridmore s Lecture Notes on Image Processing and Interpretation, University of Nottingham 29

Segmentation of complex scenes 30

Current measures of similarity: region-based Applicable when only one region of interest in image Region-based: Mutual overlap Limits Does not give any information about boundaries Conceals quality differences between segmentations Assumes a closed contour Large errors for small objects 31

Current measures of similarity: border-based 32

Current measures of similarity: border-based Hausdorff distance Idea: consider the two contours as two finite sets of points h(a,b) = max min d(a,b) a A b B ( ) H (A,B) = max h(a,b),h(b, A) 33

Unsupervised evaluation Haralick and Shapiro: Regions should be uniform and homogeneous with respect to some characteristic(s) Adjacent regions should have significant differences with respect to the characteristic on which they are uniform Region interiors should be simple and without holes Boundaries should be simple, not ragged, and be spatially accurate 34