Pink 0.9

geoeros.c File Reference

geodesic (grayscale or binary) erosion More...


Detailed Description

geodesic (grayscale or binary) erosion

Usage: geoeros g.pgm f.pgm connex niter out.pgm

Description: Geodesic erosion of g.pgm over f.pgm. Let G and F be the two input images. If G is not over F, then G is replaced initially by max(G,F). The structuring element is specified by the value of the parameter connex, which can be one of the following ones: 4, 8 in 2d, or 6, 18, 26 in 3d. The parameter niter sets the number of iterations. If niter = -1, then the iterations continue until stability.

Types supported: byte 2d, byte 3d.

Category: connect, morpho ,

Author:
Michel Couprie