C# Class SimplePaletteQuantizer.Ditherers.ErrorDiffusion.BaseErrorDistributionDitherer

Inheritance: BaseColorDitherer
显示文件 Open project: RHY3756547/FreeSO

Protected Methods

Method Description
OnProcessPixel ( Pixel sourcePixel, Pixel targetPixel ) : System.Boolean

See BaseColorDitherer.OnProcessPixel for more details.

Private Methods

Method Description
ProcessNeighbor ( Pixel targetPixel, Int32 x, Int32 y, System.Single factor, Int32 redError, Int32 greenError, Int32 blueError ) : void

Method Details

OnProcessPixel() protected method

See BaseColorDitherer.OnProcessPixel for more details.
protected OnProcessPixel ( Pixel sourcePixel, Pixel targetPixel ) : System.Boolean
sourcePixel Pixel
targetPixel Pixel
return System.Boolean