public final class FineHeavyCleanup extends FineOperation
FineOperation class| Modifier and Type | Field and Description |
|---|---|
int |
size
The filter size in pixels
|
int |
threshold
The filter threshold
|
| Constructor and Description |
|---|
FineHeavyCleanup(int size,
int threshold)
Creates the
FineHeavyCleanup object given input parameters |
| Modifier and Type | Method and Description |
|---|---|
void |
processImage(MIImage image,
MICallback callback)
Processes an input image
|
public int size
public int threshold
public FineHeavyCleanup(int size,
int threshold)
FineHeavyCleanup object given input parameterssize - - An integer value of the filter size in pixels. The recommended value is 35; the recommended range is from 10 to 100.
The higher values allow to remove more noise but the text can be also affected.threshold - - An integer value of the filter threshold in levels. The recommended value is 10;
the recommended range is from 1 to 30. The higher values allow to remove more noise but the text can be also affected.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