CDeskewedImagesUnit Class
The CDeskewedImagesUnit class represents an intermediate result unit whose type is Deskewed images.
Definition
Namespace: dynamsoft::ddn::intermediate_results
Assembly: DynamsoftDocumentNormalizer
class CDeskewedImagesUnit: CIntermediateResultUnit
Inheritance: CIntermediateResultUnit -> CDeskewedImagesUnit
Methods
Method | Description |
---|---|
GetDeskewedImage |
Gets a DeskewedImage object from current object. |
SetDeskewedImage |
Sets the Deskewed image. |
GetDeskewedImage
Gets a DeskewedImage object from current unit.
virtual const CDeskewedImageElement* GetDeskewedImage() const = 0;
Return Value
Returns the CDeskewedImageElement
object.
See Also
SetDeskewedImage
Sets the Deskewed image.
virtual int SetDeskewedImage(const CDeskewedImageElement* element, const double matrixToOriginalImage[9] = IDENTITY_MATRIX) = 0;
Parameters
[in] element
The Deskewed image to be set.
[in] matrixToOriginalImage
The matrix to original image.
Return value
Returns 0 if successful, otherwise returns a negative value.