
Chapter 12
Graphs and Images
Ariel Shamir
Graphs play an important role in many computer science fields
and are also extensively used in imaging and graphics. Often a
major step in finding a solution to a problem in computer science
amounts to formulating the problem using graphs. Informally, a
graph is a set of objects called nodes, or vertices, connected by
links called edges (Figure 12.1). Since graphs have been studied
extensively, once a proper formalization for a specific problem is
found, the algorithm to solve it can already be at hand. In this
chapter, we will show how well-known graph algorithms can assist
in segmentation of images, partitioning ...