Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Segmentation and Grouping Motivation: not information is evidence Obtain a.

Slides:



Advertisements
Similar presentations
Computer Vision - A Modern Approach Set: Probability in segmentation Slides by D.A. Forsyth Missing variable problems In many vision problems, if some.
Advertisements

Segmentácia farebného obrazu
Segmentation Course web page: vision.cis.udel.edu/~cv May 2, 2003  Lecture 29.
Human-Computer Interaction Human-Computer Interaction Segmentation Hanyang University Jong-Il Park.
Lecture 6 Image Segmentation
Image segmentation. The goals of segmentation Group together similar-looking pixels for efficiency of further processing “Bottom-up” process Unsupervised.
Segmentation. Terminology Segmentation, grouping, perceptual organization: gathering features that belong together Fitting: associating a model with observed.
Normalized Cuts and Image Segmentation Jianbo Shi and Jitendra Malik, Presented by: Alireza Tavakkoli.
Computer Vision - A Modern Approach Set: Linear Filters Slides by D.A. Forsyth Differentiation and convolution Recall Now this is linear and shift invariant,
Region Segmentation. Find sets of pixels, such that All pixels in region i satisfy some constraint of similarity.
Image Segmentation Chapter 14, David A. Forsyth and Jean Ponce, “Computer Vision: A Modern Approach”.
Segmentation and Clustering. Segmentation: Divide image into regions of similar contentsSegmentation: Divide image into regions of similar contents Clustering:
Segmentation CSE P 576 Larry Zitnick Many slides courtesy of Steve Seitz.
Computer Vision - A Modern Approach
Segmentation Divide the image into segments. Each segment:
Announcements Project 2 more signup slots questions Picture taking at end of class.
Segmentation Kyongil Yoon. Segmentation Obtain a compact representation of what is helpful (in the image) No comprehensive theory of segmentation Human.
Segmentation Graph-Theoretic Clustering.
Computer Vision Segmentation Marc Pollefeys COMP 256 Some slides and illustrations from D. Forsyth, T. Darrel,...
Segmentation by Clustering Reading: Chapter 14 (skip 14.5) Data reduction - obtain a compact representation for interesting image data in terms of a set.
Segmentation and Grouping
Image Segmentation Some slides: courtesy of O. Capms, Penn State, J.Ponce and D. Fortsyth, Computer Vision Book.
Perceptual Organization: Segmentation and Optical Flow.
Announcements vote for Project 3 artifacts Project 4 (due next Wed night) Questions? Late day policy: everything must be turned in by next Friday.
Computer Vision Segmentation Marc Pollefeys COMP 256 Some slides and illustrations from D. Forsyth, T. Darrel,...
Segmentation Slides Credit: Jim Rehg, G.Tech. Christopher Rasmussen, UD John Spletzer, Lehigh Also, Slides adopted from material provided by David Forsyth.
Clustering Unsupervised learning Generating “classes”
Image Segmentation Image segmentation is the operation of partitioning an image into a collection of connected sets of pixels. 1. into regions, which usually.
Graph-based consensus clustering for class discovery from gene expression data Zhiwen Yum, Hau-San Wong and Hongqiang Wang Bioinformatics, 2007.
Image Segmentation Rob Atlas Nick Bridle Evan Radkoff.
Computer Vision James Hays, Brown
Segmentation Techniques Luis E. Tirado PhD qualifying exam presentation Northeastern University.
CSE 185 Introduction to Computer Vision Pattern Recognition.
Segmentation using eigenvectors
CSSE463: Image Recognition Day 34 This week This week Today: Today: Graph-theoretic approach to segmentation Graph-theoretic approach to segmentation Tuesday:
Segmentation by Clustering
Segmentation using eigenvectors Papers: “Normalized Cuts and Image Segmentation”. Jianbo Shi and Jitendra Malik, IEEE, 2000 “Segmentation using eigenvectors:
Region Segmentation Readings: Chapter 10: 10.1 Additional Materials Provided K-means Clustering (text) EM Clustering (paper) Graph Partitioning (text)
Computer Vision Lecture 5. Clustering: Why and How.
Segmentation Course web page: vision.cis.udel.edu/~cv May 7, 2003  Lecture 31.
Chapter 14: SEGMENTATION BY CLUSTERING 1. 2 Outline Introduction Human Vision & Gestalt Properties Applications – Background Subtraction – Shot Boundary.
CSE 185 Introduction to Computer Vision Pattern Recognition 2.
Image segmentation Prof. Noah Snavely CS1114
CS654: Digital Image Analysis
Made by: Maor Levy, Temple University Many data points, no labels 2.
Segmentation & Grouping Tuesday, Sept 23 Kristen Grauman UT-Austin.
Image Segmentation Shengnan Wang
 In the previews parts we have seen some kind of segmentation method.  In this lecture we will see graph cut, which is a another segmentation method.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP10 Advanced Segmentation Miguel Tavares.
Advanced Artificial Intelligence Lecture 8: Advance machine learning.
Motion Segmentation at Any Speed Shrinivas J. Pundlik Department of Electrical and Computer Engineering, Clemson University, Clemson, SC.
Digital Image Processing CCS331 Relationships of Pixel 1.
Normalized Cuts and Image Segmentation Patrick Denis COSC 6121 York University Jianbo Shi and Jitendra Malik.
Document Clustering with Prior Knowledge Xiang Ji et al. Document Clustering with Prior Knowledge. SIGIR 2006 Presenter: Suhan Yu.
K-Means Segmentation.
Miguel Tavares Coimbra
Segmentation by clustering: normalized cut
Exercise class 13 : Image Segmentation
CSSE463: Image Recognition Day 34
Lecture: Clustering and Segmentation
Segmentation and Grouping
Segmentation Graph-Theoretic Clustering.
Grouping.
Emel Doğrusöz Esra Ataer Muhammet Baştan Tolga Can
Seam Carving Project 1a due at midnight tonight.
Image Segmentation CS 678 Spring 2018.
Spectral Clustering Eric Xing Lecture 8, August 13, 2010
Announcements Project 4 questions Evaluations.
Announcements Project 4 out today (due Wed March 10)
CSSE463: Image Recognition Day 34
Presentation transcript:

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Segmentation and Grouping Motivation: not information is evidence Obtain a compact representation from an image/motion sequence/set of tokens Should support application Broad theory is absent at present Grouping (or clustering) –collect together tokens that “belong together” Fitting –associate a model with tokens –issues which model? which token goes to which element? how many elements in the model?

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth General ideas tokens –whatever we need to group (pixels, points, surface elements, etc., etc.) top down segmentation –tokens belong together because they lie on the same object bottom up segmentation –tokens belong together because they are locally coherent These two are not mutually exclusive

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Why do these tokens belong together?

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Basic ideas of grouping in humans Figure-ground discrimination –grouping can be seen in terms of allocating some elements to a figure, some to ground –impoverished theory Gestalt properties –elements in a collection of elements can have properties that result from relationships (Muller-Lyer effect) gestaltqualitat –A series of factors affect whether elements should be grouped together Gestalt factors

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Technique: Shot Boundary Detection Find the shots in a sequence of video –shot boundaries usually result in big differences between succeeding frames Strategy: –compute interframe distances –declare a boundary where these are big Possible distances –frame differences –histogram differences –block comparisons –edge differences Applications: –representation for movies, or video sequences find shot boundaries obtain “most representative” frame –supports search

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Technique: Background Subtraction If we know what the background looks like, it is easy to identify “interesting bits” Applications –Person in an office –Tracking cars on a road –surveillance Approach: –use a moving average to estimate background image –subtract from current frame –large absolute values are interesting pixels trick: use morphological operations to clean up pixels

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Segmentation as clustering Cluster together (pixels, tokens, etc.) that belong together Agglomerative clustering –attach closest to cluster it is closest to –repeat Divisive clustering –split cluster along best boundary –repeat Point-Cluster distance –single-link clustering –complete-link clustering –group-average clustering Dendrograms –yield a picture of output as clustering process continues

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth K-Means Choose a fixed number of clusters Choose cluster centers and point-cluster allocations to minimize error can’t do this by search, because there are too many possible allocations. Algorithm –fix cluster centers; allocate points to closest cluster –fix allocation; compute best cluster centers x could be any set of features for which we can compute a distance (careful about scaling)

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth K-means clustering using intensity alone and color alone Image Clusters on intensityClusters on color

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth K-means using color alone, 11 segments Image Clusters on color

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth K-means using color alone, 11 segments.

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth K-means using colour and position, 20 segments

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Graph theoretic clustering Represent tokens using a weighted graph. –affinity matrix Cut up this graph to get subgraphs with strong interior links

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Measuring Affinity Intensity Texture Distance

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Scale affects affinity

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Eigenvectors and cuts Simplest idea: we want a vector a giving the association between each element and a cluster We want elements within this cluster to, on the whole, have strong affinity with one another We could maximize But need the constraint This is an eigenvalue problem - choose the eigenvector of A with largest eigenvalue

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Example eigenvector points matrix eigenvector

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth More than two segments Two options –Recursively split each side to get a tree, continuing till the eigenvalues are too small –Use the other eigenvectors

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Normalized cuts Current criterion evaluates within cluster similarity, but not across cluster difference Instead, we’d like to maximize the within cluster similarity compared to the across cluster difference Write graph as V, one cluster as A and the other as B Maximize i.e. construct A, B such that their within cluster similarity is high compared to their association with the rest of the graph

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Normalized cuts Write a vector y whose elements are 1 if item is in A, -b if it’s in B Write the matrix of the graph as W, and the matrix which has the row sums of W on its diagonal as D, 1 is the vector with all ones. Criterion becomes and we have a constraint This is hard to do, because y’s values are quantized

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Normalized cuts Instead, solve the generalized eigenvalue problem which gives Now look for a quantization threshold that maximises the criterion --- i.e all components of y above that threshold go to one, all below go to - b

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Figure from “Image and video segmentation: the normalised cut framework”, by Shi and Malik, copyright IEEE, 1998

Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth F igure from “Normalized cuts and image segmentation,” Shi and Malik, copyright IEEE, 2000