Exercise 4
Segmentation exploiting the topological relationships: load data from file, identify connected components and adjacent regions.
- Download satellite.jpg and save it in the working directory.
- Open the file and display the image.
- Binarize the image using a suitable threshold.
- Identify the connected components.
- Identify the adjacent connected components (using a suitable distance function).
A possible solution.