Distance Transform

Building the Cantata Workspace


To build and experiment a workspace that performs the Dist. Transf.:

  1. Display and expand the original image (dist.xv) by a factor of two.

  2. Apply the Distance Operator (Basic Level) using euclidean, cityblock (4-connected) and chessboard (8-connected) distances.

  3. Shows them with Display Image

  4. Apply the threshold at level 41 and compare its results with the original image eroded by a disk of radius 41 (using the same metric distance for the disk and for the distance operator).

Exercises

  1. Implement the dual of the distance transform operator, using the operation of negation on set and on functions.

  2. Use the dual distance transform operator and the threshold operator to perform dilations by disks.

  3. Use the Dilation operator to perform dilations by the same disks.