Digital Image Processing

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
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.
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
Segmentation CSE P 576 Larry Zitnick Many slides courtesy of Steve Seitz.
Segmentation Divide the image into segments. Each segment:
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.
~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
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.
Computer Vision Lecture 5. Clustering: Why and How.
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.
Perceptual and Sensory Augmented Computing Computer Vision WS 09/10 Computer Vision – Lecture 7 Segmentation and Grouping Bastian Leibe RWTH.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Filtering.
Pedestrian Detection and Localization
EECS 274 Computer Vision Segmentation by Clustering II.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Quick Review.
Why is computer vision difficult?
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout HTML5 – Canvas.
Grouping and Segmentation
CS654: Digital Image Analysis Lecture 30: Clustering based Segmentation Slides are adapted from:
CS654: Digital Image Analysis
Compression-based Texture Merging “ Unsupervised Segmentation of Natural Images via Lossy Data Compression ” Allen Y. Yang, John Wright, Shankar Sastry,
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Edge Detection.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Edge Detection:
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.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Image Processing.
Perceptual and Sensory Augmented Computing Computer Vision WS 08/09 Computer Vision – Lecture 7 Segmentation and Grouping Bastian Leibe RWTH.
Lecture 30: Segmentation CS4670 / 5670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
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.
Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Color Image.
Photo: CMU Machine Learning Department Protests G20
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Fitting: Voting and the Hough Transform
CSSE463: Image Recognition Day 21
Segmentation by clustering: mean shift
Image Warping (Geometric Transforms)
Lecture: k-means & mean-shift clustering
A segmentation and tracking algorithm
Segmentation Computer Vision Spring 2018, Lecture 27
CS 2750: Machine Learning Clustering
Image Segmentation Techniques
Digital Image Processing
Image Segmentation CS 678 Spring 2018.
Review and Prepare for Test 2
Prof. Adriana Kovashka University of Pittsburgh September 6, 2018
Mean Shift Theory and Applications
Image Segmentation Samuel Cheng
Presentation transcript:

Digital Image Processing Segmentation DRAFT Brent M. Dingle, Ph.D. 2015 Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin - Stout Material in this presentation is largely based on/derived from presentations by: Sventlana Lazebnik, and Noah Snavely

Lecture Objectives Previously Today Image Manipulation and Enhancement Filtering Interpolation Warping Morphing Image Compression Image Analysis Edge Detection Smart Scissors Stereo Image Processing Today Segmentation

Segmentation Relation Segmentation methods touch on and use many previous topics Representation Methods Manipulation Methods Human Perception and Psychology

Segmentation Goals Group similar looking pixels together for efficiency of additional processing Superpixels Learning a classification model for segmentation, Ren and Malik, ICCV 2003.

Segmentation Goals Separate image into coherent objects Berkeley segmentation database http://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/segbench/ image segmentation

Gestalt Psychology Human minds ‘group’ things Our perception is affected by this behavior subjective contours occlusion familiar configuration http://en.wikipedia.org/wiki/Gestalt_psychology

Emergence Find the dog http://en.wikipedia.org/wiki/Gestalt_psychology

Gestalt Factors These factors are intuitively obvious to humans BUT are difficult to code into a computer

Segmentation via Clustering Concept: Cluster similar pixels/features together Color being an obvious choice source: K. Grauman

K-Means Clustering K-means clustering is based on the intensity or color of pixels Essentially is a vector quantization of the image attributes (intensity or color) Notice the clusters need not be spatially localized Image Intensity-based clusters Color-based clusters source: S. Lazebnik

Segmentation via Clustering Cluster similar pixels/features together Color PLUS LOCATION source: K. Grauman

Cluster Color AND Location Clustering based on (r, g, b, x, y) values leads to greater spatial coherence source: S. Lazebnik

Summary: K-means Segmentation Good Simple Converges to local minimum of the error function Bad Uses lots of memory Human picks K Sensitive to initialization Sensitive to outliers Only finds ‘sphere-like’ clusters source: S. Lazebnik

Summary: K-means Segmentation Good Simple Converges to local minimum of the error function Bad Uses lots of memory Human picks K Sensitive to initialization Sensitive to outliers Only finds ‘sphere-like’ clusters Good Simple Converges to local minimum of the error function Bad Uses lots of memory Human picks K Sensitive to initialization Sensitive to outliers Only finds ‘sphere-like’ clusters source: S. Lazebnik

Questions So Far? Questions on K-Means Segmentation?

Mean Shift Clustering An advanced and versatile method of clustering-based segmentation http://www.caip.rutgers.edu/~comanici/MSPAMI/msPamiResults.html Mean Shift: A Robust Approach toward Feature Space Analysis, D. Comaniciu and P. Meer, PAMI 2002.

Mean Shift Algorithm Seeks modes or local maxima of density in the feature space Feature space (L*u*v* color values) image L = luminance u and v are spatial coordinates source: S. Lazebnik

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

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

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

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

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

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

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

Mean Shift Clustering Define Cluster as Define Attraction Basin as all data points in the attraction basin of a mode Define Attraction Basin as the region for which all trajectories lead to the same mode Slide by Y. Ukrainitz & B. Sarel

Mean Shift Clustering / Segmentation Find Features (color, gradients, texture…) Initialize windows at individual feature points Perform mean shift for each window until convergence Merge windows that end near the same ‘peak’ or mode source: S. Lazebnik

Example: Mean Shift Results http://www.caip.rutgers.edu/~comanici/MSPAMI/msPamiResults.html

Mean Shift Results (c1)

Mean Shift Results (c2)

Summary: Mean Shift Good Bad Does not assume spherical clusters Takes a single parameter (window size) Finds variable number of nodes Robust outliers Bad Output depends on window size Computationally expensive Does not scale well with dimension of feature space

Questions So Far? Questions on Mean Shift Clustering/Segmentation?

More Questions? Beyond D2L Examples and information can be found online at: http://docdingle.com/teaching/cs.html Continue to more stuff as needed

Extra Reference Stuff Follows

Credits Much of the content derived/based on slides for use with the book: Digital Image Processing, Gonzalez and Woods Some layout and presentation style derived/based on presentations by Donald House, Texas A&M University, 1999 Sventlana Lazebnik, UNC, 2010 Noah Snavely, Cornell University, 2012 Xin Li, WVU, 2014 George Wolberg, City College of New York, 2015 Yao Wang and Zhu Liu, NYU-Poly, 2015