Main Page Modules File List
medialaxis.c File Reference
medial axis transform
More...
Detailed Description
medial axis transform
Usage: medialaxis in.pgm distance out.pgm
Description: Medial axis of the binary image X. If x is the center of a maximal ball included in X, then the result R(x) is equal to the smallest distance between x and a point outside X, otherwise it is equal to 0 . The distance is indicated by the parameter distance :
- 0: approximate euclidean distance
- 1: exact quadratic euclidean distance (Saito-Toriwaki's skeleton)
- 2: exact quadratic euclidean distance (Coeurjolly's reduced axis)
- 3: exact quadratic euclidean distance (Rémy-Thiel - 2d only)
- 4: 4-distance in 2d
- 8: 8-distance in 2d
- 6: 6-distance in 3d
- 26: 26-distance in 3d
The usual discrete distances are denoted by 4, 8 (2D) and 6, 26 (3D). For the euclidean distance, set distance to 0.
Types supported: byte 2d, byte 3d
Category: morpho
- Author:
-
Michel Couprie
Generated on Fri Dec 17 11:59:37 2004 for Pink by
1.2.18