Exercise 10

Load an image and find the main edges.

  1. Load the file coins.png and save it into the working directory.
  2. The goal is identifying the borders of the coins.
  3. Display the resulting images.

A possible solution:

A more difficult exercise can be identifying the separation lines between the tiles of the floor in the following images:

Also, the separating lines between the faces of a Rubik's cube may be difficult to be identified:

A possible solution: