Skip to content

Latest commit

 

History

History
103 lines (64 loc) · 2.67 KB

File metadata and controls

103 lines (64 loc) · 2.67 KB
layout title description keywords permalink
default-layout
CNormalizedImagesUnit Class
This page shows CNormalizedImagesUnit class definition of Dynamsoft Document Normalizer SDK C++ Edition.
GetNormalizedImage, CNormalizedImagesUnit, api reference
/programming/cplusplus/api-reference/normalized-image-unit.html

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]({{ site.dcv_cpp_api }}core/intermediate-results/intermediate-result-unit.html) -> 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.