News for hackers. Stuff that matters.
Re:Fourier Filtering by jarenmf on Wednesday September 30, 2020 @06:50AM (#24637332)
It's really neat that you can through away 50% of the high frequencies and the picture will still look good enough for normal everyday use
Re:Fourier Filtering by 2rsf on Wednesday September 30, 2020 @07:07AM (#24637466)
A lot of media (audio, video) compression methods are based on that though they usually use more sophisticated filtering methods.
Re:Fourier Filtering by rademacher on Wednesday September 30, 2020 @08:45AM (#24638186)
They use wavelet transforms for jpeg 2000. Natural images tend to be sparse with respect to wavelet transforms.
Re:Fourier Filtering by nchelluri on Wednesday September 30, 2020 @07:25AM (#24637577)
I think JPEG is too. In school, we implemented something like JPEG compression using some Fourier transform stuff that reduced the bitmap size by 90%+ and was still fairly decent looking. It was an image handpicked for suitability under compression, I'm sure. A sunflower, I think?
Re:Fourier Filtering by nyanpasu64 on Wednesday September 30, 2020 @03:34PM (#24642787)
I had a similar kind of lab in college. I ended up testing it on an image hand-picked for performing very poorly under JPEG compression, a GBA Pokemon game screenshot. Chroma subsampling alone visibly degraded the sharpness of brightly colored objects. Strangely chroma subsampling degrades photographic imagery far less, and helps less sophisticated algorithms (like JPEG) allocate limited bits better.
Re:Fourier Filtering by mdiesel on Wednesday September 30, 2020 @09:11AM (#24638369)
Ah, you were too young to use the correct image for all testing purposes: Lena Forsén.
Re:Fourier Filtering by echelon on Wednesday September 30, 2020 @10:28AM (#24639054)
The image processing community has moved away from Lena. It's a sexist nude crop from Playboy Magazine. It's uncomfortable and gross to use that in a professional setting where we're meant to be welcoming and inclusive.

https://pursuit.unimelb.edu.au/articles/it-s-time-to-retire-...

Re:Fourier Filtering by mdiesel on Wednesday September 30, 2020 @11:34AM (#24639845)
You're right, and I'd never considered it before. Thanks for the link.
Re:Fourier Filtering by qppo on Wednesday September 30, 2020 @09:55AM (#24638720)
You get even better results using a DCT instead of DFT since the bins are less correlated.