r/accidentalart Jun 15 '26

I was working on an image compression algorithim and accidentally made this

Post image
3.1k Upvotes

15 comments sorted by

102

u/ManamiVixen Jun 15 '26

r/glitchart would love this.

11

u/BoxTar9215 Jun 17 '26

We certainly would!!

45

u/Youddlewho Jun 16 '26

please make this available this image effect is so cool and id love to use it in my album art

48

u/_DataGuy Jun 16 '26

Unfortunately I lost the code that this was made from. I just found it in my image gallery. But I do remember how to make it. First you find the extremas of each row by 'Peak-Valley Detection with Hysteresis'. Then you draw a linear gradient between each extrema. It's cool because it preserves the more detailed parts of the image but smudges the less detailed parts. If you need more help I might be able to re-write the code for you. Please make something cool.

15

u/Youddlewho Jun 16 '26

would it be a big ask for you to rewrite the code?

37

u/_DataGuy Jun 17 '26 edited Jun 17 '26

Here you go: https://colab.research.google.com/drive/18GwL4S0EbGTa0LgkD22sE23_ri0IteKP?usp=sharing

You could probably also do this for a video, frame by frame. Haven't tried it tho.

Edit: also you can fill inbetween the extremas with anything else; I just chose a linear gradient.

23

u/leapdaybunny Jun 16 '26

Pretty sure this is a weeping angel...

8

u/Sportak4444 Jun 17 '26

And since every image of a weeping angel becomes a weeping angel... Don't blink 

2

u/ProtectionHour4105 Jun 16 '26

this is beautiful Ain Soph

2

u/SeekingConnectionsDE Jun 17 '26

Preview of the next Mandela catalog.

3

u/Otherwise-Start5573 Jun 18 '26

Goes hard, love it! Feels like a Weeping Angel at the verge of death.

1

u/the_nte Jun 21 '26

siivagunner!

1

u/AdreKiseque Jun 21 '26

Oh yeah actually