Pink 0.9

ultimateerosion.c File Reference

ultimate erosion More...


Detailed Description

ultimate erosion

Usage: ultimateerosion in.pgm [dist] out.pgm

Description: Let X be the set in in.pgm . The result is union{Ui(X), i in N} where Ui(X) = erosball(X,i) \ reconsgeo(erosball(X,i+1), erosball(X,i)). Structuring elements are balls defined after a distance. The distance used depends on the optional parameter dist (default is 0) :

Warning:
The input image in.pgm must be a binary image. No test is done.

Types supported: byte 2D, byte 3D

Category: morpho

Author:
Michel Couprie août 2009