Introduction - If you have any usage issues, please Google them yourself
Dithering algorithm is divided into random dithering algorithm and ordered dithering algorithm. The random dithering algorithm randomly generates a set of template square matrix sequences, where the generation of random numbers is between the minimum gray level and the maximum gray level of the image. The ordered dithering algorithm is to manually set up some template values for matching operations. The main algorithms are decentralized dithering algorithm (Disperse Dither) and clustered discrete algorithm (cluster, Dith, and two). The decentralized algorithm is represented by the Bayer ordered dither algorithm. Later, Ulichenay proposed a local aggregation and scatter jitter algorithm based on the above two algorithms.