TextureRemovedGrayscaleImageUnit
The TextureRemovedGrayscaleImageUnit
class represents an intermediate result unit that contains texture-removed grayscale image data.
Definition
Module: dynamsoft_core
class TextureRemovedGrayscaleImageUnit(IntermediateResultUnit)
Methods
Method | Description |
---|---|
get_image_data |
Gets the texture-removed grayscale image. |
set_image_data |
Sets the texture-removed grayscale image. |
get_image_data
Gets the texture-removed grayscale image.
def get_image_data(self) -> ImageData:
Return value
Returns a texture-removed grayscale image.
See Also
set_image_data
Sets the texture-removed grayscale image.
def set_image_data(self, img_data: ImageData) -> int:
Parameters
img_data
The image data to set.
Return value
Returns 0 if succeeds, nonzero otherwise.
See Also