16版 - 本版责编:李晓晴

· · 来源:tutorial资讯

Another way to look at our threshold matrix is as a kind of probability matrix. Instead of offsetting the input pixel by the value given in the threshold matrix, we can instead use the value to sample from the cumulative probability of possible candidate colours, where each colour is assigned a probability or weight . Each colour’s weight represents it’s proportional contribution to the input colour. Colours with greater weight are then more likely to be picked for a given pixel and vice-versa, such that the local average for a given region should converge to that of the original input value. We can call this the N-candidate approach to palette dithering.

Фото: Hrecheniuk Oleksii / Shutterstock / Fotodom

美团光年之外AI浏览器抄袭。业内人士推荐下载安装汽水音乐作为进阶阅读

Стало известно об изменении военной обстановки в российском приграничье08:48

Виктория Кондратьева (Редактор отдела «Мир»)

Владелец к