The invention relates to the technical field of halftoning, in particular to a multi-level halftoning method and
system based on image partition
error diffusion, and the method comprises the steps: dividing an input original image into a flat region and a non-flat region, and employing
gray level replacement quantization in the flat region to increase the high-frequency blue
noise characteristic of a halftoning result, the method comprises the following steps of: forming distribution close to blue
noise to reduce stripe
distortion which can be observed by human eyes, introducing an edge preserving mechanism into a non-flat region, calculating an accumulated weight error according to texture information in a texture region information
mask, and introducing a propagation error into a
total error to prevent edge pixels in an image from being influenced by errors of adjacent pixels, so that the
image quality is improved. Edge details are protected, and edge detail degradation is avoided. According to the method, the stripe artifact phenomenon of a flat area can be relieved, texture and edge details are protected, nearly ideal
halftone characteristics can be provided, and the output quality of a
halftone image is improved.