public final class FineDetectGlare extends FineResultOperation<MIGlareInfo>
FineResultOperation class| Modifier and Type | Field and Description |
|---|---|
boolean |
isFast
The processing mode flag
|
boolean |
isGreyscale
Specifies whether the image is in grey scale already to avoid unnecessary conversion
|
listener| Constructor and Description |
|---|
FineDetectGlare(MIListener<MIGlareInfo> listener,
boolean isGreyscale,
boolean isFast)
Creates the
FineDetectBlur object given input parameters |
| Modifier and Type | Method and Description |
|---|---|
MIGlareInfo |
processImageWithResult(MIImage image,
MICallback callback)
Processes an input image and returns the processing result
|
processImagepublic boolean isGreyscale
public boolean isFast
public FineDetectGlare(MIListener<MIGlareInfo> listener, boolean isGreyscale, boolean isFast)
FineDetectBlur object given input parameterslistener - - The listener object that contains the results of detectionisGreyscale - - Specifies whether the image is in grey scale already to avoid unnecessary conversionisFast - - A boolean value that specifies whether the processing should be fast or slow and better quality.
The default value is false.public MIGlareInfo processImageWithResult(MIImage image, MICallback callback) throws MIGenericException
processImageWithResult in class FineResultOperation<MIGlareInfo>image - - The MIImage object with the imagecallback - - The MICallback object that receives information about the image processing progressMIGenericException