C# Class AForge.Imaging.Filters.BrightnessCorrection

Brightness adjusting using luminance value of HSL color space
Inheritance: IFilter, IInPlaceFilter
Show file Open project: noxryan/Claro-Shader Class Usage Examples

Public Methods

Method Description
BrightnessCorrection ( ) : System

Initializes a new instance of the BrightnessCorrection class.

BrightnessCorrection ( double adjustValue ) : System

Initializes a new instance of the BrightnessCorrection class.

BrightnessCorrection ( double adjustValue, bool keepBW, bool keepGray, int grayTolerance ) : System

Initializes a new instance of the BrightnessCorrection class.

Protected Methods

Method Description
ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void

Process the filter on the specified image.

Method Details

BrightnessCorrection() public method

Initializes a new instance of the BrightnessCorrection class.
public BrightnessCorrection ( ) : System
return System

BrightnessCorrection() public method

Initializes a new instance of the BrightnessCorrection class.
public BrightnessCorrection ( double adjustValue ) : System
adjustValue double Brightness adjust value.
return System

BrightnessCorrection() public method

Initializes a new instance of the BrightnessCorrection class.
public BrightnessCorrection ( double adjustValue, bool keepBW, bool keepGray, int grayTolerance ) : System
adjustValue double Brightness adjust value.
keepBW bool Keep blacks and whites alone.
keepGray bool Keep grays alone.
grayTolerance int Gray Tolerance range to leave untouched.
return System

ProcessFilter() protected method

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void
image UnmanagedImage Source image data.
rect System.Drawing.Rectangle Image rectangle for processing by the filter.
return void