ImageProcessor::TEffectLevels Class Reference

#include <imageprocessor/imageprocessoreffect.h>

Link against: imageprocessor.lib

class ImageProcessor::TEffectLevels : public ImageProcessor::TEffect

Inherits from

Detailed Description

The class provides functions to apply white, gray and black level adjustment to an image.

Member Function Documentation

BlackLevelL ( )

IMPORT_C TReal32BlackLevelL()const

Gets the current dark saturating value.

Returns: The dark saturating value

GrayLevelL ( )

IMPORT_C TReal32GrayLevelL()const

Gets the current middle gray value.

Returns: The middle gray value

SetWGBLevelL ( TReal32, TReal32, TReal32 )

IMPORT_C voidSetWGBLevelL(TReal32aWhiteLevel,
TReal32aGrayLevel,
TReal32aBlackLevel
)

Specifies the white/gray/black level.

leave
KErrNotReady The effect is not active.
leave
KErrArgument The aWhiteLevel or aGrayLevel or aBlackLevel mode is not in the acceptable range.
ParameterDescription
aWhiteLevelThe position of the bright saturating point. Range (0.0) - (1.0).
aGrayLevelThe relative position of the middle gray point. Range (0.0) - (1.0).
aBlackLevelThe position of the dark saturating point. Range (0.0) - (1.0).

WhiteLevelL ( )

IMPORT_C TReal32WhiteLevelL()const

Gets the current bright saturating value.

Returns: The bright saturating value