Normalized cuts and image segmentation
Summary (4 min read)
1 INTRODUCTION
- The authors present a general framework for this problem, focusing specifically on the case of image segmentation.
- There are two aspects to be considered here.
- The authors propose a new graph-theoretic criterion for measuring the goodness of an image partitionÐthe normalized cut.
2 GROUPING AS GRAPH PARTITIONING
- The degree of dissimilarity between these two pieces can be computed as total weight of the edges that have been removed.
- Finding the minimum cut of a graph is a well-studied problem and there exist efficient algorithms for solving it.
- Wu and Leahy [25] proposed a clustering method based on this minimum cut criterion.
- In fact, any cut that partitions out individual nodes on the right half will have smaller cut value than the cut that partitions the nodes into the left and right halves.
- In the same spirit, the authors can define a measure for total normalized association within groups for a given partition: Nassoc A;B assoc A;A assoc A; V assoc B;B assoc B; V ; 3 where assoc A;A and assoc B;B are total weights of edges connecting nodes within A and B, respectively.
2.1 Computing the Optimal Partition
- Hence, z0 is, in fact, the smallest eigenvector of (7) and all eigenvectors of (7) are perpendicular to each other.
- Now, recall a simple fact about the Rayleigh quotient [11]: Let A be a real symmetric matrix.
- Thus, the second smallest eigenvector of the generalized eigensystem (6) is the real valued solution to their normalized cut problem.
- Roughly speaking, this forces the indicator vector y to take similar values for nodes i and j that are tightly coupled (large wij).
3 THE GROUPING ALGORITHM
- The authors grouping algorithm consists of the following steps: 1. Given an image or image sequence, set up a weighted graph G V;E and set the weight on the edge connecting two nodes to be a measure of the similarity between the two nodes.
- Dx for eigenvectors with the smallest eigenvalues.
- Use the eigenvector with the second smallest eigenvalue to bipartition the graph.
- Decide if the current partition should be subdivided and recursively repartition the segmented parts if necessary.
- The grouping algorithm, as well as its computational complexity, can be best illustrated by using the following example.
3.1 Example: Brightness Images
- The weight on that edge should reflect the likelihood that the two pixels belong to one object.
- In the ideal case, the eigenvector should only take on two discrete values and the signs of the values can tell us exactly how to partition the graph.
- One can take 0 or the median value as the splitting point or one can search for the splitting point such that the resulting partition has the best Ncut A;B value.
- After the graph is broken into two pieces, the authors can recursively run their algorithm on the two partitioned parts.
- In their experiments, the authors find that simple thresholding on the ratio described above can be used to exclude unstable eigenvectors.
3.2 Recursive Two-Way Ncut
- Dx for eigenvectors with the smallest eigenvalues.
- Use the eigenvector with the second smallest eigenvalue to bipartition the graph by finding the splitting point such that Ncut is minimized.
- Decide if the current partition should be subdivided by checking the stability of the cut, and make sure Ncut is below the prespecified value.
- Recursively repartition the segmented parts if necessary.
- The number of groups segmented by this method is controlled directly by the maximum allowed Ncut.
3.3 Simultanous K-Way Cut with Multiple Eigenvectors
- One drawback of the recursive 2-way cut is its treatment of the oscillatory eigenvectors.
- Also, the approach is computationally wasteful; only the second eigenvector is used, whereas the next few small eigenvectors also contain useful partitioning information.
- Ðthey exacerbate the oversegmentation, but that will be dealt with subsequently.
- In the second step, one can proceed in the following two ways: 1. Greedy pruning: Iteratively merge two segments at a time until only k segments are left.
- The results presented in this paper are all based on the recursive 2-way partitioning algorithm outlined in Section 3.2.
4 EXPERIMENTS
- The authors have applied their grouping algorithm to image segmentation based on brightness, color, texture, or motion information.
- Note that the weight wij 0 for any pair of nodes i and j that are more than r pixels apart.
- Fig. 5 shows a point set and the segmentation result.
- The normalized cut criterion is indeed able to partition the point set in a desirable way.
- In the motion case, the authors will treat the image sequence as a spatiotemporal data set.
4.1 Computation Time
- On the 100 120 test images shown here, the normalized cut algorithm takes about 2 minutes on Intel Pentium 200MHz machines.
- A multiresolution implementation can be used to reduce this running time further on larger images.
- In their current experiments, with this implementation, the running time on a 300 400 image can be reduced to about 20 seconds on Intel Pentium 300MHz machines.
- In their current implementation, the sparse eigenvalue decomposition is computed using the LASO2 numerical package developed by Scott.
4.2 Choice of Graph Edge Weight
- The exponential weighting function is chosen here for its relative simplicity, as well as neutrality, since the focus of this paper is on developing a general segmentation procedure, given a feature similarity measure.
- The authors found this choice of weight function is quite adequate for typical image and feature spaces.
- Section 6.1 shows the effect of using different weighting functions and parameters on the output of the normalized cut algorithm.
- The general problem of defining feature similarity incorporating a variety of cues is not a trivial one.
- Some of these issues are addressed in [15].
5 RELATIONSHIP TO SPECTRAL GRAPH THEORY
- The computational approach that the authors have developed for image segmentation is based on concepts from spectral graph theory.
- This is a rich area of mathematics and the idea of using eigenvectors of the Laplacian for finding partitions of graphs can be traced back to Cheeger [4], Donath and Hoffman [7], and Fiedler [9].
- Chung points out that the eigenvalues of this ªnormalizedº.
- One cannot simultaneously minimize the disasso- ciation across the partitions while maximizing the association within the groups.
- There are also other explanations why the normalized cut has better behavior from graph theoretical point of view, as pointed out by Chung [5].
5.1 A Physical Interpretation
- As one might expect, a physical analogy can be set up for the generalized eigenvalue system (6) that the authors used to approximate the solution of normalized cut.
- The authors can construct a spring-mass system from the weighted graph by taking graph nodes as physical nodes and graph edges as springs connecting each pair of nodes.
- Nodes that have stronger spring connections among them will likely oscillate together.
- Eventually, the group will ªpopº off from the image plane.
- In fact, it can be shown that the fundamental modes of oscillation of this spring mass system are exactly the generalized eigenvectors of (6).
6 RELATIONSHIP TO OTHER GRAPH THEORETIC APPROACHES TO IMAGE SEGMENTATION
- In the computer vision community, there has been some been previous work on image segmentation formulated as a graph partition problem.
- Wu and Leahy [25] use the minimum cut criterion for their segmentation.
- Cox et al. use an efficient discrete algorithm to solve their optimization problem assuming the graph is planar.
- Sarkar and Boyer [19] use the eigenvector with the largest eigenvalue of the system Using a similar derivation as in Section 2.1, the authors can see that the first largest eigenvector of their system approximates minA V assoc A;A jAj and the second largest eigenvector approximates minA V ;B V assoc A;A jAj assoc B;B jBj .
- As the authors will see later in the section, this situation can happen quite often in practice.
7 CONCLUSION
- The authors developed a grouping algorithm based on the view that perceptual grouping should be a process that aims to extract global impressions of a scene and provides a hierarchical description of it.
- By treating the grouping problem as a graph partitioning problem, the authors proposed the normalized cut criteria for segmenting the graph.
- In finding an efficient algorithm for computing the minimum normalized cut, the authors showed that a generalized eigenvalue system provides a real valued solution to their problem.
- A computational method based on this idea has been developed and applied to segmentation of brightness, color, and texture images.
- For all other partitions, the Ncut value will be bounded below by 4an cÿ1=c .
Did you find this useful? Give us your feedback
Citations
13,789 citations
Cites background or result from "Normalized cuts and image segmentat..."
...The main results in this paper were first presented in [ 20 ]....
[...]
...Our work, originally presented in [ 20 ], represents the first application of spectral partitioning to computer vision or image analysis....
[...]
9,141 citations
9,057 citations
8,059 citations
Cites background or methods from "Normalized cuts and image segmentat..."
..., (Shi and Malik 2000; Meila 2001), creates a stochastic matrix where each row sums to one: Lrw D−1L = I−D−1W (25....
[...]
...This suggests the following algorithm: find the smallest K eigenvectors of Lrw , create U, cluster the rows of U using K-means, then infer the partitioning of the original points (Shi and Malik 2000)....
[...]
7,849 citations
Cites background from "Normalized cuts and image segmentat..."
...Table 1 provides a qualitative and quanti- tative summary of the reviewed methods, including their relative performance....
[...]
...Index Terms—Superpixels, segmentation, clustering, k-means Ç...
[...]
References
24,320 citations
"Normalized cuts and image segmentat..." refers background or methods in this paper
...We constructed the graph G=(V,E) by taking each pixel as a node and defining the edge weight function as following: 2 2 2 ( , ) , i j i j I X F F X X i jW i j e e X X r σ σ − − − − = ∗ − 1 ( ), intensity ( ) [ , sin( ), cos( )]( ), color [ * , ..., * ]( ), texturen I i F i v v s h v s h i I f I f…...
[...]
...Computational complexity issues remain unsolved, even though the method performs well for a preprocessing....
[...]
18,761 citations
"Normalized cuts and image segmentat..." refers background in this paper
...While most of these ideas go back to the 1970s (and earlier), the 1980s brought in the use of Markov Random Fields [ 10 ] and variational formulations [17], [2], [14]....
[...]
9,439 citations
"Normalized cuts and image segmentat..." refers methods in this paper
...The clustering community [12] has offered us agglomerative and divisive algorithms; in image segmentation, we have region-based merge and split algorithms....
[...]
Related Papers (5)
Frequently Asked Questions (12)
Q2. How can the authors partition a graph into two disjoint sets?
A graph G V;E can be partitioned into two disjoint sets, A;B, A [B V , A \\B ;, by simply removing edges connecting the two parts.
Q3. How can the authors construct a spring-mass system from the weighted graph?
The authors can construct a spring-mass system from the weighted graph by taking graph nodes as physical nodes and graph edges as springs connecting each pair of nodes.
Q4. How many neighborhoods can be solved with the smallest eigenvalues?
the authors have foundthat one can remove up to 90 percent of the totalconnections with each of the neighborhoods whenthe neighborhoods are large without affecting theeigenvector solution to the system.
Q5. What is the stability criteria for a recursive 2-way cut?
The stability criteria keeps usfrom cutting oscillatory eigenvectors, but it also prevents uscutting the subsequent eigenvectors which might be perfectpartitioning vectors.
Q6. What is the smallest eigenvector of (7)?
Under the constraint that x is orthogonal to the j-1 smallest eigenvectors x1; . . . ; xjÿ1, the quotient xTAx xT x is minimized by the next smallesteigenvector xj and its minimum value is the corresponding eigenvalue j.
Q7. What is the way to partition a graph?
In the ideal case, the eigenvector should only take on two discrete values and the signs of the values can tell us exactly how to partition the graph.
Q8. What would happen if the authors were to give a hard shake to this spring-mass?
Imagine what would happen if the authors were to give a hard shake to this spring-mass system, forcing the nodes to oscillate in the direction perpendicular to the image plane.
Q9. What is the importance of knowledge about symmetries of objects?
Some of it is low level, such as coherence of brightness, color, texture, or motion, but equally important is mid- or highlevel knowledge about symmetries of objects or object models.
Q10. What is the way to explain the goodness of the approximation to the normalized?
Spectral graph theory provides us some guidance on the goodness of the approximation to the normalized cut provided by the second eigenvalue of the normalized Laplacian.
Q11. What is the way to find the minimum cut of a graph?
Although there are an exponential number of such partitions, finding the minimum cut of a graph is a well-studied problem and there exist efficient algorithms for solving it.
Q12. How long can the image run on a 300 400 machine?
In their currentexperiments, with this implementation, the running time ona 300 400 image can be reduced to about 20 seconds on Intel Pentium 300MHz machines.