** Next:** Application to seismic
** Up:** Lomask and Clapp: Parallel
** Previous:** Introduction

Normalized cuts image segmentation partitions images into two groups. To do this, it first creates weights relating each sample to randomly selected samples along paths within local neighborhoods. These weights are stored in a sparse matrix . It then finds the cut that partitions the image into two groups, *A* and *B*, by minimizing the normalized cut:
| |
(1) |

where is the sum of the weights cut by the partition. is the sum of all weights in Group *A*, and is the sum of all weights in Group *B*. Normalizing the cut by the sum of all the weights in each group prevents the partition from selecting overly-small groups of nodes.
The minimum of can be found by solving the generalized eigensystem:

| |
(2) |

created from the weight matrix () and a diagonal matrix (), with each value on the diagonal being the sum of each column of . The eigenvector () with the second smallest eigenvalue () is used to partition the image by taking all values greater than zero to be in one group, and its complement to be in the other. For a more detailed description, see Shi and Malik (2000).