|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ed.ph.signal.Noise
public class Noise
Class to add noise to signals and images
Constructor Summary | |
---|---|
Noise()
|
Method Summary | |
---|---|
static void |
addGaussianDependantNoise(DataArray da,
double scale)
Static method to add signal dependant noise to a DataArray. |
static void |
addGuassianIndependantNoise(DataArray da,
double sd)
Static method to add Guassian signal indepent noies to a general DataArray. |
static void |
addGuassianIndependantNoise(RealImage im,
double sd)
Static method to add Guassian signal indepent noise to a RealImage |
static void |
addGuassianIndependantNoise(RealSignal s,
double sd)
Static method to add Guassian signal indepent noies to a RealSignal |
static void |
addPoissonNoise(DataArray da,
double scale)
Static method to add Poisson noise to a gneral DataArray after apply a scaling factor. |
static void |
addPoissonNoise(RealImage im,
double photons)
Static method to add Poisson noise to a RealImage specifying the average number of photons per pixel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Noise()
Method Detail |
---|
public static void addGuassianIndependantNoise(RealSignal s, double sd)
s
- the RealSignalsd
- standard deviation of the noisepublic static void addGuassianIndependantNoise(RealImage im, double sd)
s
- the RealSignalsd
- standard deviation of the noisepublic static void addGuassianIndependantNoise(DataArray da, double sd)
da
- the DataArraysd
- standard deviation of the noisepublic static void addGaussianDependantNoise(DataArray da, double scale)
public static void addPoissonNoise(RealImage im, double photons)
s
- the RealImgephotons
- mean number of photons per pixel.public static void addPoissonNoise(DataArray da, double scale)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |