create1D, which contains the following modules:
dgexpon
dggauss
dgpoiss
dgpwl
dgrleigh
dgsin
dgsinc
dgunif
dgwindow
Any mention of xvimage is actually a "field 2D". Also, the INPUTs and
Outputs
which are mapped to avs parameters, inputs, and outputs, are for the
khoros library routine.
*********************************************************************************
Documentation for avs module dgexpon
INPUT
image as an optional input, this argument can be
used to pass the pointer to the parameter
"kernel", if this argument is NULL, then the
Parameter
option is not used.
numvec number of data vectors
numpts number of points per data vector
variance variance of data set
Type
data type of output image. This must be
either VFF_TYP_FLOAT or VFF_TYP_COMPLEX.
procdir process direction. This can be either 0 for
vector processing or 1 for band processing.
OUTPUT
image holds the result of the data generation. The
output data type is the same as the input
data type.
return Value: 1 on success, 0 on failure.
Description
creates a one dimensional exponential distributed noise data
set. The user can specify the variance and signal dimen-
sions.
If a "value file" is specified, it will contain a kernel
that describes the signal ensemble to be generated. This is
an viff format file. The information will be contained in a
single vector of float type information. The row and column
size information is irrelevant. The format of the informa-
tion is as follows:
[]
where each item enclosed in triangular brackets represents a
single float. The information set in square brackets is
repeated as a group one per vector.
For example if 2 vectors are specified, and the first vector
has a variance of 1.0, the second vector has a variance of
6.0, the "parameter file" will look like this:
band #1: 1.0 6.0
The advantage of this "parameter file" is that it allows the
creation of an ensemble of 1D signals that are independant
of each other. Number of data sets, number of points per
data set, data type, and process direction must be entered
on the command line, or the defaults can be taken. If more
data sets are requested than are specified in the parameter
file, then an error will occur. If fewer data sets are
requested than are specified, then the unused parameters
will be ignored.
The resulting images may be of type FLOAT or COMPLEX.
Data can be processed with either band or vector orienta-
tion. The default data processing direction is in the vec-
tor direction. This means that data stored in multiband
format will be processed as a set of data sequences, where
each sequence corresponds to a pixel location, and the
points of each sequence are defined by the bands correspond-
ing to that pixel location. The direction of processing can
be changed so that each band is processed as a signal
(instead of each vector being a signal) by setting the -d
option to 1.
See also
dgexpon(1), intro(3), vipl(3), verror(3), vutils(3)
RESTRICTIONS
can only generate VFF_TYP_FLOAT and VFF_TYP_COMPLEX type
images.
Author
Jeremy Worley
COPYRIGHT
Copyright 1991, University of New Mexico. All rights
reserved.
*********************************************************************************
Documentation for avs module dggauss
INPUT
image as an optional input, this argument can be
used to pass the pointer to the parameter
"kernel", if this argument is NULL, then the
parameter option is not used.
numvec number of data vectors
numpts number of points per data vector
mean mean of data set
variance variance of data set
type data type of output image. This must be
either VFF_TYP_FLOAT or VFF_TYP_COMPLEX.
procdir process direction. This can be either 0 for
vector processing or 1 for band processing.
OUTPUT
image holds the result of the data generation. The
output data type is the same as the input
data type.
return Value: 1 on success, 0 on failure.
DESCRIPTION
creates a one dimensional gaussian noise data set. The user
can specify the mean, variance, and signal dimensions.
If a "value file" is specified, it will contain a kernel
that describes the signal ensemble to be generated. This is
an viff format file. The information will be contained in a
single vector of float type information. The row and column
size information is irrelevant. The format of the informa-
tion is as follows:
[]
where each item enclosed in triangular brackets represents a
single float. The information set in square brackets is
repeated as a group one per vector.
For example if 2 vectors are specified, and the first vector
has mean of 0.0 and variance of 1.0, the second vector has
mean of 4.0 and variance of 6.0, the "parameter file" will
look like this:
band #1: 0.0 4.0
band #2: 1.0 6.0
The advantage of this "parameter file" is that it allows the
creation of an ensemble of 1D signals that are independant
of each other. Number of data sets, number of points per
data set, data type, and process direction must be entered
on the command line, or the defaults can be taken. If more
data sets are requested than are specified in the parameter
file, then an error will occur. If fewer data sets are
requested than are specified, then the unused parameters
will be ignored.
The resulting images may be of type FLOAT or COMPLEX.
Data can be processed with either band or vector orienta-
tion. The default data processing direction is in the vec-
tor direction. This means that data stored in multiband
format will be processed as a set of data sequences, where
each sequence corresponds to a pixel location, and the
points of each sequence are defined by the bands correspond-
ing to that pixel location. The direction of processing can
be changed so that each band is processed as a signal
(instead of each vector being a signal) by setting the -d
option to 1.
SEE ALSO
dggauss(1), intro(3), vipl(3), verror(3), vutils(3)
RESTRICTIONS
can only generate VFF_TYP_FLOAT and VFF_TYP_COMPLEX type
images.
AUTHOR
Jeremy Worley
COPYRIGHT
Copyright 1991, University of New Mexico. All rights
reserved.
*********************************************************************************
Documentation for avs module dgpoiss
INPUT
image as an optional input, this argument can be
used to pass the pointer to the parameter
"kernel", if this argument is NULL, then the
parameter option is not used.
numvec number of data vectors
numpts number of points per data vector
variance variance of data set
time time argument for poisson data generation
type data type of output image. This must be
either VFF_TYP_FLOAT or VFF_TYP_COMPLEX.
procdir process direction. This can be either 0 for
vector processing or 1 for band processing.
OUTPUT
image holds the result of the data generation. The
output data type is the same as the input
data type.
return Value: 1 on success, 0 on failure.
DESCRIPTION
creates a one dimensional Poisson distributed noise data
set. The user can specify the variance, the time argument,
and signal dimensions.
The time argument represents a positive interval of time.
Each element of the resulting data set represents the number
of discrete events occuring within that time period. The
result is an integer data set. To maintain consistency with
Other
noise generators available in this package, the
resulting data set can be of type float or complex.
If a "value file" is specified, it will contain a kernel
that describes the signal ensemble to be generated. This is
an viff format file. The information will be contained in a
single vector of float type information. The row and column
size information is irrelevant. The format of the informa-
tion is as follows:
[