Resource Base
Table of contents

CNormalizedImagesUnit Class

The CNormalizedImagesUnit class represents an intermediate result unit whose type is normalized images.

Definition

Namespace: dynamsoft::ddn::intermediate_results

Assembly: DynamsoftDocumentNormalizer

class CNormalizedImagesUnit: CIntermediateResultUnit

Inheritance: CIntermediateResultUnit -> CNormalizedImagesUnit

Methods

Method Description
GetCount Gets the count of CNormalizedImageElement objects in current object.
GetNormalizedImage Gets a NormalizedImage object from current object.
operator[] Gets a NormalizedImage object from current object by specifying a index.
RemoveAllNormalizedImages Removes all the normalized images in current object.
SetNormalizedImage Sets the normalized image.

GetCount

Gets the count of CNormalizedImageElement objects in current object.

int GetCount() 

Return Value

The count of CNormalizedImageElement objects in current object.

GetNormalizedImage

Gets a NormalizedImage object from current object.

const CNormalizedImageElement* GetNormalizedImage(int index)

Return Value

Returns the NormalizedImage object.

See Also

operator[]

Gets a NormalizedImage object from current object by specifying a index.

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

Parameters

[in] index The index of the desired CNormalizedImageElement object.

Return value

Returns a pointer to the CNormalizedImageElement object at the specified index.

RemoveAllNormalizedImages

Removes all the normalized images in current object.

virtual void RemoveAllNormalizedImages() = 0

SetNormalizedImage

Sets the normalized image.

virtual int SetNormalizedImage(const CNormalizedImageElement* element, const double matrixToOriginalImage[9] =  IDENTITY_MATRIX) = 0

Parameters

[in] element The normalized image to be set.

[in] matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

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