home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
m
/
morpho.zip
/
morpho
/
doc
/
manpages
/
vgmdilate.1
< prev
next >
Wrap
Text File
|
1992-07-28
|
2KB
|
132 lines
07/28/9 vgmdilate(1)
PROGRAM
vgmdilate - Dilate a greyscale image X, by a structuring element B.
SYNTAX
vgmdilate
-i input image
-k input kernel
-o output image
[-V] Gives the version for vgmdilate
[-U] Gives the usage for vgmdilate
[-P] Prompts for command line options
[-A [file1]] Creates the answer file called vgmdilate.ans or file1
[-a [file1]] Uses vgmdilate.ans or file1 as the answer file
DESCRIPTION
_v_g_m_d_i_l_a_t_e computes the Dilation of an greyscale image by a structuring
element.
This algorithms is taken from Digital Image Processing by R.C. Gonzalez
and R.E. Woods, Addison-Wesley, 1992. It replaces each pixel X(p,q) of
image X by the MAX{ (X(x-p,y-q) + B(x,y))} for all (x,y) belonging to
B. The result is clipped to the range [0-255]. Valid values of B(x,y)
are in the range [0 - 255]. Pixels in B that are not part of the domain
of B should be negative. For this reason, the structuring element is
of type 'int'.
REQUIRED ARGUMENTS
-i type: infile
desc: input image
-k type: infile
desc: input kernel
-o type: outfile
desc: output image
OPTIONAL ARGUMENTS
none
1
vgmdilate(1) 07/28/9
EXAMPLES
vgmdilate -i image1 -k kernel -o image2
Computes the dilation of an image X (intput -i) by a structuring element
B (input -k) and stores the result in the output image ( -o).
SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3), lvgmdilate(3) lvgmdilate(3)
RESTRICTIONS
_v_g_m_d_i_l_a_t_e accepts only _B_Y_T_E images, and the kernel must be type _I_N_T.
COPYRIGHT
Copyright 1992, University of New Mexico. All rights reserved.
2