ImageProcessor::TEffectColorization Class Reference

class ImageProcessor::TEffectColorization : public ImageProcessor::TEffect

The class provides functions to adjust color tone and luminance/chrominance levels.

Inherits from

Constructor & Destructor Documentation

TEffectColorization(Plugin::MEffect &, CImageProcessorImpl &)

TEffectColorization ( Plugin::MEffect & aEffect,
CImageProcessorImpl & aImageProcessorImpl
) [private]

Parameters

Plugin::MEffect & aEffect
CImageProcessorImpl & aImageProcessorImpl

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.