public class AdditiveNoise extends java.lang.Object implements IApplyInPlace
The filter adds random value to each pixel of the source image.
Properties:
| Constructor and Description |
|---|
AdditiveNoise()
Initialize a new instance of the AdditiveNoise class.
|
AdditiveNoise(int min,
int max)
Initialize a new instance of the AdditiveNoise class.
|
AdditiveNoise(IntRange range)
Initialize a new instance of the AdditiveNoise class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
int |
getMax()
Get maximum value.
|
int |
getMin()
Get minimum value.
|
void |
setMax(int max)
Set maximum value.
|
void |
setMin(int min)
Set minimum value.
|
public AdditiveNoise()
public AdditiveNoise(int min,
int max)
min - Min value.max - Max value.public AdditiveNoise(IntRange range)
range - Range.public int getMin()
public void setMin(int min)
min - Minimum value.public int getMax()
public void setMax(int max)
max - Maximum value.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.