Method | Description | |
---|---|---|
ChangePathProvider ( IPathProvider pathProvider ) : void | ||
Finish ( ) : void |
See IColorDitherer.Prepare for more details.
|
|
GetPointPath ( ) : IList |
Retrieves the path in which to traverse
|
|
GetPointPath ( |
See IPathProvider.GetPointPath for more details.
|
|
Prepare ( IColorQuantizer quantizer, |
See IColorDitherer.Prepare for more details.
|
|
ProcessPixel ( Pixel sourcePixel, Pixel targetPixel ) : System.Boolean |
See ProcessPixel for more details.
|
Method | Description | |
---|---|---|
CreateCoeficientMatrix ( ) : ].Byte[ |
Creates the coeficient matrix.
|
|
GetClampedColorElement ( |
||
GetClampedColorElementWithError ( |
||
OnCreateDefaultPathProvider ( ) : IPathProvider |
Called when a need to create default path provider arisen.
|
|
OnFinish ( ) : void |
Called when dithering is finished.
|
|
OnPrepare ( ) : void |
Called when ditherer is about to be prepared.
|
|
OnProcessPixel ( Pixel sourcePixel, Pixel targetPixel ) : System.Boolean |
Allows ditherer to process image per pixel, with ability to access the rest of the image.
|
Method | Description | |
---|---|---|
GetMatrixFactor ( ) : |
||
GetPathProvider ( ) : IPathProvider |
public ChangePathProvider ( IPathProvider pathProvider ) : void | ||
pathProvider | IPathProvider | |
return | void |
protected abstract CreateCoeficientMatrix ( ) : ].Byte[ | ||
return | ].Byte[ |
protected GetClampedColorElement ( |
||
colorElement | ||
return |
protected GetClampedColorElementWithError ( |
||
colorElement | ||
factor | System.Single | |
error | ||
return |
public GetPointPath ( |
||
width | ||
heigth | ||
return | IList |
protected OnCreateDefaultPathProvider ( ) : IPathProvider | ||
return | IPathProvider |
protected abstract OnProcessPixel ( Pixel sourcePixel, Pixel targetPixel ) : System.Boolean | ||
sourcePixel | Pixel | |
targetPixel | Pixel | |
return | System.Boolean |
public Prepare ( IColorQuantizer quantizer, |
||
quantizer | IColorQuantizer | |
colorCount | ||
sourceBuffer | ||
targetBuffer | ||
return | void |
public ProcessPixel ( Pixel sourcePixel, Pixel targetPixel ) : System.Boolean | ||
sourcePixel | Pixel | |
targetPixel | Pixel | |
return | System.Boolean |