home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / netpbm_docs.lzh / NETPBM / DOCS / pnmsmooth.1 < prev    next >
Text File  |  1996-11-18  |  1KB  |  46 lines

  1. .TH pnmsmooth 1 "4 December 1994"
  2. .IX pnmsmooth
  3. .SH NAME
  4. pnmsmooth - smooth out an image
  5. .SH SYNOPSIS
  6. .B pnmsmooth
  7. .RB [ -size
  8. .IR width
  9. .IR height ]
  10. .RB [ -dump
  11. .IR dumpfile ]
  12. .RI [ pnmfile ]
  13. .SH DESCRIPTION
  14. Smooths out an image by replacing each pixel with the
  15. average of its width X height neighbors.
  16. .IX smoothing
  17. .IX anti-aliasing
  18. It is implemented as a C progam that generates a PGM convolution matrix
  19. and then invokes
  20. .IR pnmconvol .
  21. .IX pnmconvol
  22. .SH OPTIONS
  23. .TP
  24. .B -size width height
  25. Specifies the size of the convolution matrix.  
  26. Default size is a 3x3 matrix.
  27. Width and height sizes must be odd.  
  28. Maximum size of convolution matrix is limited by the maximum value for a 
  29. pixel such that (width * height * 2) must not exceed the maximum pixel value.
  30. .TP
  31. .B -dump dumpfile
  32. Generates and saves the convolution file only.
  33. Use of this option does not invoke pnmconvol.
  34. .SH "SEE ALSO"
  35. pnmconvol(1), pnm(5)
  36. .SH AUTHORS
  37. Copyright (C) 1989, 1991 by Jef Poskanzer.
  38. .br
  39. Converted from script to C program December 1994 by Mike Burns (burns@chem.psu.edu).
  40. .\" Permission to use, copy, modify, and distribute this software and its
  41. .\" documentation for any purpose and without fee is hereby granted, provided
  42. .\" that the above copyright notice appear in all copies and that both that
  43. .\" copyright notice and this permission notice appear in supporting
  44. .\" documentation.  This software is provided "as is" without express or
  45. .\" implied warranty.
  46.