DeskewedImageElement
The DeskewedImageElement class represents an intermediate result whose type is deskewed image. It is inherited from RegionObjectElement and contains image data of deskewed result as an additional parameter.
Definition
Namespace: com.dynamsoft.ddn.intermediate_results
Assembly: DynamsoftCaptureVisionBundle.aar
class DeskewedImageElement extends RegionObjectElement
Methods
| Methods | Description |
|---|---|
setImageData |
Sets the image data of the deskewed image with a DSImageData object. |
getSourceDeskewQuad |
Returns the quadrilateral from which you get the deskewed image result item. |
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 deskewed image.
void setImageData(ImageData imageData);
Parameters
imageData: A ImageData object that represents the deskewed image.
getSourceDeskewQuad
Returns the quadrilateral from which you get the deskewed image result item.
Quadrilateral getSourceDeskewQuad();
Return Value
The quadrilateral from which you get the deskewed image result item.