Main Page   Modules   File List  

distc.c File Reference

distance transform (internal) More...


Detailed Description

distance transform (internal)

Usage: distc in.pgm mode out.pgm

Description: Distance to the complementary of 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 not 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