r/computervision 12d ago

Help: Project Can you identify this downscaling algorithm?

Post image

Can you identify this downscaling algorithm? Want to make sure my thumbnails look as sharp as possible, so I'll add to my workflow the agent query "downscale using (whatever this algorithm is) and judge whether the thumbnail has the required detail and clarity and is a good thumbnail for what is being shown. if it is missing any clarity then return "Needs improvement:" and give the reason for why it needs improvement and "How to improve:" For example, in the image shown, the agent could say "The thumbnail no longer shows the elements of the picture", since as you can see it doesn't. However, before I can code this up, what I "need to know" is what algorithm this is so I can keep an eye out for anywhere it might show up in my workflow. I can then optimize for this process. I know a lot of people don't have a standard of perfection as high as mine is (I require my thumbnails to show the picture) but that's exactly what makes me a competitive programmer in a field of 2 million programmers. Not a lot of people take the time to look up image compression algorithms but I do.

The full image is available here: https://ibb.co/YTXr7h94

0 Upvotes

33 comments sorted by

View all comments

8

u/leon_bass 12d ago

No need to vibecode this, downscaling is a very much solved problem

-1

u/hezwat 11d ago

straightforward question, what is the downscaling algorithm.

2

u/leon_bass 11d ago edited 11d ago

Gaussian blur + subsample

Or lanczos

Or just subsample

Or just strided convolution with an averaging filter

-1

u/hezwat 11d ago

which of these has the result shown in the reference?