public class SaltAndPepperNoise extends java.lang.Object implements IApplyInPlace
| Constructor and Description |
|---|
SaltAndPepperNoise()
Initializes a new instance of the OtsuThreshold class.
|
SaltAndPepperNoise(int noiseAmount)
Initializes a new instance of the OtsuThreshold class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
public SaltAndPepperNoise()
public SaltAndPepperNoise(int noiseAmount)
noiseAmount - Amount of noise to generate in percents, [0, 100].public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.