Table of contents

EnhancedGrayscaleImageUnit

The EnhancedGrayscaleImageUnit class represents an intermediate result unit that contains an enhanced grayscale image data. Gray enhancement methods include gray equalization, gray smoothing, gray sharpening and smoothing.

Definition

Module: dynamsoft_core

class EnhancedGrayscaleImageUnit(IntermediateResultUnit)

Methods

Method Description
get_image_data Gets the enhanced grayscale image data.
set_image_data Sets the enhanced grayscale image data.

get_image_data

Gets the enhanced grayscale image data.

def get_image_data(self) -> ImageData:

Return value

Returns an ImageData object that contains the enhanced grayscale image data.

See Also

ImageData

set_image_data

Sets the enhanced grayscale image data.

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

ImageData

Is this page helpful?

YesYes NoNo

In this article: