#include <imageprocessor/imageprocessoreffect.h>
class ImageProcessor::TEffectColorization : public ImageProcessor::TEffect |
Public Member Functions | |
---|---|
IMPORT_C TInt | ChrominanceStrengthL() |
IMPORT_C TInt | LuminanceStrengthL() |
IMPORT_C TRgb | ReferenceColorL() |
IMPORT_C void | SetColorizationL(TRgb, TInt, TInt) |
Inherited Enumerations | |
---|---|
ImageProcessor::TEffect:TEffectInputType |
The class provides functions to adjust color tone and luminance/chrominance levels.
IMPORT_C TInt | ChrominanceStrengthL | ( | ) | const |
Gets the current chrominance level of colorization effect
Returns: Strength of chrominance
IMPORT_C TInt | LuminanceStrengthL | ( | ) | const |
Gets the current luminance level of colorization effect
Returns: Strength of luminance
IMPORT_C TRgb | ReferenceColorL | ( | ) | const |
Gets the current rgb value of the reference color
Returns: The rgb value of the reference color
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.
Parameter | Description |
---|---|
aReferenceColor | The rgb value of the reference color. |
aLuminanceStrength | The strength of luminance. Range (-100) - (200), where 0.0 implies no adjustment. |
aChrominanceStrength | The strength of chrominance. Range (-100) - (200), where 0.0 implies no adjustment. |