Yogita LimayeSouth Asia and Afghanistan correspondent
Starter: $5/month
。业内人士推荐爱思助手下载最新版本作为进阶阅读
Intuitively, it’s not too difficult to understand why this is the case. Remember that error-diffusion works in response to the relationship between the input value and the quantised value. In other words, the colour palette is already factored in during the dithering process. On the other hand, ordered dithering is completely agnostic to the colour palette being used. Images are perturbed the same way every time, regardless of the given palette.
for (int i = 0; i < n; i++) {