Pink 0.9

wshedtopo.c File Reference

topological grayscale watershed (Couprie-Bertrand algorithm) More...


Detailed Description

topological grayscale watershed (Couprie-Bertrand algorithm)

Usage: wshedtopo in.pgm connex [i] out.pgm

Description: Topological grayscale watershed as defined in [CB97], preserves the minima - connectivity connex If the parameter i is given, then the dual operator is applied.

[CB97] M. Couprie and G. Bertrand: ``Topological Grayscale Watershed Transformation'', SPIE Vision Geometry V Proceedings, 3168 (136--146), 1997.

Types supported: byte 2d, byte 3d

Category: connect

Author:
Michel Couprie

Example:

wshedtopo ur1 4 ur1_wshedtopo

ur1.gif
ur1_wshedtopo.gif
ur1 ur1_wshedtopo