dithering

image

video

custom threshold map