Colorize sets hue and saturation for all pixels of the image.
It also changes the luminosity using this paramter as a multiplicator to increase or decrease the luminosity.
This function could be used to obtain a sepia effect, using following parameters:
IEViewer1.Image.Colorize(40,50,1.1);
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void Colorize( int hue, int saturation, double luminosity )
Public Sub Colorize ( _ hue As Integer, _ saturation As Integer, _ luminosity As Double _ )
public: void Colorize( int hue, int saturation, double luminosity )
Parameters
- hue
- Int32
Hue assumes values between 0 and 359 (corresponding to 0..359 degrees around hexcone).
- saturation
- Int32
Saturation assumes values between 0 (shade of gray) to 99 (pure color).
- luminosity
- Double
Luminosity is 1 when you don't touch the original luminosity.