Documentos de Académico
Documentos de Profesional
Documentos de Cultura
1 / 34
Normalized Cut
O UTLINE
1
I NTRODUCTION
G RAPH PARTITIONING
N ORMALIZED C UT
R ESULTS
Segmentation Results Comparison with other Graph-partition Methods
C ONCLUSION
2 / 34
Normalized Cut
O UTLINE
1
I NTRODUCTION
2 Graph Partitioning using Normalized Cut Graph Representation Minimum Cut for Partitioning Normalized Cut 3 Results Segmentation Results Comparison with other Graph-partition Methods 4 Conclusion
3 / 34
Normalized Cut
Introduces a general framework for perceptual grouping (Shi and Malik [2000])
4 / 34
Normalized Cut
Introduces a general framework for perceptual grouping (Shi and Malik [2000])
Which one is the right one? May not be a single correct answer
4 / 34
Normalized Cut
Introduces a general framework for perceptual grouping (Shi and Malik [2000])
Which one is the right one? May not be a single correct answer
4 / 34
Normalized Cut
Introduces a general framework for perceptual grouping (Shi and Malik [2000])
Which one is the right one? May not be a single correct answer
4 / 34
Normalized Cut
P ROBLEM F ORMULATION
What is the criterion that should be optimized? Is there an efcient algorithm to optimize the criterion?
5 / 34
Normalized Cut
P ROBLEM F ORMULATION
What is the criterion that should be optimized? Is there an efcient algorithm to optimize the criterion?
A graph theoretic criterion for image segmentation An efcient algorithm to optimize the criterion
5 / 34
Normalized Cut
P ROBLEM F ORMULATION
What is the criterion that should be optimized? Is there an efcient algorithm to optimize the criterion?
A graph theoretic criterion for image segmentation An efcient algorithm to optimize the criterion
V = set of vertices, each vertex represents a pixel vi . E = set of edges between a pair of vertices.
5 / 34
Normalized Cut
P ROBLEM F ORMULATION
What is the criterion that should be optimized? Is there an efcient algorithm to optimize the criterion?
A graph theoretic criterion for image segmentation An efcient algorithm to optimize the criterion
V = set of vertices, each vertex represents a pixel vi . E = set of edges between a pair of vertices.
High similarity within any group Vi Low similarity across different groups Vi and Vj
5 / 34 Normalized Cut
O UTLINE
1 Introduction and Overview Overview of the Paper Problem Formulation 2
G RAPH PARTITIONING
USING
N ORMALIZED C UT
6 / 34
Normalized Cut
G RAPH R EPRESENTATION
wij vi
7 / 34
Normalized Cut
M INIMUM C UT PARTITION
Graph cut:
cut (A, B ) =
u A,v B
w (u , v )
8 / 34
Normalized Cut
M INIMUM C UT PARTITION
Graph cut:
cut (A, B ) =
u A,v B
w (u , v )
8 / 34
Normalized Cut
M INIMUM C UT PARTITION
Graph cut:
cut (A, B ) =
u A,v B
w (u , v )
Problem: Small sets with isolated nodes (Wu and Leahy [1993])
8 / 34
Normalized Cut
M INIMUM C UT PARTITION
F IGURE : Mincut generates isolated small groups (Shi and Malik [2000])
9 / 34
Normalized Cut
N ORMALIZED C UT
Normalized Cut: Ncut (A, B ) as a measure of disassociation: Ncut (A, B ) = where assoc (A, V ) = cut (A, B ) assoc (A, V )
u A,t V
w (u , t )
10 / 34
Normalized Cut
N ORMALIZED C UT
Normalized Cut: Ncut (A, B ) as a measure of disassociation: Ncut (A, B ) = where assoc (A, V ) = cut (A, B ) assoc (A, V )
u A,t V
w (u , t )
assoc (B , B ) assoc (B , V )
10 / 34
Normalized Cut
N ORMALIZED C UT
Normalized Cut: Ncut (A, B ) as a measure of disassociation: Ncut (A, B ) = where assoc (A, V ) = cut (A, B ) assoc (A, V )
u A,t V
w (u , t )
assoc (B , B ) assoc (B , V )
N ORMALIZED C UT
11 / 34
Normalized Cut
N ORMALIZED C UT
Ncut (A, B ) can be written as: cut (A, B ) cut (A, B )
Ncut (A, B )
= =
assoc (A, V ) assoc (B , V ) xi >0,xj <0 wij xi xj xi >0,xj <0 wij xi xj + xi >0 di xi <0 di
where d (i ) = j w (i , j )
Optimization Problem:
(1)
Subject to xi {1, 1}
12 / 34
Normalized Cut
R ELAXATION OF N ORMALIZED C UT
The objective function (1) can be written as: min Ncut (x) = min
x y
yT (D W )y yT Dy
(2)
Still an NP-Complete problem Relax by yi After relaxation, (2) becomes the well-known Rayleigh quotient
13 / 34
Normalized Cut
R ELAXATION OF N ORMALIZED C UT
Rayleigh quotient can be minimized by solving the generalized eigenvalue system: (D W )y = Dy (3) We can also rewrite as standard eigenvalue problem: D 2 (D W )D 2 z = z where z = D 2 y
1 1 1
14 / 34
Normalized Cut
R ELAXATION OF N ORMALIZED C UT
Rayleigh quotient can be minimized by solving the generalized eigenvalue system: (D W )y = Dy (3) We can also rewrite as standard eigenvalue problem: D 2 (D W )D 2 z = z where z = D 2 y
1 1 1
Solution: The second smallest eigenvector of the normalized Laplacian matrix Lsym = D 2 (D W )D 2
1 1
(4)
14 / 34
Normalized Cut
G ROUPING A LGORITHM
(D W )x = Dx
3
Use the eigenvector with the second smallest eigenvalue to bipartition the graph Decide if the current partition should be subdivided. If necessary, recursively repartition the segmented parts.
15 / 34
Normalized Cut
F IGURE : Segmentation of a gray scale image of a baseball game (Shi and Malik [2000])
16 / 34
Normalized Cut
wij = e
F(i ) F (j ) 2 I2
e 0
X(i ) X (j ) 2 2 X
<r
F(i ) = Feature vector of i-th pixel (brightness, texture, motion etc.) X(i ) = Spatial location of i-th pixel
17 / 34
Normalized Cut
(D W )y = Dy
Transform to standard eigenvalue problem: D 2 (D W )D 2 z = z
1 1
(5)
Complexity: O (n3 ) For sparse graphs, signicant speedup by Lanczos method (O (mn))
18 / 34
Normalized Cut
Eigenvectors can take continuous values (due to relaxation) Find a splitting point that bipartitions the Graph Two approaches are suggested:
Use a threshold value of 0 or median value Search for the splitting point that minimizes Ncut (A, B )
19 / 34
Normalized Cut
4. R ECURSIVE PARTITIONING
Use next eigenvectors to recursively repartition each of the parts Decide whether to repartition:
Stop recursion if the Ncut value exceeds a threshold Ignore eigenvectors that are unstable (smoothly varying)
20 / 34
Normalized Cut
F IGURE : Segmentation of a gray scale image of a baseball game (Shi and Malik [2000])
21 / 34
Normalized Cut
S EGMENTATION R ESULT
F IGURE : Resulting partitions with Ncut < 0.04. Parameter setting:I = 0.1, X = 4.0, r = 5 (Shi and Malik [2000])
23 / 34
Normalized Cut
O UTLINE
1 Introduction and Overview Overview of the Paper Problem Formulation 2 Graph Partitioning using Normalized Cut Graph Representation Minimum Cut for Partitioning Normalized Cut 3
R ESULTS
Segmentation Results Comparison with other Graph-partition Methods
4 Conclusion
24 / 34
Normalized Cut
26 / 34
Normalized Cut
27 / 34
Normalized Cut
28 / 34
Normalized Cut
F IGURE : Comparable results for all 3 methods (Shi and Malik [2000])
31 / 34 Normalized Cut
O UTLINE
1 Introduction and Overview Overview of the Paper Problem Formulation 2 Graph Partitioning using Normalized Cut Graph Representation Minimum Cut for Partitioning Normalized Cut 3 Results Segmentation Results Comparison with other Graph-partition Methods 4
C ONCLUSION
32 / 34
Normalized Cut
C ONCLUSION
Normalized Cut does satisfy the two requirements The paper proposes an algorithm for approximate solution Can be expensive for large graphs (O (N 3 )) There are ways to improve scalability (speed/memory)
Lanczos method for sparse graph Power Iteration Clustering (Lin and Cohen [2010]) KASP (Yan et al. [2009])
33 / 34
Normalized Cut
R EFERENCES
F. Lin and W.W. Cohen. Power iteration clustering. ICML, 2010. J. Shi and J. Malik. Normalized cuts and image segmentation. IEEE Transactions on pattern analysis and machine intelligence, 22(8):888905, 2000. Z. Wu and R. Leahy. An optimal graph theoretic approach to data clustering: Theory and its application to image segmentation. IEEE transactions on pattern analysis and machine intelligence, pages 11011113, 1993. ISSN 0162-8828. D. Yan, L. Huang, and M.I. Jordan. Fast approximate spectral clustering. In Proceedings of the 15th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 907916. ACM, 2009.
34 / 34
Normalized Cut