摘要 |
An image processing device comprises a halftoning module, a detecting module, an adding module and a generating module. The halftoning module generates an error diffusion value. The detecting module detects an edge at a current pixel of an image. The adding module adds the pixel value of the current pixel with one of the error diffusion value and an error diffusion seed according to the detecting result. The generating module generates the error diffusion seed. The error diffusion seed is generated by a formula based on the pixel value and location of the current pixel and a random number, or the error diffusion seed is generated by a formula based on the pixel value of the current pixel and a looked-up value, and the looked-up value is retrieved from a look-up table according to the location of the current pixel. |