ScaledUpBarcodeImageUnit Class
ScaledUpBarcodeImageUnit
extends the IntermediateResultUnit
class and represents a unit which contains a scaled-up barcode image.
Definition
Assembly: DynamsoftBarcodeReader.aar
Namespace: com.dynamsoft.dbr.intermediate_results
class ScaledUpBarcodeImageUnit extends IntermediateResultUnit
Methods
Method | Description |
---|---|
getImageData |
Returns the ImageData of the scaled-up barcode image. |
setImageData |
Sets the scaled-up barcode image of the unit. |
The following methods are inherited from class IntermediateResultUnit
.
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. |
getTransformMatrix |
Gets the transformation matrix via DSTransformMatrixType . |
clone |
Creates a copy of the intermediate result unit. |
replace |
Replaces the content of the intermediate result unit. |
getImageData
Returns the ImageData
of the scaled-up barcode image.
ImageData getImageData();
Return value
A ImageData
object representing the scaled-up barcode image.
setImageData
Sets the scaled-up barcode image of the unit.
int setImageData(ImageData imageData);
Parameters
[in] imageData
An ImageData
object which represents the scaled-up barcode image.
Return value
Returns the ErrorCode
if it fails. Otherwise, returns 0.