Метод | Описание | |
---|---|---|
ErrorDiffusionToAdjacentNeighbors ( int coefficients ) : System |
Initializes a new instance of the ErrorDiffusionToAdjacentNeighbors class.
|
Метод | Описание | |
---|---|---|
Diffuse ( int error, byte ptr ) : void |
Do error diffusion. All parameters of the image and current processing pixel's coordinates are initialized by base class. |
Метод | Описание | |
---|---|---|
CalculateCoefficientsSum ( ) : void |
protected Diffuse ( int error, byte ptr ) : void | ||
error | int | Current error value. |
ptr | byte | Pointer to current processing pixel. |
Результат | void |
public ErrorDiffusionToAdjacentNeighbors ( int coefficients ) : System | ||
coefficients | int | Diffusion coefficients. |
Результат | System |