Talk:Floyd-Steinberg dithering
From Wikipedia, the free encyclopedia
Is this pseudo code correct? I think it should be:
pixel[x+1][y] := pixel[x+1][y] + 7/16 * quant_error pixel[x-1][y+1] := pixel[x-1][y+1] + 3/16 * quant_error
...
otherwise we set all the neighbors to low values