ImageProcessor::TEffectWhiteBalance Class Reference
class ImageProcessor::TEffectWhiteBalance : public ImageProcessor::TEffect |
The class provides functions to perform white balance adjustment on an image.
Inherits from
- ImageProcessor::TEffectWhiteBalance
Constructor & Destructor Documentation
TEffectWhiteBalance(Plugin::MEffect &, CImageProcessorImpl &)
Member Functions Documentation
ReferenceWhiteColorL()
IMPORT_C TRgb | ReferenceWhiteColorL | ( | ) | const |
Gets the current rgb value of the reference white color
SetWhiteBalanceL(TWhiteBalanceMode, TRgb)
Specifies the white balance mode and the value of reference white color.
-
leave
- KErrNotReady The effect is not active.
-
leave
- KErrArgument The whitebalance mode is not in the TWhiteBalanceMode enumeration
Parameters
TWhiteBalanceMode aWhiteBalanceMode | The white balance mode. |
TRgb aReferenceWhiteColor | The rgb value of the reference white color. |
WhiteBalanceModeL()
Gets the white balance mode
Member Enumerations Documentation
Enum TWhiteBalanceMode
Parameters to define the white balance modes.
Enumerators
EWhiteBalanceMeanMode |
Uses the estimated mean gray for the color correction, which is the default mode.
|
EWhiteBalanceMaxMode |
Uses the estimated maximum intensity color.
|
EWhiteBalanceManualMode |
Uses a white reference color.
|
EWhiteBalanceClusterMode |
Calulates the reference from the mean value of the 256-bin distribution.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.