Pink 0.9

asftmed.c File Reference

alternate sequential filter controled by topology More...


Detailed Description

alternate sequential filter controled by topology

Usage: asftmed in.pgm connex rmax out.pgm

Description: Alternate sequential filter controled by topology (see [CB04]). Disc- or Ball-shaped structuring elements of increasing radius, ranging from 1 to rmax, are generated. Let D1...Dn be these structuring elements, sorted by increasing radius. Let I(0) = in.pgm, the ith intermediate result I(i) is obtained by the homotopic pseudo-closing of the homotopic pseudo-opening of I(i-1) by the structuring element Di. Furthermore, the medial axes (distance 8 in 2D, 26 in 3D) of both the input image and its inverse are used as constraint sets. The result out.pgm contains the final result I(n).

Reference:
[CB04] M. Couprie and G. Bertrand: Topology preserving alternating sequential filter for smoothing 2D and 3D objects, Journal of Electronic Imaging, Vol. 13, No. 4, pp. 720-730, 2004.

Types supported: byte 2d, byte 3d

Category: morpho, topobin ,

Author:
Michel Couprie