Table of contents

CDeformationResistedBarcodeImageUnit Class

The CDeformationResistedBarcodeImageUnit class represents a unit that contains deformation resisted barcode image data. It inherits from the CIntermediateResultUnit class.

Definition

Namespace: dynamsoft::dbr::intermediate_results

Assembly: DynamsoftBarcodeReader

Inheritance: CIntermediateResultUnit -> CDeformationResistedBarcodeImageUnit

class CDeformationResistedBarcodeImageUnit: public CIntermediateResultUnit

Methods

Method Description
GetDeformationResistedBarcode Gets the deformation resisted barcode object.
SetDeformationResistedBarcode Sets the deformation resisted barcode object.

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.
Replace Replaces the CIntermediateResultUnit object to the specified CIntermediateResultUnit object.

GetDeformationResistedBarcode

Gets the deformation resisted barcode object.

virtual CDeformationResistedBarcode GetDeformationResistedBarcode() const = 0;

Return value

Returns an instance of CDeformationResistedBarcode.

See Also

CDeformationResistedBarcode

SetDeformationResistedBarcode

Sets the deformation resisted barcode object.

virtual int SetDeformationResistedBarcode(const CDeformationResistedBarcode& barcode, const double matrixToOriginalImage[9] = IDENTITY_MATRIX) = 0;

Parameters

[in] barcode The deformation resisted barcode object.

matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

CDeformationResistedBarcode

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: