EnhancedImageElement
The EnhancedImageElement class represents an intermediate result whose type is enhanced image. It is inherited from RegionObjectElement and contains image data of enhanced result as an additional parameter.
Definition
Namespace: com.dynamsoft.ddn.intermediate_results
Assembly: DynamsoftCaptureVisionBundle.aar
class EnhancedImageElement extends RegionObjectElement
Methods
| Methods | Description |
|---|---|
setImageData |
Sets the image data of the deskewed image with a DSImageData object. |
The following methods are inherited from class RegionObjectElement.
| Method | Description |
|---|---|
getLocation |
Returns the location info of the element. |
setLocation |
Sets the location info of the element. |
getReferencedElement |
Returns the referenced element that supports the capturing of this element. |
getRegionObjectElementType |
Returns the type of the element. |
setImageData
Gets an ImageData object as the enhanced image.
void setImageData(ImageData imageData);
Parameters
imageData: A ImageData object that represents the enhanced image.