C# Class AForge.Imaging.Filters.BrightnessCorrection

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void

Process the filter on the specified image.

Method Details

BrightnessCorrection() public méthode

Initializes a new instance of the BrightnessCorrection class.
public BrightnessCorrection ( ) : System
Résultat System

BrightnessCorrection() public méthode

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

BrightnessCorrection() public méthode

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.
Résultat System

ProcessFilter() protected méthode

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.
Résultat void