MAN page from Mandrake Other XITE-3.3-3.i386.rpm
MORPHDILATE
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
morphDilate - morphological grayscale dilate on an image.
SYNTAX
morphDilate <-a | -b> <struct_element> <inimage> <outimage>
DESCRIPTION
morphDilatecalculates the morphological operationdilate on the image
inimage,with a structuringelement given by
struct_element(in combination withoption
-aor
-b).The result is sent to the image spesifiedin
outimage.The actual calculation is performed with theexpression:
outband(x,y) = max[inband(x+i,y+j)+B(i,j)]
with i and j are inside the structuring element B and(0,0) as the center pixel of B.
RESTRICTIONS
Input images must be of the following types:
- inimage
- Unsigned byte.
- struct_element
- With option -a:Ascii characters (numbers) describing thestructuring element. With option -b:BIFF image with pixeltype signed short.
OPTIONS
- -a struct_element
- struct_elementis an ascii file which contains thestructuring element. See ascii2biff(1) for file format.
- -b struct_element
- struct_elementis a BIFF image which contains thestructuring element.
SEE ALSO
morphDilate(3),
morphErode(1),
morphOpen(1),
morphClose(1),
ascii2biff(1)
RETURN VALUE
0 : OK
1 : Usage message
2 : Illegal number of arguments
3 : No structuring element
AUTHOR
Martin Torpe Lie, BLAB, Ifi, UiO
EXAMPLES
morphDilate ~blab/img/mona.img mona.img -a filter.txtmorphDilate ~blab/img/mona.img mona.img -b filter.img
ID
$Id: morphDilate.c,v 1.26 1997/03/18 12:09:12 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- OPTIONS
- SEE ALSO
- RETURN VALUE
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.