|
ColorErrorDiffusionToAdjacentNeighborsDiffuse Method
|
Do error diffusion.
Namespace:
Accord.Imaging.ColorReduction
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntaxprotected override void Diffuse(
int rError,
int gError,
int bError,
byte* ptr
)
Visual Basic does not support APIs that consume or return unsafe types.
Request Example
View SourceParameters
- rError
- Type: SystemInt32
Error value of red component. - gError
- Type: SystemInt32
Error value of green component. - bError
- Type: SystemInt32
Error value of blue component. - ptr
- Type: SystemByte*
Pointer to current processing pixel.
RemarksAll parameters of the image and current processing pixel's coordinates
are initialized by base class.
See Also