ImageProcessor::TEffectColorization Class Reference
class ImageProcessor::TEffectColorization : public ImageProcessor::TEffect
|
The class provides functions to adjust color tone and luminance/chrominance levels.
Inherits from
-
ImageProcessor::TEffectColorization
Constructor & Destructor Documentation
TEffectColorization(Plugin::MEffect &, CImageProcessorImpl &)
Member Functions Documentation
ChrominanceStrengthL()
IMPORT_C
TInt
|
ChrominanceStrengthL
|
(
|
)
|
const
|
Gets the current chrominance level of colorization effect
LuminanceStrengthL()
IMPORT_C
TInt
|
LuminanceStrengthL
|
(
|
)
|
const
|
Gets the current luminance level of colorization effect
ReferenceColorL()
IMPORT_C
TRgb
|
ReferenceColorL
|
(
|
)
|
const
|
Gets the current rgb value of the reference color
SetColorizationL(TRgb, TInt, TInt)
IMPORT_C void
|
SetColorizationL
|
(
|
TRgb
|
aReferenceColor,
|
|
TInt
|
aLuminanceStrength,
|
|
TInt
|
aChrominanceStrength
|
|
)
|
|
Specifies the rgb value of reference color and specifies luminance, chrominance level for the colorization effect.
-
leave
-
KErrNotReady The effect is not active.
-
leave
-
KErrArgument The luminance or chrominance strength is not in the acceptable range.
Parameters
TRgb
aReferenceColor
|
The rgb value of the reference color.
|
TInt
aLuminanceStrength
|
The strength of luminance. Range (-100) - (200), where 0.0 implies no adjustment.
|
TInt
aChrominanceStrength
|
The strength of chrominance. Range (-100) - (200), where 0.0 implies no adjustment.
|
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.