Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/sys/doc/netpbm/ms/pamaddnoise.ms

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TL
Pamaddnoise User Manual
.SH 1
pamaddnoise
.LP
Updated: 14 November 1995
.br
Table Of Contents
.SH 2
NAME
.LP
pamaddnoise - add noise to a Netpbm image
.SH 2
SYNOPSIS
.LP
\fBpamaddnoise\fR
[\fB-type\fR \fInoise_type\fR]
[\fB-seed\fR \fIint\fR]
.br
\fBpamaddnoise\fR \fB-type\fR \fBgaussian\fR
[\fB-sigma1\fR \fIvalue\fR]
[\fB-sigma2\fR \fIvalue\fR]
.br
[\fB-seed\fR \fIint\fR]
[\fInetpbmfile\fR]
.br
\fBpamaddnoise\fR \fB-type \fR \fBmultiplicative_gaussian\fR
[\fB-msigma\fR \fIvalue\fR]
.br
[\fB-seed\fR \fIint\fR]
[\fInetpbmfile\fR]
.br
\fBpamaddnoise\fR \fB-type\fR \fBimpulse\fR
[\fB-tolerance\fR \fIratio\fR]
[\fB-seed\fR \fIint\fR]
.br
[\fInetpbmfile\fR]
.br
\fBpamaddnoise\fR \fB-type \fR \fBlaplacian\fR
[\fB-lsigma\fR \fIvalue\fR]
[\fB-seed\fR \fIint\fR]
.br
[\fInetpbmfile\fR]
.br
\fBpamaddnoise\fR \fB-type \fR \fBpoisson\fR
[\fB-lambda\fR \fIvalue\fR]
[\fB-seed\fR \fIint\fR]
.br
[\fInetpbmfile\fR]
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
\fBpamaddnoise\fR adds the specified noise type to a Netpbm image.
\fBpamaddnoise\fR treats a PPM image as 3 independent planes, not as
a plane of colors in a color space.
.SH 2
OPTIONS
.LP
.RS
.IP "\fB-lambda\fR \fIvalue\fR"
Used for poisson noise only.  The default value is 0.05.
.IP "\fB-lsigma\fR \fIvalue\fR"
Used for laplacian noise only.  The default value is 10.0.
.IP "\fB-msigma\fR \fIvalue\fR"
Used for mutliplicative gaussian noise only.  The default value is
0.5.
.IP "\fB-seed\fR \fIint\fR"
Used for all noise types.  Set the initial random number generator
seed value.
.IP "\fB-sigma1\fR \fIvalue\fR"
Used for gaussian noise only.  The default value is 4.0.
.IP "\fB-sigma2\fR \fIvalue\fR"
Used for gaussian noise only.  The default value is 20.0.
.IP "\fB-tolerance\fR \fIratio\fR"
Used for impulse noise only.  The default value is 0.10.  This means
that 5% of all pixel values will be set to 0 and 5% will be set to
the maxval
.IP "\fB-type\fR \fInoise_type\fR"
Select type of noise by name.  The following noise types are
available: gaussian, multiplicative_gaussian, impulse, laplacian,
poisson.  Only enough letters to be unique are required for the noise
type option.  The default noise type is \fBgaussian\fR.
.IP \(bu
\fBgaussian\fR
.IP \(bu
\fBmulitiplicative_gaussian\fR
.IP \(bu
\fBimpulse\fR
.IP \(bu
\fBlaplacian\fR
.IP \(bu
\fBpoisson\fR
.LP
.RE
.SH 2
REFERENCES
.LP
.IP \(bu
"Adaptive Image Restoration in Signal-Dependent Noise"
by R. Kasturi Institute for Electronic Science, Texas Tech University,
1982
.IP \(bu
"Digital Image Processing Algorithms" by Ioannis Pitas,
Prentice Hall, 1993 ISBN 0-13-145814-0
.LP
.SH 2
SEE ALSO
.LP
pgmnoise,
pgmmedian,
pnm,
pam,
.SH 2
HISTORY
.LP
.LP
\fBpamaddnoise\fR was added to Netpbm in Version 10.29 (August 2005).
It had been distributed by Mike Burns via his own web site before that
(and continued to be so).
.LP
Burns' version, and the one in Netpbm 10.29, was called \fBpnmaddnoise\fR
and worked only on PNM images.  In Netpbm 10.30, it was converted to handle
PAM images and renamed to \fBpamaddnoise\fR.
.SH 2
AUTHOR
.LP
Copyright (C) 1995 by Mike Burns <burns@cac.psu.edu>
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
REFERENCES
.IP \(bu
SEE ALSO
.IP \(bu
HISTORY
.IP \(bu
AUTHOR
.LP

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.