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.
Methods Inherited from CRegionObjectElement:  
GetLocation Gets the location of the region object element.
GetReferencedElement Gets a pointer to a referenced region object element.
GetElementType Gets the type of the region object element.
GetImageData Gets the imageData of the region object element.
Clone Clone the region object element.
Retain Increases the reference count of the CRegionObjectElement object.
Release Decreases the reference count of the CRegionObjectElement object.

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.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: