public class ContrastCorrection extends java.lang.Object implements IApplyInPlace
| Constructor and Description |
|---|
ContrastCorrection()
Initialize a new instance of the ContrastCorrection class.
|
ContrastCorrection(int factor)
Initialize a new instance of the ContrastCorrection class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(FastBitmap fastBitmap)
Apply filter to an image.
|
int |
getFactor()
Get Contrast adjusting factor, [-127, 127].
|
void |
setFactor(int factor)
Set Contrast adjusting factor, [-127, 127].
|
public ContrastCorrection()
public ContrastCorrection(int factor)
factor - Contrast factor.public int getFactor()
public void setFactor(int factor)
factor - Contrast factor.public void applyInPlace(FastBitmap fastBitmap)
IApplyInPlaceapplyInPlace in interface IApplyInPlacefastBitmap - Image to be processed.