CScaledBarcodeImageUnit Class
The CScaledBarcodeImageUnit class represents a unit that contains scaled up barcode image. It inherits from the CIntermediateResultUnit class.
Definition
Namespace: dynamsoft::dbr::intermediate_results
Assembly: DynamsoftBarcodeReader
Inheritance: CIntermediateResultUnit -> CScaledBarcodeImageUnit
class CScaledBarcodeImageUnit: public CIntermediateResultUnit
Methods
| Method | Description |
|---|---|
GetImageData |
Gets the scaled up barcode image data. |
SetImageData |
Sets the scaled up image data. |
| 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. |
GetImageData
Gets the scaled up barcode image data.
virtual const CImageData* GetImageData() const = 0;
Return value
Returns a pointer to the scaled up image of the barcode.
See Also
SetImageData
Sets the scaled up image data.
virtual int SetImageData(const CImageData* imgData) = 0;
Parameters
[in] imgData The pointer to the scaled up image data.
Return value
Returns 0 if successful, otherwise returns a negative value.
See Also