Published: Monday, 23 December 2013

This is a series of exercises for familiarizing Yourselves with PINK and with the basics of morphology. The exercises are presented in order. For each exercise there is a list of suggested new operators. The suggestion is incremental, which means that for each exercise You may need to use some of the suggested operators as well as any of the previously suggested operators. Any problem may be solvable several different ways and not all the operators may be necessary for the solution. The solutions to the exercises are in the source repository of PINK (mercurial repository)

Exercise 1.


Image: For this exercise work on the following image: circuit2.pgm

Task: Launch the Python interpreter, load a 2D image, call a simple operator (threshold) and save the result.

Operators: readimage, manipulate, threshold, imview, char_image, [[x, y]]

Hits: 7327