CSSE463: Image Recognition Day 34

Slides:



Advertisements
Similar presentations
Normalized Cuts and Image Segmentation
Advertisements

Clustering II CMPUT 466/551 Nilanjan Ray. Mean-shift Clustering Will show slides from:
10/11/2001Random walks and spectral segmentation1 CSE 291 Fall 2001 Marina Meila and Jianbo Shi: Learning Segmentation by Random Walks/A Random Walks View.
Lecture 6 Image Segmentation
Image segmentation. The goals of segmentation Group together similar-looking pixels for efficiency of further processing “Bottom-up” process Unsupervised.
Lecture 21: Spectral Clustering
CS 376b Introduction to Computer Vision 04 / 08 / 2008 Instructor: Michael Eckmann.
Normalized Cuts and Image Segmentation Jianbo Shi and Jitendra Malik, Presented by: Alireza Tavakkoli.
© 2003 by Davi GeigerComputer Vision October 2003 L1.1 Image Segmentation Based on the work of Shi and Malik, Carnegie Mellon and Berkley and based on.
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 CSE P 576 Larry Zitnick Many slides courtesy of Steve Seitz.
Segmentation Divide the image into segments. Each segment:
Announcements Project 2 more signup slots questions Picture taking at end of class.
CS 376b Introduction to Computer Vision 04 / 04 / 2008 Instructor: Michael Eckmann.
Segmentation Graph-Theoretic Clustering.
Computer Vision Segmentation Marc Pollefeys COMP 256 Some slides and illustrations from D. Forsyth, T. Darrel,...
Cutting complete weighted graphs Jameson Cahill Ido Heskia Math/CSC 870 Spring 2007.
Image Segmentation Some slides: courtesy of O. Capms, Penn State, J.Ponce and D. Fortsyth, Computer Vision Book.
Image Matching via Saliency Region Correspondences Alexander Toshev Jianbo Shi Kostas Daniilidis IEEE Conference on Computer Vision and Pattern Recognition.
Image Segmentation A Graph Theoretic Approach. Factors for Visual Grouping Similarity (gray level difference) Similarity (gray level difference) Proximity.
Perceptual Organization: Segmentation and Optical Flow.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
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 and Perceptual Grouping The problem Gestalt Edge extraction: grouping and completion Image segmentation.
Computer Vision - A Modern Approach Set: Segmentation Slides by D.A. Forsyth Segmentation and Grouping Motivation: not information is evidence Obtain a.
Segmentation via Graph Cuts
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 Techniques Luis E. Tirado PhD qualifying exam presentation Northeastern University.
Presenter : Kuang-Jui Hsu Date : 2011/5/3(Tues.).
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 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)
Image Segmentation February 27, Implicit Scheme is considerably better with topological change. Transition from Active Contours: –contour v(t) 
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.
Jad silbak -University of Haifa. What we have, and what we want: Most segmentations until now focusing on local features (K-Means). We would like to extract.
Learning Spectral Clustering, With Application to Speech Separation F. R. Bach and M. I. Jordan, JMLR 2006.
 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.
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
Image Segmentation Today’s Readings Szesliski Chapter 5
Segmentation by clustering: normalized cut
CSSE463: Image Recognition Day 34
Segmentation and Grouping
Segmentation Graph-Theoretic Clustering.
Grouping.
CSSE463: Image Recognition Day 27
Digital Image Processing
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
Segmentation (continued)
CSSE463: Image Recognition Day 31
CSSE463: Image Recognition Day 30
CSSE463: Image Recognition Day 27
CSSE463: Image Recognition Day 30
Announcements Project 4 out today (due Wed March 10)
Announcements Project 1 is out today help session at the end of class.
CSSE463: Image Recognition Day 30
“Traditional” image segmentation
Winter in Kraków photographed by Marcin Ryczek
IT472 Digital Image Processing
Presentation transcript:

CSSE463: Image Recognition Day 34 This week Today: Finish Adaboost Graph-theoretic approach to segmentation Thursday: Project workday (no quiz #2) Friday: status reports Questions?

Segmentation Goal: we want the pixels in each region to be similar to each other, but different than ones in other regions. Measures of affinity: Color, distance, edges, texture, etc.

Graph-theoretic segmentation J Shi and J Malik, Normalized Cuts and Image Segmentation, IEEE TPAMI, 22(8), Aug 2000. Posted in Angel > Papers in Angel Much of the next set of slides is from Forsyth & Ponce, section 14.5. But first, what’s a graph? (on board) Undirected vs. directed Weight matrices Can use V = {a,b,c,d,e}, E={ab,bc,ac,ce,de}. Discuss removing cd, ce and forming subgraphs Q2a-b

What’s graph-based segmentation? From images to graphs: Each pixel is a vertex Each edge represents an affinity between pixels Color, texture, distance, edges, etc. Cut the graph into two subgraphs (regions) with high affinity within each subgraph and low affinity across subgraphs Recurse How? An exact solution is NP-complete. For NP-completeness proof, see Shi and Malik, App A Q1

Split such that large weights (affinity) within cluster, low weights between clusters

Weight matrix Brighter = Larger weights Ordered such that each cluster (blocks) is on the diagonal. Cutting the graph gives two separate blocks

Measuring Affinity Recall: goal is for similar pixels to have higher affinity Intensity Distance here c(x) is a vector of filter outputs. A natural thing to do is to square the outputs of a range of different filters at different scales and orientations, smooth the result, and rack these into a vector. What if c(x) == c(y)? What if they are very different? Color

Scale affects affinity This is figure 14.18 Affinity by distance with sd = 0.1, sd=0.2, sd=1

How to segment There are some techniques that ignore across-cluster distance (and only use within-cluster affinity). We’ll ignore these Want to minimize the cut between clusters A and B: In this graph, cut(left, right) = ___ This creates two segments like discussed above. However, it favors small regions Q2c

Normalized cuts (ncuts) approach Want to weight the cut by the total association with the whole graph Example. This is equivalent to maximizing: Intuition: maximize the association (total affinity) within each cluster relative to its association with the whole graph Q2d-e

How do we find min Ncut()? Let W be the matrix of weights Let d be the total affinity of pixel d with the rest of the image (row sums of W), and D be a matrix with the d(i) on the diagonal Let x be a vector whose elements are 1 if item is in A, -1 if it’s in B, Let y = f(x,d) defined in the paper. 1 is the vector with all ones. Criterion becomes subject to the constraint See p. 890, Shi and Malik for details

Normalized cuts To do this, we can solve the generalized eigenvalue problem which gives The authors showed that the solution, y, corresponding to the second smallest eigenvalue solves this problem (the smallest is a trivial solution). When y is discrete, this is np-hard. Solution: assume y is continuous, solve, then threshold to give the clusters (approximation) Recursively split clusters until we pass a threshold on the cut value. See bottom of p. 890.

Results with color + texture This is figure 14.23 - caption there explains it all. Figure from “Image and video segmentation: the normalised cut framework”, by Shi and Malik, copyright IEEE, 1998

Results with motion This uses distances too Q3 Figure from “Normalized cuts and image segmentation,” Shi and Malik, copyright IEEE, 2000 This is figure 14.24, whose caption gives the story This uses distances too Q3