Do error diffusion.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
protected abstract void Diffuse(
	int error,
	byte* ptr
)

Parameters

error
Type: System..::.Int32
Current error value.
ptr
Type: System..::.Byte *
Pointer to current processing pixel.

Remarks

All parameters of the image and current processing pixel's coordinates are initialized in protected members.

See Also