Table of contents

CDeskewedImageResultItem Class

The CDeskewedImageResultItem class stores a captured result item whose type is Deskewed image.

Definition

Namespace: dynamsoft::ddn

Assembly: DynamsoftDocumentNormalizer

class CDeskewedImageResultItem: CCapturedResultItem

Inheritance: CCapturedResultItem -> CDeskewedImageResultItem

Methods

Method Description
GetImageData Gets the ImageData of current object.
GetSourceDeskewQuad Gets the quadrilateral used for deskewing the image.
GetCrossVerificationStatus Gets the status of current object as a verified deskewed image.
SetCrossVerificationStatus Sets the status of current object.
GetOriginalToLocalMatrix Gets the transformation matrix from the original image coordinate system to the local coordinate system.

GetImageData

Gets the ImageData of current object.

const CImageData* GetImageData() 

Return Value

The image data.

See Also

GetSourceDeskewQuad

Gets the quadrilateral used for deskewing the image.

virtual CQuadrilateral GetSourceDeskewQuad() const = 0;

Return Value

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

See Also

GetCrossVerificationStatus

Gets the status of current object as a verified deskewed image.

virtual CrossVerificationStatus GetCrossVerificationStatus() const = 0;

Return Value

Return the CrossVerificationStatus of the deskewed image result.

SetCrossVerificationStatus

Sets the status of current object.

virtual void SetCrossVerificationStatus(CrossVerificationStatus status) = 0;

Parameters

[in] status The CrossVerificationStatus to be set.

GetOriginalToLocalMatrix

Gets the transformation matrix from the original image coordinate system to the local coordinate system.

virtual void GetOriginalToLocalMatrix(double matrix[9]) const = 0;

Parameters

[out] matrix matrix A double array of size 9, representing the 3x3 transformation matrix that converts coordinates from the original image to the local image.