Main Page   Modules   File List  

dist.c File Reference

distance transform (external) More...


Detailed Description

distance transform (external)

Usage: dist in.pgm mode out.pgm

Description: Distance to the object X defined by the binary image in.pgm . The result function DX(x) is defined by: DX(x) = min {d(x,y), y in X}.

The distance d used depends on the parameter mode :

The output out.pgm is of type long for modes < 40, of type byte for other modes.

Types supported: byte 2d, byte 3d

Category: morpho

Author:
Michel Couprie, Xavier Daragon

Generated on Fri Dec 17 11:59:37 2004 for Pink by doxygen1.2.18