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.

Return Value
The dark saturating value

GrayLevelL ( )

IMPORT_C TReal32GrayLevelL()const

Gets the current middle gray value.

Return Value
The middle gray value

SetWGBLevelL ( TReal32, TReal32, TReal32 )

IMPORT_C voidSetWGBLevelL(TReal32aWhiteLevel,
TReal32aGrayLevel,
TReal32aBlackLevel
)

Specifies the white/gray/black level.

Parameters
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).
Leave Codes
KErrNotReadyThe effect is not active.
KErrArgumentThe aWhiteLevel or aGrayLevel or aBlackLevel mode is not in the acceptable range.

WhiteLevelL ( )

IMPORT_C TReal32WhiteLevelL()const

Gets the current bright saturating value.

Return Value
The bright saturating value