public final class FineAutoBrightnessContrast extends FineOperation
FineOperation class| Modifier and Type | Field and Description |
|---|---|
float |
brightness
A coefficient for automatic brightness correction
|
float |
contrast
A coefficient for automatic brightness correction
|
| Constructor and Description |
|---|
FineAutoBrightnessContrast(float brightness,
float contrast)
Creates the
FineAutoBrightnessContrast object given brightness and contrast. |
| Modifier and Type | Method and Description |
|---|---|
void |
processImage(MIImage image,
MICallback callback)
Processes an input image
|
public float brightness
public float contrast
public FineAutoBrightnessContrast(float brightness,
float contrast)
FineAutoBrightnessContrast object given brightness and contrast.brightness - - A coefficient for automatic brightness correction. The value should be in the range from 0 to 1.
The recommended value is 0.05. If this parameter is 0, the brightness is not adjusted.contrast - - A coefficient for automatic contract correction. The value should be in the range from 0 to 1.
The recommended value is 0.03. If this parameter is 0, the contrast is not adjusted.public void processImage(MIImage image, MICallback callback) throws MIGenericException
processImage in class FineOperationimage - - the MIImage object with the imagecallback - - the MICallback object that receives information about the image processing progressMIGenericException