AForge.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 error, byte ptr ) : void
error int Current error value.
ptr byte Pointer to current processing pixel.
return void
        protected abstract unsafe void Diffuse( int error, byte* ptr );