CBinaryImageUnit
The CBinaryImageUnit
class represents a unit that contains a binary image. It inherits from the CIntermediateResultUnit
class and stores binary image data.
Definition
Namespace: dynamsoft::intermediate_results
Assembly: DynamsoftCore
class CBinaryImageUnit : public CIntermediateResultUnit
Methods Summary
Method | Description |
---|---|
GetImageData |
Gets the binary image data. |
Inherited Methods
The following methods are inherited from class CIntermediateResultUnit
.
Method | Description |
---|---|
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 . |
GetImageData
Gets the binary image data.
virtual const CImageData* GetImageData() const
Return value
Returns a pointer to the CBinaryImageData
object containing the binary image data. You don’t need to release the memory pointed to by the returned pointer.
See Also