GammaCorrect performs a gamma correction to the specified channels.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void GammaCorrect(
	double val,
	bool applyRed,
	bool applyGreen,
	bool applyBlue
)
Public Sub GammaCorrect ( _
	val As Double, _
	applyRed As Boolean, _
	applyGreen As Boolean, _
	applyBlue As Boolean _
)
public:
void GammaCorrect(
	double val, 
	bool applyRed, 
	bool applyGreen, 
	bool applyBlue
)

Parameters

val
Double
The gamma correction value. 1.0 causes no gamma correction.
applyRed
Boolean
Set true to apply gamma to Red channel.
applyGreen
Boolean
Set true to apply gamma to Green channel.
applyBlue
Boolean
Set true to apply gamma to Blue channel.

See Also