TransformedGrayscaleImageUnit
The TransformedGrayscaleImageUnit class is a subclass of IntermediateResultUnit that represents a transformed grayscale image. It may be the original grayscale image or the inverted image of the original grayscale image.
Definition
Namespace: com.dynamsoft.core.intermediate_results
public class TransformedGrayscaleImageUnit extends IntermediateResultUnit
Methods
| Method | Description |
|---|---|
getImageData |
Gets the transformed grayscale image. |
setImageData |
Sets the transformed grayscale image. |
getImageData
Gets the image data of the transformed grayscale image. It may be the original grayscale image or the inverted image of the original grayscale image.
ImageData getImageData()
Return value
Returns a ImageData object that represents the image data of the transformed grayscale image.
See Also
setImageData
Sets the transformed grayscale image.
void setImageData(ImageData imgData) throws CoreException
Parameters
imgData The image data to set.
Exception
See Also