Pink 0.9

watershed.c File Reference

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


Detailed Description

topological binary watershed (Couprie-Bertrand algorithm)

Usage: watershed in.pgm mark.pgm connex [i] out.pgm

Description: Topological watershed as defined in [CB97] - connectivity connex. A marker image is supplied in mark.pgm. The result is a binary image. 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