Do error diffusion.
Namespace:
AForge.Imaging.ColorReductionAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
Parameters
- rError
- Type: System..::.Int32
Error value of red component.
- gError
- Type: System..::.Int32
Error value of green component.
- bError
- Type: System..::.Int32
Error value of blue component.
- ptr
- Type:
System..::.Byte
*
Pointer to current processing pixel.
Remarks
All parameters of the image and current processing pixel's coordinates
are initialized by base class.