Table 2: Limited accumulation of quantization error with weighting
Quantization error list | source pixel | adjusted pixel | quantized pixel | |||
0 | 0 | 0 | 0 | 128 | 128 | 255 |
0 | 0 | 0 | -127 | 128 | 1 | 0 |
0 | 0 | -127 | 128 | 128 | 176 | 255 |
0 | -127 | 128 | -127 | 128 | 30 | 0 |
-127 | 128 | -127 | 128 | 128 | 195 | 255 | 128 | -127 | 128 | -127 | 128 | 63 | 0 |
weights | ||||||
0.25 | 0.40 | 0.63 | 1.0 |