Usage: toposhrinkgray in.pgm connex t+min t+max t--min t--max <0|a|d> [inhibit] out.pgm
Description: Topologically controled grayscale shrinking (one step).
The parameter <0|a|d> indicates the action performed on the selected point p:
If the parameter inhibit is given and is a binary image name, then the points of this image (set Y) will be left unchanged.
For all points p, not in Y, and such that t+min <= T+(p) <= t+max and t--min <= T--(p) <= t--max lower p according to the chosen strategy
Types supported: byte 2d, byte 3d
Category: topogray
References:
[BEC97] G. Bertrand, J. C. Everat and M. Couprie: "Image segmentation through operators based upon topology", Journal of Electronic Imaging, Vol. 6, No. 4, pp. 395-405, 1997.
[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.