Resource Base
Table of contents
Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.

CNormalizedImagesResult

The CNormalizedImagesResult class stores a collection of captured result items whose type are normalized images.

Definition

Namespace: dynamsoft::ddn

Assembly: DynamsoftDocumentNormalizer

class CNormalizedImagesResult: public CRegionObjectElement

Methods

Method Description
GetItemsCount Gets the number of normalized images in the result.
GetErrorCode Gets the error code of the operation.
GetErrorString Gets the error message of the operation.
GetItem Gets a specific normalized image from the result.
HasItem Check if the item is present in the array.
RemoveItem Remove a specific item from the array in the normalized images.
GetRotationTransformMatrix Get the rotation transformation matrix of the original image relative to the rotated image.
GetOriginalImageHashId Gets the hash ID of the original image, from which you get the normalized image.
GetOriginalImageTag Gets the tag of the original image, from which you get the normalized image.

GetItemsCount

Gets the number of normalized images in the result.

int GetItemsCount()

Return value

Returns the number of normalized images in the result.

GetErrorCode

Gets the error code of the operation.

int GetErrorCode()

Return value

Returns the error code of the operation. A non-zero value indicates an error occurred.

See Also

GetErrorString

Gets the error message of the operation.

const char* GetErrorString()

Return value

Returns the error message of the operation.

GetItem

Gets a specific normalized image from the result.

const CNormalizedImageResultItem* GetItem(int index)

Parameters

[in] index The index of the normalized image to get.

Return value

Returns a pointer to the normalized image at the specified index. If the index is out of range, returns nullptr.

See Also

HasItem

Check if the item is present in the array.

bool HasItem(const CNormalizedImageResultItem* item) const

Parameters

[in] item The specific item to check.

Return value

Returns a bool value indicating whether the item is present in the array or not.

RemoveItem

Remove a specific item from the array in the normalized images.

int RemoveItem(const CNormalizedImageResultItem* item)

Parameters

[in] item The specific item to remove.

Return value

Return value indicating whether the deletion was successful or not.

GetRotationTransformMatrix

Get the rotation transformation matrix of the original image relative to the rotated image.

void GetRotationTransformMatrix(double matrix[9]) const;

Parameters

[out] matrix A double array which represents the rotation transform matrix.

GetOriginalImageHashId

Gets the hash ID of the original image that was normalized.

const char* GetOriginalImageHashId()

Return value

Returns the hash ID of the original image that was normalized.

GetOriginalImageTag

Gets the tag of the original image that was normalized.

const CImageTag* GetOriginalImageTag()

Return value

Returns a pointer to the tag of the original image that was normalized.

See Also

version 2.0.20

  • version 2.4.10
  • Version 2.x
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.0.0
  • Version 1.x
    • Version 1.0.20
    • Version 1.0.10
    • Version 1.0.0
Change +