C# Class ImageProcessor.Imaging.Quantizers.WuQuantizer.PaletteColorHistory

The palette color history containing the sum of all pixel data. Adapted from
Show file Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Public Properties

Property Type Description
Alpha int
Blue int
Green int
Red int
Sum int

Public Methods

Method Description
AddPixel ( ImageProcessor.Imaging.Colors.Color32 pixel ) : void

Adds a pixel to the color history.

ToNormalizedColor ( ) : Color

Normalizes the color.

Method Details

AddPixel() public method

Adds a pixel to the color history.
public AddPixel ( ImageProcessor.Imaging.Colors.Color32 pixel ) : void
pixel ImageProcessor.Imaging.Colors.Color32 /// The pixel to add. ///
return void

ToNormalizedColor() public method

Normalizes the color.
public ToNormalizedColor ( ) : Color
return System.Drawing.Color

Property Details

Alpha public property

The alpha component.
public int Alpha
return int

Blue public property

The blue component.
public int Blue
return int

Green public property

The green component.
public int Green
return int

Red public property

The red component.
public int Red
return int

Sum public property

The sum of the color components.
public int Sum
return int