Click or drag to resize
Accord.NET (logo)

ErrorDiffusionToAdjacentNeighborsDiffuse Method

Do error diffusion.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
protected override 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 by base class.
See Also