Accord.Imaging.Filters.ErrorDiffusionDithering.Diffuse C# (CSharp) Method

Diffuse() protected abstract method

Do error diffusion.
All parameters of the image and current processing pixel's coordinates are initialized in protected members.
protected abstract Diffuse ( int errorValue, byte ptr ) : void
errorValue int Current error value.
ptr byte Pointer to current processing pixel.
return void
        protected abstract unsafe void Diffuse(int errorValue, byte* ptr);