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 >
Text File  |  1992-07-28  |  2KB  |  132 lines

  1.  
  2.  
  3.  
  4.    07/28/9                                                       vgmdilate(1)
  5.  
  6.  
  7.  
  8.    PROGRAM
  9.      vgmdilate - Dilate a greyscale image X, by a structuring element B.
  10.  
  11.    SYNTAX
  12.  
  13.      vgmdilate
  14.  
  15.      -i             input image
  16.  
  17.      -k             input kernel
  18.  
  19.      -o             output image
  20.  
  21.      [-V]           Gives the version for vgmdilate
  22.  
  23.      [-U]           Gives the usage for vgmdilate
  24.  
  25.      [-P]           Prompts for command line options
  26.  
  27.      [-A [file1]]   Creates the answer file called vgmdilate.ans or file1
  28.  
  29.      [-a [file1]]   Uses vgmdilate.ans or file1 as the answer file
  30.  
  31.    DESCRIPTION
  32.      _v_g_m_d_i_l_a_t_e computes the Dilation of an greyscale image by a structuring
  33.      element.
  34.  
  35.  
  36.      This algorithms is taken from Digital Image Processing by R.C. Gonzalez
  37.      and R.E. Woods, Addison-Wesley,  1992.  It replaces each pixel X(p,q) of
  38.      image X by the  MAX{ (X(x-p,y-q) + B(x,y))} for all (x,y) belonging to
  39.      B.  The result is clipped to the range [0-255].  Valid values of B(x,y)
  40.      are in the range [0 - 255].  Pixels in B that are not part of the domain
  41.      of B should be negative.  For this reason,  the structuring element is
  42.      of type 'int'.
  43.  
  44.    REQUIRED ARGUMENTS
  45.  
  46.      -i     type: infile
  47.             desc: input image
  48.  
  49.      -k     type: infile
  50.             desc: input kernel
  51.  
  52.      -o     type: outfile
  53.             desc: output image
  54.  
  55.  
  56.    OPTIONAL ARGUMENTS
  57.      none
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                             1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.    vgmdilate(1)                                                       07/28/9
  71.  
  72.  
  73.    EXAMPLES
  74.      vgmdilate -i image1 -k kernel -o image2
  75.  
  76.      Computes the dilation of an image X (intput -i) by a structuring element
  77.      B (input -k) and stores the result in the output image ( -o).
  78.  
  79.    SEE ALSO
  80.      intro(1), verror(3), vgparms(3), vutils(3), lvgmdilate(3) lvgmdilate(3)
  81.  
  82.    RESTRICTIONS
  83.      _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.
  84.  
  85.    COPYRIGHT
  86.      Copyright 1992, University of New Mexico.  All rights reserved.
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.    2
  130.  
  131.