1Pamaddnoise User Manual(0)                          Pamaddnoise User Manual(0)
2
3
4

NAME

6       pamaddnoise - add noise to a Netpbm image
7
8
9

SYNOPSIS

11       pamaddnoise
12
13       [-type noise_type]
14
15       [-seed int] pamaddnoise -type gaussian
16
17       [-sigma1 value]
18
19       [-sigma2 value] [-seed int]
20
21       [netpbmfile] pamaddnoise -type  multiplicative_gaussian
22
23       [-mgsigma value] [-seed int]
24
25       [netpbmfile] pamaddnoise -type impulse
26
27       [-tolerance ratio]
28
29       [-seed int] [netpbmfile] pamaddnoise -type  laplacian
30
31       [-lsigma value]
32
33       [-seed int] [netpbmfile] pamaddnoise -type  poisson
34
35       [-lambda value]
36
37       [-seed int] [netpbmfile]
38
39
40

DESCRIPTION

42       This program is part of Netpbm(1).
43
44       pamaddnoise   adds   the  specified  noise  type  to  a  Netpbm  image.
45       pamaddnoise treats a PPM image as 3 independent planes, not as a  plane
46       of colors in a color space.
47
48
49

OPTIONS

51       -lambda value
52              Used for poisson noise only.  The default value is 0.05.
53
54
55       -lsigma value
56              Used for laplacian noise only.  The default value is 10.0.
57
58
59       -mgsigma value
60              Used  for multiplicative gaussian noise only.  The default value
61              is 0.5.
62
63
64       -seed int
65              Used for all noise types.  Set the initial random number genera‐
66              tor seed value.
67
68
69       -sigma1 value
70              Used for gaussian noise only.  The default value is 4.0.
71
72
73       -sigma2 value
74              Used for gaussian noise only.  The default value is 20.0.
75
76
77       -tolerance ratio
78              Used  for  impulse noise only.  The default value is 0.10.  This
79              means that 5% of all pixel values will be set to 0 and  5%  will
80              be set to the maxval
81
82
83       -type noise_type
84              Select  type  of  noise  by name.  The following noise types are
85              available: gaussian,  multiplicative_gaussian,  impulse,  lapla‐
86              cian,  poisson.   Only  enough letters to be unique are required
87              for the noise type option.  The default noise type is gaussian.
88
89
90
91       ·      gaussian
92
93       ·      multiplicative_gaussian
94
95       ·      impulse
96
97       ·      laplacian
98
99       ·      poisson
100
101
102
103
104

REFERENCES

106       ·      "Adaptive Image Restoration in  Signal-Dependent  Noise"  by  R.
107              Kasturi Institute for Electronic Science, Texas Tech University,
108              1982
109
110
111       ·      "Digital Image Processing Algorithms" by Ioannis Pitas, Prentice
112              Hall, 1993 ISBN 0-13-145814-0
113
114
115
116
117

SEE ALSO

119       pgmnoise(1), pgmmedian(1), pnm(1), pam(1),
120
121

HISTORY

123       pamaddnoise was added to Netpbm in Version 10.29 (August 2005).  It had
124       been distributed by Mike Burns via his own web site  before  that  (and
125       continued to be so).
126
127       Burns' version, and the one in Netpbm 10.29, was called pnmaddnoise and
128       worked only on PNM images.  In Netpbm 10.30, it was converted to handle
129       PAM images and renamed to pamaddnoise.
130
131
132

AUTHOR

134       Copyright (C) 1995 by Mike Burns <burns@cac.psu.edu>
135

DOCUMENT SOURCE

137       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
138       source.  The master documentation is at
139
140              http://netpbm.sourceforge.net/doc/pamaddnoise.html
141
142netpbm documentation           14 November 1995     Pamaddnoise User Manual(0)
Impressum