Table of contents

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: Dynamsoft.Core.intermediate_results

class TransformedGrayscaleImageUnit : IntermediateResultUnit 

Methods

Method Description
GetImageData Gets the transformed grayscale image.
SetImageData Sets the transformed grayscale image.

Inherited Methods

Checkout inherited methods from IntermediateResultUnit for more details.

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 an ImageData object that represents the image data of the transformed grayscale image.

See Also

ImageData

SetImageData

Sets the transformed 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: