#include <imageprocessor/imageprocessoreffect.h>
Link against: imageprocessor.lib
class ImageProcessor::TEffectLevels : public ImageProcessor::TEffect |
Public Member Functions | |
---|---|
IMPORT_C TReal32 | BlackLevelL() |
IMPORT_C TReal32 | GrayLevelL() |
IMPORT_C void | SetWGBLevelL(TReal32, TReal32, TReal32) |
IMPORT_C TReal32 | WhiteLevelL() |
Inherited Enumerations | |
---|---|
ImageProcessor::TEffect:TEffectInputType |
The class provides functions to apply white, gray and black level adjustment to an image.
IMPORT_C TReal32 | BlackLevelL | ( | ) | const |
Gets the current dark saturating value.
IMPORT_C TReal32 | GrayLevelL | ( | ) | const |
Gets the current middle gray value.
Specifies the white/gray/black level.
Parameters | |
---|---|
aWhiteLevel | The position of the bright saturating point. Range (0.0) - (1.0). |
aGrayLevel | The relative position of the middle gray point. Range (0.0) - (1.0). |
aBlackLevel | The position of the dark saturating point. Range (0.0) - (1.0). |
Leave Codes | |
---|---|
KErrNotReady | The effect is not active. |
KErrArgument | The aWhiteLevel or aGrayLevel or aBlackLevel mode is not in the acceptable range. |
IMPORT_C TReal32 | WhiteLevelL | ( | ) | const |
Gets the current bright saturating value.