Exercise 4

Segmentation exploiting the topological relationships: load data from file, identify connected components and adjacent regions.

  1. Download satellite.jpg and save it in the working directory.
  2. Open the file and display the image.
  3. Binarize the image using a suitable threshold.
  4. Identify the connected components.
  5. Identify the adjacent connected components (using a suitable distance function).

A possible solution.