Main Page   Modules   File List  

closeball.c File Reference

morphological binary closing by a ball More...


Detailed Description

morphological binary closing by a ball

Usage: closeball in.pgm r [dist] out.pgm

Description: The closing consists in a dilation (dilatball) followed by an erosion (erosball). The structuring element for this closing is a ball (or a disc) of radius r. The erosion and dilation are computed by thresholding a distance map. 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 2002
Example:

closeball cells 3 cells_closeball

cells cells_closeball


Generated on Fri Dec 17 11:59:37 2004 for Pink by doxygen1.2.18