Distance Transform
Building the Cantata Workspace
To build and experiment a workspace that performs the Dist. Transf.:
- Display and expand the original image (dist.xv) by a factor
of two.
- Apply the Distance Operator (Basic Level) using euclidean,
cityblock (4-connected) and chessboard (8-connected) distances.
- Shows them with Display Image
- 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
- Implement the dual of the distance transform operator, using the operation of negation on set and on functions.
- Use the dual distance transform operator and the threshold operator to perform dilations by disks.
- Use the Dilation operator to perform dilations by the same disks.