Pink 0.9

dilation.c File Reference

morphological dilation by a plane structuring element More...


Detailed Description

morphological dilation by a plane structuring element

Usage: dilation in.pgm se.pgm out.pgm

Description: The (plane) structuring element is given by the non-null values in se.pgm, its origin (wrt the point (0,0) of se.pgm ) is given by a comment line in the file se.pgm.

Types supported: byte 2d, byte 3d, int32_t 2d, int32_t 3d, float 2d, float 3d

Category: morpho

Author:
Michel Couprie 2002

Example:

dilation cells ~/Pink/masks/carre5.pgm cells_dilat

cells.gif
cells_dilat.gif
cells cells_dilat