Catalano.Imaging.Filters
Class GaussianNoise
- java.lang.Object
-
- Catalano.Imaging.Filters.GaussianNoise
-
- All Implemented Interfaces:
- IApplyInPlace
public class GaussianNoise extends java.lang.Object implements IApplyInPlace
Gaussian Noise.
-
-
Constructor Summary
Constructors Constructor and Description GaussianNoise()Initialize a new instance of the GaussianNoise class.GaussianNoise(double stdDev)Initialize a new instance of the GaussianNoise class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.doublegetStdDev()Get standart deviation.voidsetStdDev(double stdDev)Set standart deviation.
-
-
-
Constructor Detail
-
GaussianNoise
public GaussianNoise()
Initialize a new instance of the GaussianNoise class.
-
GaussianNoise
public GaussianNoise(double stdDev)
Initialize a new instance of the GaussianNoise class.- Parameters:
stdDev- Standart deviation.
-
-
Method Detail
-
getStdDev
public double getStdDev()
Get standart deviation.- Returns:
- Standart deviation.
-
setStdDev
public void setStdDev(double stdDev)
Set standart deviation.- Parameters:
stdDev- Standart deviation.
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG