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 |
The CNormalizedImagesUnit class represents an intermediate result unit whose type is normalized images.
Namespace: dynamsoft::ddn::intermediate_results
Assembly: DynamsoftDocumentNormalizer
class CNormalizedImagesUnit: CIntermediateResultUnit
Inheritance: [CIntermediateResultUnit]({{ site.dcv_cpp_api }}core/intermediate-results/intermediate-result-unit.html) -> CNormalizedImagesUnit
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. |
Gets the count of CNormalizedImageElement
objects in current object.
int GetCount()
Return Value
The count of CNormalizedImageElement
objects in current object.
Gets a NormalizedImage object from current object.
const CNormalizedImageElement* GetNormalizedImage(int index)
Return Value
Returns the NormalizedImage object.
See Also
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.
Removes all the normalized images in current object.
virtual void RemoveAllNormalizedImages() = 0
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.