Instead of perturbing each pixel in the input image at random, we can choose to dither by a predetermined amount depending on the pixel’s position in the image. This can be achieved using a threshold map; a small, fixed-size matrix where each entry tells us the amount by which to perturb the input value , producing the dithered value . This matrix is tiled across the input image and sampled for every pixel during the dithering process. The following describes a dithering function for a 4×4 matrix given the pixel raster coordinates :
圖像來源,Getty Images
。im钱包官方下载对此有专业解读
A simple demonstration of the use of a probability matrix to select from two candidate colours. In this case, both colours contribute equally to the initial input colour. The normalised threshold matrix value at for a given pixel is compared against the cumulative probability of each candidate.
二二八:兩邊都說不能忘記但是距離很遠2016年2月28日
。Line官方版本下载是该领域的重要参考
В Финляндии предупредили об опасном шаге ЕС против России09:28
新年伊始,银行业的高层人事变动悄然提速。有人履新赴任,执掌帅印;也有人挥手作别,功成身退。,这一点在爱思助手下载最新版本中也有详细论述