Connected-component Labeling - Overview

Overview

A graph, containing vertices and connecting edges, is constructed from relevant input data. The vertices contain information required by the comparison heuristic, while the edges indicate connected 'neighbors'. An algorithm traverses the graph, labeling the vertices based on the connectivity and relative values of their neighbors. Connectivity is determined by the medium; image graphs, for example, can be 4-connected or 8-connected.

Following the labeling stage, the graph may be partitioned into subsets, after which the original information can be recovered and processed .

Read more about this topic:  Connected-component Labeling