DeformationResistedBarcodeImageUnit Class
The DeformationResistedBarcodeImageUnit class represents a unit that contains deformation resisted barcode image data. It inherits from the IntermediateResultUnit class.
Definition
Package: com.dynamsoft.dbr.intermediate_results
Inheritance: IntermediateResultUnit -> DeformationResistedBarcodeImageUnit
public class DeformationResistedBarcodeImageUnit extends IntermediateResultUnit
Methods
| Method | Description |
|---|---|
getDeformationResistedBarcode |
Gets the deformation resisted barcode object. |
setDeformationResistedBarcode |
Sets the deformation resisted barcode object. |
getDeformationResistedBarcode
Gets the deformation resisted barcode object.
public DeformationResistedBarcode getDeformationResistedBarcode()
Return value
Returns an instance of DeformationResistedBarcode.
See Also
setDeformationResistedBarcode
Sets the deformation resisted barcode object.
public void setDeformationResistedBarcode(DeformationResistedBarcode barcode) throws BarcodeReaderException
public void setDeformationResistedBarcode(DeformationResistedBarcode barcode, double[] matrixToOriginalImage) throws BarcodeReaderException
Parameters
barcode The deformation resisted barcode object.
matrixToOriginalImage The matrix to original image. The array length must be 9.
Exceptions
BarcodeReaderException If an error occurs while setting the deformation resisted barcode.
IllegalArgumentException If the matrixToOriginalImage array length is not 9.
See Also