Method | Description | |
---|---|---|
ErrorDiffusionToAdjacentNeighbors ( int coefficients ) : System |
Initializes a new instance of the ErrorDiffusionToAdjacentNeighbors class.
|
Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
CalculateCoefficientsSum ( ) : void |
protected Diffuse ( int error, byte ptr ) : void | ||
error | int | Current error value. |
ptr | byte | Pointer to current processing pixel. |
return | void |
public ErrorDiffusionToAdjacentNeighbors ( int coefficients ) : System | ||
coefficients | int | Diffusion coefficients. |
return | System |