GrayscaleImageUnit
The GrayscaleImageUnit class represents a grayscale image unit. It is derived from the IntermediateResultUnit class.
Definition
Namespace: Dynamsoft.Core.intermediate_results
class GrayscaleImageUnit : IntermediateResultUnit
Methods
| Method | Description |
|---|---|
GetImageData |
Gets the grayscale image. |
SetImageData |
Sets the grayscale image. |
Inherited Methods
Checkout inherited methods from IntermediateResultUnit for more details.
GetImageData
Gets the grayscale image.
ImageData GetImageData()
Return value
Returns the ImageData object that contains the grayscale image.
See Also
SetImageData
Sets the grayscale image.
int SetImageData(ImageData imgData)
Parameters
[in] imgData The image data to set.
Return value
Returns 0 if succeeds, nonzero otherwise.
See Also