Property | Type | Description | |
---|---|---|---|
startX | int | ||
startY | int | ||
stopX | int | ||
stopY | int | ||
stride | int | ||
x | int | ||
y | int |
Method | Description | |
---|---|---|
Diffuse ( int error, byte ptr ) : void |
Do error diffusion. All parameters of the image and current processing pixel's coordinates are initialized in protected members. |
|
ErrorDiffusionDithering ( ) : System |
Initializes a new instance of the ErrorDiffusionDithering class.
|
|
ProcessFilter ( UnmanagedImage image, |
Process the filter on the specified image.
|
protected abstract Diffuse ( int error, byte ptr ) : void | ||
error | int | Current error value. |
ptr | byte | Pointer to current processing pixel. |
return | void |
protected ErrorDiffusionDithering ( ) : System | ||
return | System |
protected ProcessFilter ( UnmanagedImage image, |
||
image | UnmanagedImage | Source image data. |
rect | Image rectangle for processing by the filter. | |
return | void |