Méthode | Description | |
---|---|---|
ColorErrorDiffusionToAdjacentNeighbors ( int coefficients ) : System |
Initializes a new instance of the ColorErrorDiffusionToAdjacentNeighbors class.
|
Méthode | Description | |
---|---|---|
Diffuse ( int rError, int gError, int bError, byte ptr ) : void |
Do error diffusion. All parameters of the image and current processing pixel's coordinates are initialized by base class. |
Méthode | Description | |
---|---|---|
CalculateCoefficientsSum ( ) : void |
public ColorErrorDiffusionToAdjacentNeighbors ( int coefficients ) : System | ||
coefficients | int | Diffusion coefficients (see |
Résultat | System |
protected Diffuse ( int rError, int gError, int bError, byte ptr ) : void | ||
rError | int | Error value of red component. |
gError | int | Error value of green component. |
bError | int | Error value of blue component. |
ptr | byte | Pointer to current processing pixel. |
Résultat | void |