public class AdaptiveContrastEnhancement extends java.lang.Object implements IApplyInPlace
Filter supports:
| Constructor and Description |
|---|
AdaptiveContrastEnhancement(int windowSize,
double k1,
double k2,
double minGain,
double maxGain)
Initialize a new instance of the AdaptiveContrastEnhancement class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
public AdaptiveContrastEnhancement(int windowSize,
double k1,
double k2,
double minGain,
double maxGain)
windowSize - Size of window(should be an odd number).k1 - Local gain factor, between 0 and 1.k2 - Local mean constant, between 0 and 1.minGain - The minimum gain factor.maxGain - The maximum gain factor.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.