Table of contents

CDeskewedImageElement Class

The CDeskewedImageElement class stores an intermediate result whose type is Deskewed image.

Definition

Namespace: dynamsoft::ddn::intermediate_results

Assembly: DynamsoftDocumentNormalizer

class CDeskewedImageElement: public CRegionObjectElement

Inheritance: CRegionObjectElement -> CDeskewedImageElement

Methods

Method Description
SetImageData Sets the image data of the deskewed image element.
GetSourceDeskewQuad Gets the quadrilateral used for deskewing the image.

SetImageData

Sets the image data of the deskewed image element.

virtual int SetImageData(const CImageData* imgData) = 0;

Parameters

imgData The image data to set.

Return Value

Returns 0 if succeeds, nonzero otherwise.

See Also

GetSourceDeskewQuad

Gets the quadrilateral used for deskewing the image.

virtual CQuadrilateral GetSourceDeskewQuad() const = 0;

Return Value

Returns A CQuadrilateral object representing the four corners of the quadrilateral used to deskew the image.

Is this page helpful?

YesYes NoNo

In this article: