메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
GetMatrixFactor ( ) : |
||
GetPathProvider ( ) : IPathProvider |
public ChangePathProvider ( IPathProvider pathProvider ) : void | ||
pathProvider | IPathProvider | |
리턴 | void |
protected abstract CreateCoeficientMatrix ( ) : ].Byte[ | ||
리턴 | ].Byte[ |
protected GetClampedColorElement ( |
||
colorElement | ||
리턴 |
protected GetClampedColorElementWithError ( |
||
colorElement | ||
factor | System.Single | |
error | ||
리턴 |
public GetPointPath ( |
||
width | ||
heigth | ||
리턴 | IList |
protected OnCreateDefaultPathProvider ( ) : IPathProvider | ||
리턴 | IPathProvider |
protected abstract OnProcessPixel ( Pixel sourcePixel, Pixel targetPixel ) : System.Boolean | ||
sourcePixel | Pixel | |
targetPixel | Pixel | |
리턴 | System.Boolean |
public Prepare ( IColorQuantizer quantizer, |
||
quantizer | IColorQuantizer | |
colorCount | ||
sourceBuffer | ||
targetBuffer | ||
리턴 | void |
public ProcessPixel ( Pixel sourcePixel, Pixel targetPixel ) : System.Boolean | ||
sourcePixel | Pixel | |
targetPixel | Pixel | |
리턴 | System.Boolean |