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 :
«Предположительно произошла утечка информации о некоторых членах элитного, сверхсекретного клуба для мужчин в Калифорнии, среди которых лица от бывшего ведущего вечернего шоу Конана О’Брайена и миллиардера и бывшего мэра Нью-Йорка Майкла Блумберга до экс-гендиректора Google Эрика Шмидта», — говорится в материале.
,推荐阅读旺商聊官方下载获取更多信息
圖像來源,Getty Images
Раскрыты подробности допроса о похищенной в Смоленске девочкеСК обвинил мужчину и его сожительницу в похищении девочки в Смоленске