public final class MIPreset extends FineOperation
| Constructor and Description |
|---|
MIPreset()
A default constructor
|
| Modifier and Type | Method and Description |
|---|---|
static MIPreset |
createBlackAndWhiteDocumentPreset()
Creates the processing options for black-and-white documents.
|
static MIPreset |
createBusinessCardPreset()
Creates the processing options for business cards.
|
static MIPreset |
createColorDocumentPreset()
Creates the processing options for color documents.
|
static MIPreset |
createLightOnDarkDocumentPreset()
Creates the processing options for light-on-dark documents.
|
static MIPreset |
createReceiptPreset()
Creates the processing options for receipts.
|
static MIPreset |
createSpyShotPreset()
Creates the processing options for blurry, out-of-focus, dark pictures.
|
static MIPreset |
createStampedPaperPreset()
Creates the processing options for stamped papers.
|
static MIPreset |
createStreetShotPreset()
Creates the processing options for street view pictures with high level of noise.
|
void |
destroy()
Explicitly destroys the data
|
protected void |
finalize() |
void |
processImage(MIImage image,
MICallback callback)
Processes an input image
|
public void destroy()
public static MIPreset createBlackAndWhiteDocumentPreset()
MIPreset object with the processing options for black-and-white documentspublic static MIPreset createSpyShotPreset()
MIPreset object with the processing options for blurry, out-of-focus, dark picturespublic static MIPreset createBusinessCardPreset()
MIPreset object with the processing options for business cardspublic static MIPreset createReceiptPreset()
MIPreset object with the processing options for receiptspublic static MIPreset createColorDocumentPreset()
MIPreset object with the processing options for color documentspublic static MIPreset createLightOnDarkDocumentPreset()
MIPreset object with the processing options for light-on-dark documentspublic static MIPreset createStampedPaperPreset()
MIPreset object with the processing options for stamped paperspublic static MIPreset createStreetShotPreset()
MIPreset object with the processing options for street view picturespublic 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 progressMIGenericExceptionprotected void finalize()
finalize in class java.lang.Object