CComplementedBarcodeImageUnit Class
The CComplementedBarcodeImageUnit class represents a unit that contains complemented barcode image data. It inherits from the CIntermediateResultUnit class.
Definition
Namespace: dynamsoft::dbr::intermediate_results
Assembly: DynamsoftBarcodeReader
Inheritance: CIntermediateResultUnit -> CComplementedBarcodeImageUnit
class CComplementedBarcodeImageUnit: public CIntermediateResultUnit
Methods
| Method | Description |
|---|---|
GetImageData |
Gets the complemented barcode image data. |
GetLocation |
Gets the location of the complemented barcode in a quadrilateral. |
SetLocation |
Sets the location of the complemented barcode in a quadrilateral. |
| 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 complemented barcode image data.
virtual const CImageData* GetImageData() const = 0;
Return value
Returns a pointer to the complemented image of the barcode.
See Also
GetLocation
Gets the location of the complemented barcode in a quadrilateral.
virtual CQuadrilateral GetLocation() const = 0;
Return value
Returns the location of the complemented barcode in a quadrilateral.
See Also
SetLocation
Sets the location of the complemented barcode in a quadrilateral.
virtual int SetLocation(const CQuadrilateral& location, const double matrixToOriginalImage[9] = IDENTITY_MATRIX) = 0;
Parameters
location The location of the complemented barcode.
matrixToOriginalImage The matrix to original image.
Return value
Returns 0 if successful, otherwise returns a negative value.
See Also