Image processing method and system based on error diffusion Dither algorithm, and medium

An error diffusion and image processing technology, applied in the field of image processing, can solve problems such as incomplete display of regular images and increased hardware design costs, achieving the effect of increased complexity and low cost

Active Publication Date: 2021-10-22
广州匠芯创科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Usually image display requires visual effects, the greater the color depth, the better the visual effect, but the cost of hardware design will also increase
The Dither algorithm can solve the cost problem. For example, the 6-bit color depth circuit design can achieve the display effect of 8-bit color depth. However, the conventional Dither algorithm also has some defects. For example, the display effect of regular images (such as gradient color bars) is not completely ideal.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image processing method and system based on error diffusion Dither algorithm, and medium
  • Image processing method and system based on error diffusion Dither algorithm, and medium
  • Image processing method and system based on error diffusion Dither algorithm, and medium

Examples

Experimental program
Comparison scheme
Effect test

proportion 2

[0039] refer to image 3 , the embodiment of the present invention adopts a multi-set template error diffusion algorithm, and expands another three templates on the basis of template 0. The four sets of templates have the same characteristics, and the error of the current pixel is only diffused to adjacent pixels, and the new template does not increase Computational complexity, so no additional cost is incurred. The pseudo-random factor is a 24-bit pseudo-random number generated by the Fibonacci type LFSR (Linear Feedback Shift Register). Select bit[1:0] to select the error diffusion random template, which can generate 16,777,216 possibilities, which can be realized on each pixel of each frame Randomly select algorithm templates. Assuming that the current pixel is diffused at a ratio of 2:1:1, and the next pixel is processed at a diffusion ratio of 2:0:2, and so on, each pixel error is calculated and converted to nearby pixels to share the error and present randomness, achiev...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses an image processing method and system based on an error diffusion Dither algorithm, and a medium, and the method comprises the following steps: setting a plurality of groups of templates, and setting serial numbers corresponding to the plurality of groups of templates, the plurality of groups of templates being used for diffusing the error of the current pixel to the adjacent pixel; and acquiring to-be-processed image data, for each pixel, selecting one template in the plurality of groups of templates according to the pseudo-random number, and performing error diffusion processing through an error diffusion Dither algorithm. According to the embodiment of the invention, an error diffusion Dither algorithm of pseudo-randomly selecting various templates is adopted, and the image display effect is closer to the reality in regular image display application scenes, such as gradient color bars and the like, based on the effect of human vision residual.

Description

technical field [0001] The invention relates to the field of image processing, in particular to an image processing method, system and medium based on an error diffusion Dither algorithm. Background technique [0002] Usually image display requires visual effects, and the greater the color depth, the better the visual effects, but the cost of hardware design will also increase accordingly. The Dither algorithm can solve the cost problem. For example, the 6-bit color depth circuit design can achieve the display effect of 8-bit color depth. However, the conventional Dither algorithm also has some defects. For example, the display effect of regular images (such as gradient color bars) is not completely ideal. Contents of the invention [0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes an image processing method based on the error diffusion Dither algorithm, which can be us...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N9/64G09G3/20
CPCH04N9/646G09G3/20
Inventor 吴永锋原顺
Owner 广州匠芯创科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products