Table of contents

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

ImageData

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

ImageData

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: