public final class MIProcessor extends FineOperation implements MICallback
FineOperation class and implements the MICallback interface| Modifier and Type | Field and Description |
|---|---|
FineOperation[] |
operations
A list of operations
|
| Constructor and Description |
|---|
MIProcessor(FineOperation... operations)
Creates the
MIProcessor object given a list of operation to execute. |
| Modifier and Type | Method and Description |
|---|---|
int |
onProgressUpdated(int progress)
Delivers information about the approximate percentage of the image processing to the client.
|
void |
processImage(MIImage image,
MICallback callback)
Processes an input image
|
public final FineOperation[] operations
public MIProcessor(FineOperation... operations)
MIProcessor object given a list of operation to execute.operations - - A list of operations to executepublic 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 progressMIGenericExceptionpublic int onProgressUpdated(int progress)
onProgressUpdated in interface MICallbackprogress - - The percentage of the current work which has already been done. It is in the range from 0 to 100.