Resource Base
Table of contents

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.
operator[] Gets the normalized images result at a specified index.
Retain Increases the reference count of the CDetectedQuadsResult object.
Release Decreases the reference count of the CDetectedQuadsResult object.

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

operator[]

Gets a specific normalized image from the result.

virtual const CNormalizedImageResultItem* operator[](int index) const= 0

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.

Retain

Increases the reference count of the CNormalizedImagesResult object.

virtual CNormalizedImagesResult* Retain() = 0;

Return value

An object of CNormalizedImagesResult.

Release

Decreases the reference count of the CNormalizedImagesResult object.

virtual void Release() = 0;

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version(2.2.10)
  • Version 2.x
    • 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 +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support