RetroFed Forum
Your home away from modern life.
Butterflies - This image only has 16 colors
Post Reply
AuthorMessage
over_clox lemmy.world over_clox@lemmy.world
Joined: 2023-07-09
Quote

This is a 16 color palette reduced image using my own custom palette generator algorithm. The palette it detected and in use is in the top right.

Based on this post right here...

https://discuss.online/post/36509543

26   Original
henfredemars infosec.pub henfredemars@infosec.pub
Joined: 2023-07-04
#2 · Quote Reply

This image has this lovely crustiness to the limited color palette that really speaks to my days using fishbowl Macs in the computer lab.

6
over_clox lemmy.world over_clox@lemmy.world
Joined: 2023-07-09
#3 · Quote Reply

This image has this lovely crustiness to the limited color palette that really speaks to my days using fishbowl Macs in the computer lab.

Yes indeed 👍

But there's a little something different I did here, I made my own custom palette reduction algorithm, that finds the best palette for a given image.

Yeah it's not a new idea by far, but my algorithm seeks the edges of the color space first, yielding higher color saturation than most other palette reduction techniques.

4
Cawifre lemmy.world Cawifre@lemmy.world
Joined: 2024-03-09
#4 · Quote Reply

Yes indeed 👍 But there's a little something different I did here, I made my own custom palette reduction algorithm, that finds the best palette for a given image. Yeah it's not a new idea by far, but my algorithm seeks the edges of the color space first, yielding higher color saturation than most other palette reduction techniques.

I'm really impressed with how well it retained the fuzziness of their faces and on the traces on the upper one's wing segments.

2
tyler programming.dev tyler@programming.dev
Joined: 2023-06-12
#5 · Quote Reply

Makes me think of the recent stand up maths video on dithering.

3
glibg lemmy.ca glibg@lemmy.ca
Joined: 2024-03-04
#6 · Quote Reply

Great photo and great example of colour efficiency.

3
over_clox lemmy.world over_clox@lemmy.world
Joined: 2023-07-09
#7 · Quote Reply

I'm really impressed with how well it retained the fuzziness of their faces and on the traces on the upper one's wing segments.

I didn't exactly reinvent the error diffusion dithering algorithm, I just reinvented palette reduction tailored to a specific image, that gives the most optimal palette for the given image.

I wrote the algorithm like 18 years ago, kinda just testing myself to see if I even remember how it works in its incomplete state. Apparently so.. 👍

1
jim_v lemmy.world jim_v@lemmy.world
Joined: 2023-11-21
#8 · Quote Reply

Makes me think of the recent stand up maths video on dithering.

The magic of adding random noise to black and white images.

4
over_clox lemmy.world over_clox@lemmy.world
Joined: 2023-07-09
#9 · Quote Reply

The magic of adding random noise to black and white images.

He's doing ordered dithering plus random generated noise there. That's a bit different than error diffusion dithering, the noise comes from the image itself via a feedback loop.

1
Post Reply
Back to top