Lab 5#

Mathematical Morphology#

We want to detect and count the number of swimming pools visible in the satellite image moliets.png. Most of the functions to use are in module skimage.morphology.

Note

At first, do not try to find all the pools perfectly: implement a first version of the method which gives an approximate result automatically.

  • Apply a threshold on the image to highlight the pools. Ask yourself about which image to use: the original image, the grayscale image, a particular band or something else?

  • Apply the four usual morphological operators (erosion, dilation, opening, closing) to observe their influence and deduce the one most suited to the problem.

  • By using appropriate measures, identify the objects in the binary images which should correspond to pools, and count them.

  • Determine the surface of the pools, knowing that the image is of resolution 50 cm.

  • Give a critical discussion about your method by listing its good behaviours and its limits, then suggest improvements.

  • You can also apply your detection method on other images.