Click or drag to resize
Accord.NET (logo)

ErrorDiffusionDitheringDiffuse Method

Do error diffusion.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
protected abstract void Diffuse(
	int errorValue,
	byte* ptr
)
Request Example View Source

Parameters

errorValue
Type: SystemInt32
Current error value.
ptr
Type: SystemByte*
Pointer to current processing pixel.
Remarks
All parameters of the image and current processing pixel's coordinates are initialized in protected members.
See Also