Pink 0.9

geodilat.c File Reference

geodesic (grayscale or binary) dilation More...


Detailed Description

geodesic (grayscale or binary) dilation

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

Description: Geodesic dilation of g.pgm under f.pgm. Let G and F be the two input images. If G is not under F, then G is replaced initially by min(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