Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
TextureRemovedGrayscaleImageUnit
The TextureRemovedGrayscaleImageUnit
class extends the IntermediateResultUnit
class and represents a texture-removed grayscale image unit.
Definition
Namespace: com.dynamsoft.core.intermediate_results
Assembly: DynamsoftCore.aar
class TextureRemovedGrayscaleImageUnit extends IntermediateResultUnit
Methods
Methods | Description |
---|---|
getImageData |
Gets the ImageData for the texture-removed grayscale image. |
setImageData |
Sets the ImageData for the texture-removed grayscale image. |
Inherited Methods
The following methods are inherited from class IntermediateResultUnit
.
Method | Description |
---|---|
clone |
Creates a copy of the intermediate result unit. |
gethashId |
Gets the hash ID of the unit. The hash ID is the unique identifier for the intermediate result unit. |
getOriginalImageHashId |
Gets the hash ID of the original image. You can use this ID to get the original image via IntermediateResultManager class. |
getOriginalImageTag |
Gets the image tag of the original image associated with this unit. |
getType |
Gets the type of the intermediate result unit, defined by the enumeration EnumIntermediateResultUnitType . |
getTransformMatrix |
Gets the transformation matrix via EnumTransformMatrixType . |
replace |
Replaces the old unit with the new unit. |
getImageData
Gets the ImageData
object as the image data of the texture-removed grayscale image.
ImageData getImageData();
Return Value
The ImageData
object as the image data of the texture-removed grayscale image.
setImageData
Sets the ImageData
object as the image data of the texture-removed grayscale image.
int setImageData(ImageData imageData);
Parameter
imageData
: The ImageData
object as the image data of the texture-removed grayscale image.
Return Value
Returns the ErrorCode
if failed. Otherwise, returns 0.