Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
DSTextureRemovedGrayscaleImageUnit
The DSTextureRemovedGrayscaleImageUnit
class extends the DSIntermediateResultUnit
class and represents a texture-removed grayscale image unit.
Definition
Assembly: DynamsoftCore.framework
- Objective-C
- Swift
@interface DSTextureRemovedGrayscaleImageUnit: DSIntermediateResultUnit
class TextureRemovedGrayscaleImageUnit : IntermediateResultUnit
Methods
Method | Description |
---|---|
setImageData |
Sets the image data for the texture-removed grayscale image. |
getImageData |
Gets the image data for the texture-removed grayscale image. |
Inherited Methods
The following methods are inherited from class IntermediateResultUnit
.
Method | Description |
---|---|
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 associated with this unit. |
getOriginalImageTag |
Gets the tag associated with the original image. |
getType |
Gets the type of the intermediate result unit, defined by the enumeration IntermediateResultUnitType . |
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. |
setImageData
Sets the image data for the texture-removed grayscale image.
- Objective-C
- Swift
-(NSInteger)setImageData:(DSImageData *)imageData;
func setImageData(_ imageData: DSImageData?) -> Int
Parameters
imageData
: A DSImageData
object as the image data of the texture removed grayscale image.
Return Value
Returns the ErrorCode
if failed. Otherwise, returns 0.
getImageData
Gets the image data for the texture-removed grayscale image.
- Objective-C
- Swift
-(nullable DSImageData *)getImageData;
func getImageData() -> DSImageData?
Return Value
A DSImageData
object that describes the texture removed grayscale image.