Normalized Cuts and Image Segmentation Patrick Denis COSC 6121 York University Jianbo Shi and Jitendra Malik.

Slides:



Advertisements
Similar presentations
Liang Shan Clustering Techniques and Applications to Image Segmentation.
Advertisements

Segmentácia farebného obrazu
Normalized Cuts and Image Segmentation
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
Graph-Based Image Segmentation
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”.
A Unified View of Kernel k-means, Spectral Clustering and Graph Cuts
Normalized Cuts Demo Original Implementation from: Jianbo Shi Jitendra Malik Presented by: Joseph Djugash.
CS 376b Introduction to Computer Vision 04 / 04 / 2008 Instructor: Michael Eckmann.
Segmentation Graph-Theoretic Clustering.
Graph Cuts based segmentation methods: Daniel Heilper, CS Department, Haifa University.
Cutting complete weighted graphs Jameson Cahill Ido Heskia Math/CSC 870 Spring 2007.
Image Segmentation A Graph Theoretic Approach. Factors for Visual Grouping Similarity (gray level difference) Similarity (gray level difference) Proximity.
Presentation By Michael Tao and Patrick Virtue. Agenda History of the problem Graph cut background Compute graph cut Extensions State of the art Continued.
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,...
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
Graph-based Segmentation
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.
IAstro/IDHA Workshop Strasbourg Observatory November 2002 Vito Di Gesù, Giosuè Lo Bosco DMA – University of Palermo, ITALY THE.
Presenter : Kuang-Jui Hsu Date : 2011/5/3(Tues.).
Clustering appearance and shape by learning jigsaws Anitha Kannan, John Winn, Carsten Rother.
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.
Image Segmentation Superpixel methods Speaker: Hsuan-Yi Ko.
About Me Swaroop Butala  MSCS – graduating in Dec 09  Specialization: Systems and Databases  Interests:  Learning new technologies  Application of.
 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.
Spectral Clustering Shannon Quinn (with thanks to William Cohen of Carnegie Mellon University, and J. Leskovec, A. Rajaraman, and J. Ullman of Stanford.
A Tutorial on Spectral Clustering Ulrike von Luxburg Max Planck Institute for Biological Cybernetics Statistics and Computing, Dec. 2007, Vol. 17, No.
Some links between min-cuts, optimal spanning forests and watersheds Cédric Allène, Jean-Yves Audibert, Michel Couprie, Jean Cousty & Renaud Keriven ENPC.
Grouping and Segmentation Previously: model-based grouping (e.g., straight line, figure 8…) Now: general ``bottom-up” image organization (Like detecting-specific-brightness-patterns.
Document Clustering with Prior Knowledge Xiang Ji et al. Document Clustering with Prior Knowledge. SIGIR 2006 Presenter: Suhan Yu.
Course Introduction to Medical Imaging Segmentation 1 – Mean Shift and Graph-Cuts Guy Gilboa.
K-Means Segmentation.
Miguel Tavares Coimbra
Segmentation by clustering: normalized cut
Exercise class 13 : Image Segmentation
Region Segmentation Readings: Chapter 10: 10
CSSE463: Image Recognition Day 34
Segmentation and Grouping
Segmentation Graph-Theoretic Clustering.
Grouping.
Digital Image Processing
Image Segmentation CS 678 Spring 2018.
Spectral Clustering Eric Xing Lecture 8, August 13, 2010
3.3 Network-Centric Community Detection
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 34
“Traditional” image segmentation
Presentation transcript:

Normalized Cuts and Image Segmentation Patrick Denis COSC 6121 York University Jianbo Shi and Jitendra Malik

Presentation Flow Motivate image segmentation Image segmentation as a graph problem Min-Cut Normalized cut Optimal partition – computing the norm- cut Segmentation affinity measures Norm-cut algorithm Segmented Examples using Ncut Conclusion

Motivation Image segmentation is the problem of associating pixels to an object Images have a large search space can have a large number of pixels Knowing which pixels relate to which objects can help for recognition purposes One method to do image segmentation is to view it as a graph problem

Image Segmentation as a Graph Partition Problem The image segmentation problem will be transformed into a connected undirected weighted graph The weights are called affinity measures Affinity measures are a function of similarity between the nodes (e.g. Colour, distance, etc…) What is the precise criterion for a good partition? How can such a partition be computed efficiently?

Graph Cut Where A,B  V are two disjoint sets of nodes (A  B =  ) A graph cut is the sum of the weights for all the edges crossing the cut

Minimum Cut The optimal partition is one which minimizes the cut, a.k.a, Minimum Cut In terms of image segmentation, the min- cut represents pixels which have the least in common (since weights represents similarity measures) The min-cut is a measure of disassociation between two sets Wu and Leahy, in 1993 proposed a clustering method based on the min-cut The min-cut does produces good segmentation results, but not always…

Minimum Cut Min-cut favors individual nodes Using a distance affinity –Large distances have small weights –Small distances have greater weight Min-cut Better Cut

Normalized Cuts Shi and Malik in 2000 proposed a new measure of disassociation: Where, The norm-cut is the cost of the cut over the total edge connection

Normalized Cut Norm-Cut does not favor single nodes Remember, we need to minimize the cut Min-cut = 100%

Normalized Cut We can also define a Normalized Association measure This measure is representative of an average of how tightly connected the nodes are in a set We want to maximize the association and minimize the disassociation By minimizing the Norm-Cut actually maximizes the association since

Disadvantage of Norm-Cut Papadimitrou in 97 proved that finding the norm-cut is NP-Complete Fortunately, in practice, an approximation to the norm-cut can be found efficiently How do we compute the optimal norm- cut partition?

Optimal Partition Minimizing the norm-cut can be transformed into an eigenvalue problem: D is a Diagonal matrix of the total connection of a node in the graph W is the weight matrix y is a vector of with two discrete values {1, -b} This is an integer programming problem, and we must find y that will satisfy the minimization Problem isn’t any easier unless…

Optimal Partition But relaxing y to take real values we are solving this problem: Now we have an approximation to the solution and can set some threshold value Since the values in y are not discrete, we have to find a splitting point Which eigenvector do we use to represent the cut? The smallest eigenvalue will always be 0 We choose the second smallest

Optimal Partition Example 1-dimensional segmentation problem

Optimal Partition Example Affinity measure (distance) Second smallest eigenvector

Optimal Partition Example Second smallest eigenvectorAffinity measure (distance)

Wow, that was a lot! Image segmentation can be transformed as a graph partitioning problem Min-cut was not the optimal partition measure Norm-cut is a better measure of disassociation since it does not favor any particular nodes Minimizing the norm-cut also maximizes the internal association within clusters Computing the norm-cut is NP-Complete but can be approximated to an eigenvalue problem Affinity measure is important to your problem

Ncut applied to image segmentation Affinity measures –Distance Closer pixels should have greater weight Find a balance between neighbourhood size –Intensity Large differences in intensity should have small affinity –Color Similar colors should have greater affinity –Texture Similar textures should have greater affinity

Image Segmentation Algorithm Using Norm-Cut The image segmentation algorithm is described in 4 steps: 1.Create the weighted graph according to the affinities used 2.Solve the eigenvalue problem: 3.Use the second smallest eigenvector to bipartition the graph 4.Decide if the current partition should be subdivided and recursively repartition the segmented parts if necessary

Segmentation Examples using Norm-Cut The following images have been segmented following the norm-cut approach using Intervening contours

Segmentation Examples using Norm-Cut

NORM!!

Conclusion Introduce and motivate the problem of image segmentation Approach to this problem as a graph cut problem Introduce the norm-cut approach Show some examples

Thank you for listening Any Questions?

References Jianbo Shi and Jitendra Malik, “Normalized Cuts and Image Segmentation,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 22, no 8, Aug David A. Forsyth and Jean Ponce, “Computer Vision: A Modern Approach”, Chapter 14, Prentice Hall, NJ, Reprint 2003 Z. Wu and R. Leahy, “An Optimal Graph Theoretic Approach to Data Clustering: Theory and Its Application to Image Segmentation,” IEEE Trans. Pattern Analysis and Machine Intelligence, vol. 15, no 11, pp. 1,101-1,113, Nov. 1993