Lecture 30: Segmentation CS4670 / 5670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.

Slides:



Advertisements
Similar presentations
CSCE643: Computer Vision Mean-Shift Object Tracking Jinxiang Chai Many slides from Yaron Ukrainitz & Bernard Sarel & Robert Collins.
Advertisements

Department of Computer Engineering
Clustering & image segmentation Goal::Identify groups of pixels that go together Segmentation.
Grouping and Segmentation Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 03/01/10.
Image segmentation. The goals of segmentation Group together similar-looking pixels for efficiency of further processing “Bottom-up” process Unsupervised.
Algorithms & Applications in Computer Vision Lihi Zelnik-Manor Lecture 11: Structure from Motion.
EE 7730 Image Segmentation.
Mean Shift A Robust Approach to Feature Space Analysis Kalyan Sunkavalli 04/29/2008 ES251R.
Segmentation. Terminology Segmentation, grouping, perceptual organization: gathering features that belong together Fitting: associating a model with observed.
Mean Shift Theory and Applications
Lecture 28: Bag-of-words models
A Study of Approaches for Object Recognition
Segmentation CSE P 576 Larry Zitnick Many slides courtesy of Steve Seitz.
Segmentation Divide the image into segments. Each segment:
Segmentation by Clustering Reading: Chapter 14 (skip 14.5) Data reduction - obtain a compact representation for interesting image data in terms of a set.
Image Segmentation Today’s Readings Forsyth & Ponce, Chapter 14
Perceptual Organization: Segmentation and Optical Flow.
Grouping and Segmentation Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 03/17/15.
Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Segmentation and Grouping Motivation: not information is evidence Obtain a.
~5,617,000 population in each state
Image Segmentation Image segmentation is the operation of partitioning an image into a collection of connected sets of pixels. 1. into regions, which usually.
Image Segmentation Rob Atlas Nick Bridle Evan Radkoff.
Segmentation and Grouping Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/23/10.
Methods in Medical Image Analysis Statistics of Pattern Recognition: Classification and Clustering Some content provided by Milos Hauskrecht, University.
Computer Vision James Hays, Brown
CSE 185 Introduction to Computer Vision Pattern Recognition.
Mean Shift : A Robust Approach Toward Feature Space Analysis - Bayesian Background Modeling
Mean-shift and its application for object tracking
1 Mean shift and feature selection ECE 738 course project Zhaozheng Yin Spring 2005 Note: Figures and ideas are copyrighted by original authors.
Mean Shift Theory and Applications Reporter: Zhongping Ji.
CS 558 C OMPUTER V ISION Lecture VI: Segmentation and Grouping Slides adapted from S. Lazebnik.
CSE 185 Introduction to Computer Vision Pattern Recognition 2.
Window-based models for generic object detection Mei-Chen Yeh 04/24/2012.
Lecture 29: Face Detection Revisited CS4670 / 5670: Computer Vision Noah Snavely.
Perceptual and Sensory Augmented Computing Computer Vision WS 09/10 Computer Vision – Lecture 7 Segmentation and Grouping Bastian Leibe RWTH.
Pedestrian Detection and Localization
EECS 274 Computer Vision Segmentation by Clustering II.
Grouping and Segmentation
CS654: Digital Image Analysis Lecture 30: Clustering based Segmentation Slides are adapted from:
CS654: Digital Image Analysis
Digital Image Processing
CSSE463: Image Recognition Day 23 Midterm behind us… Midterm behind us… Foundations of Image Recognition completed! Foundations of Image Recognition completed!
Segmentation & Grouping Tuesday, Sept 23 Kristen Grauman UT-Austin.
Perceptual and Sensory Augmented Computing Computer Vision WS 11/12 Computer Vision – Lecture 6 Segmentation and Grouping Bastian Leibe RWTH.
Image Segmentation Shengnan Wang
Mean Shift ; Theory and Applications Presented by: Reza Hemati دی 89 December گروه بینایی ماشین و پردازش تصویر Machine Vision and Image Processing.
Perceptual and Sensory Augmented Computing Computer Vision WS 08/09 Computer Vision – Lecture 7 Segmentation and Grouping Bastian Leibe RWTH.
CS 2750: Machine Learning Clustering Prof. Adriana Kovashka University of Pittsburgh January 25, 2016.
Segmentation slides adopted from Svetlana Lazebnik.
Course Introduction to Medical Imaging Segmentation 1 – Mean Shift and Graph-Cuts Guy Gilboa.
Photo: CMU Machine Learning Department Protests G20
CSSE463: Image Recognition Day 21
Segmentation by clustering: mean shift
Computer Vision Lecture 12: Image Segmentation II
Lecture: k-means & mean-shift clustering
A segmentation and tracking algorithm
Segmentation Computer Vision Spring 2018, Lecture 27
CS 2750: Machine Learning Review (cont’d) + Linear Regression Intro
CS 2750: Machine Learning Clustering
CSSE463: Image Recognition Day 23
Image Segmentation CS 678 Spring 2018.
15 February 2019 Welcome to a class with some curious content!
Prof. Adriana Kovashka University of Pittsburgh September 6, 2018
CSSE463: Image Recognition Day 23
Mean Shift Theory and Applications
Lecture 29: Face Detection Revisited
CSSE463: Image Recognition Day 23
Image Segmentation Samuel Cheng
Presentation transcript:

Lecture 30: Segmentation CS4670 / 5670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science

Announcements Project 4 due Friday

Consumer face application: Apple iPhoto

Consumer application: Apple iPhoto Can be trained to recognize pets!

Consumer application: Apple iPhoto Things iPhoto thinks are faces

Funny Nikon ads "The Nikon S60 detects up to 12 faces."

Funny Nikon ads "The Nikon S60 detects up to 12 faces."

Image segmentation

The goals of segmentation Group together similar-looking pixels for efficiency of further processing “Bottom-up” process X. Ren and J. Malik. Learning a classification model for segmentation. ICCV 2003.Learning a classification model for segmentation. “superpixels”

The goals of segmentation Separate image into coherent “objects” “Bottom-up” or “top-down” process? Berkeley segmentation database: image human segmentation

The Gestalt school Elements in a collection can have properties that result from relationships “The whole is greater than the sum of its parts” subjective contours occlusion familiar configuration

Emergence

Gestalt factors

These factors make intuitive sense, but are very difficult to translate into algorithms

Segmentation as clustering Source: K. Grauman

Image Intensity-based clustersColor-based clusters Segmentation as clustering K-means clustering based on intensity or color is essentially vector quantization of the image attributes Clusters don’t have to be spatially coherent

Segmentation as clustering Source: K. Grauman

Segmentation as clustering Clustering based on (r,g,b,x,y) values enforces more spatial coherence

K-Means for segmentation Pros Very simple method Converges to a local minimum of the error function Cons Memory-intensive Need to pick K Sensitive to initialization Sensitive to outliers Only finds “spherical” clusters

Mean shift clustering and segmentation An advanced and versatile technique for clustering-based segmentation D. Comaniciu and P. Meer, Mean Shift: A Robust Approach toward Feature Space Analysis, PAMI 2002.Mean Shift: A Robust Approach toward Feature Space Analysis

The mean shift algorithm seeks modes or local maxima of density in the feature space Mean shift algorithm image Feature space (L*u*v* color values)

Search window Center of mass Mean Shift vector Mean shift Slide by Y. Ukrainitz & B. Sarel

Search window Center of mass Mean Shift vector Mean shift Slide by Y. Ukrainitz & B. Sarel

Search window Center of mass Mean Shift vector Mean shift Slide by Y. Ukrainitz & B. Sarel

Search window Center of mass Mean Shift vector Mean shift Slide by Y. Ukrainitz & B. Sarel

Search window Center of mass Mean Shift vector Mean shift Slide by Y. Ukrainitz & B. Sarel

Search window Center of mass Mean Shift vector Mean shift Slide by Y. Ukrainitz & B. Sarel

Search window Center of mass Mean shift Slide by Y. Ukrainitz & B. Sarel

Cluster: all data points in the attraction basin of a mode Attraction basin: the region for which all trajectories lead to the same mode Mean shift clustering Slide by Y. Ukrainitz & B. Sarel

Find features (color, gradients, texture, etc) Initialize windows at individual feature points Perform mean shift for each window until convergence Merge windows that end up near the same “peak” or mode Mean shift clustering/segmentation

Mean shift segmentation results

More results

Mean shift pros and cons Pros Does not assume spherical clusters Just a single parameter (window size) Finds variable number of modes Robust to outliers Cons Output depends on window size Computationally expensive Does not scale well with dimension of feature space