Main Page   Modules   File List  

crestrestoration.c File Reference

crest restoration algorithm More...


Detailed Description

crest restoration algorithm

Usage: crestrestoration im.pgm <imcond.pgm|null> connex niter fileout.pgm [condout.pgm]

Description: Crest restoration algorithm, as described in ref. CBB01. The input image im.pgm must be a "thin" grayscale image, as the output of the operator hthin. The parameter connex indicates the connectivity used for the minimal regions. The parameter niter gives the number of iterations. The optional parameter imcond.pgm is a binary image (a set C) which indicates the points in the neighborhood of which the extensible points will be searched. The points which are modified by the algorithm will be dynamically added to C. The optional parameter condout.pgm is an output file containing the final state of the set C.

Reference:
[CBB01] M. Couprie, F.N. Bezerra, Gilles Bertrand: "Topological operators for grayscale image processing", Journal of Electronic Imaging, Vol. 10, No. 4, pp. 1003-1015, 2001.

Types supported: byte 2D

Category: topogray

Author:
Michel Couprie

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