CEnhancedImagesUnit Class
The CEnhancedImagesUnit class represents an intermediate result unit whose type is enhanced images.
Definition
Namespace: dynamsoft::ddn::intermediate_results
Assembly: DynamsoftDocumentNormalizer
class CEnhancedImagesUnit: CIntermediateResultUnit
Inheritance: CIntermediateResultUnit -> CEnhancedImagesUnit
Methods
| Method | Description |
|---|---|
GetEnhancedImage |
Gets a enhancedImage object from current object. |
SetEnhancedImage |
Sets the enhanced image. |
| Methods Inherited from CIntermediateResultUnit: | |
GetHashId |
Gets the hash ID of the unit. |
GetOriginalImageHashId |
Gets the hash ID of the original image. |
GetOriginalImageTag |
Gets the image tag of the original image. |
GetType |
Gets the type of the intermediate result unit. |
Clone |
Creates a copy of the intermediate result unit. |
SetHashId |
Sets the hash ID of the unit. |
SetOriginalImageHashId |
Sets the hash ID of the original image. |
SetOriginalImageTag |
Sets the image tag of the original image. |
Retain |
Increases the reference count of the unit. |
Release |
Decreases the reference count of the unit. |
GetTransformMatrix |
Gets the transformation matrix via TransformMatrixType. |
SetTransformMatrix |
Sets the transformation matrix via TransformMatrixType. |
GetEnhancedImage
Gets a enhancedImage object from current unit.
virtual const CEnhancedImageElement* GetEnhancedImage() const = 0;
Return Value
Returns the CEnhancedImageElement object.
See Also
SetEnhancedImage
Sets the enhanced image.
virtual int SetEnhancedImage(const CEnhancedImageElement* element) = 0;
Parameters
[in] element The enhanced image to be set.
Return value
Returns 0 if successful, otherwise returns a negative value.