| class ImageProcessor::TEffectWhiteBalance : public ImageProcessor::TEffect |
The class provides functions to perform white balance adjustment on an image.
| Public Member Functions | |
|---|---|
| IMPORT_C TRgb | ReferenceWhiteColorL () |
| IMPORT_C void | SetWhiteBalanceL ( TWhiteBalanceMode , TRgb ) |
| IMPORT_C TWhiteBalanceMode | WhiteBalanceModeL () |
| Private Member Functions | |
|---|---|
| TEffectWhiteBalance ( Plugin::MEffect &, CImageProcessorImpl &) | |
| Public Member Enumerations | |
|---|---|
| enum | TWhiteBalanceMode { EWhiteBalanceMeanMode , EWhiteBalanceMaxMode , EWhiteBalanceManualMode , EWhiteBalanceClusterMode } |
| Inherited Enumerations | |
|---|---|
| ImageProcessor::TEffect:TEffectInputType | |
| TEffectWhiteBalance | ( | Plugin::MEffect & | aEffect, |
| CImageProcessorImpl & | aImageProcessorImpl | ||
| ) | [private] | ||
| Plugin::MEffect & aEffect | |
| CImageProcessorImpl & aImageProcessorImpl |
| IMPORT_C TRgb | ReferenceWhiteColorL | ( | ) | const |
Gets the current rgb value of the reference white color
| IMPORT_C void | SetWhiteBalanceL | ( | TWhiteBalanceMode | aWhiteBalanceMode, |
| TRgb | aReferenceWhiteColor | |||
| ) | ||||
Specifies the white balance mode and the value of reference white color.
| TWhiteBalanceMode aWhiteBalanceMode | The white balance mode. |
| TRgb aReferenceWhiteColor | The rgb value of the reference white color. |
| IMPORT_C TWhiteBalanceMode | WhiteBalanceModeL | ( | ) | const |
Gets the white balance mode
Parameters to define the white balance modes.
| 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.