BigK-hub / webcam-image-processor

3 stars 0 forks source link

Floyd Steinberg Dithering doesn't use correct channel values #18

Open domjanabi opened 1 year ago

domjanabi commented 1 year ago

Present for all bits (except maybe 8), but most noticeable in 1bit. 1 bit channel values should either map to 0 or 255, but instead they (presumably, haven't checked) map to 0 and 128.

domjanabi commented 1 year ago

Now fixed, but an issue remains. for white pixels, the dithered version basically doesn't update them? it leaves a trail of previous frames.

domjanabi commented 1 year ago

seems like the problem magically fixed itself lol

domjanabi commented 1 year ago

nvm it's back 💀