▲ | astrange 4 days ago | |||||||
> large scale detail (corresponding to low frequency FFT components) This isn't true in practice - images are not bandlimited like audio so there aren't really visual elements of images corresponding to low frequency cosine waves. That's why the lowest frequency DCT coefficient in a JPEG image is 16x16 pixels, which is hardly large scale. But you do quantize all components of the DCT transform, not just the highest ones. Actually in the default JPEG quantization matrix it's the coefficient to the upper-left of the last one that gets the most quantization: https://en.wikipedia.org/wiki/Quantization_(image_processing... | ||||||||
▲ | HarHarVeryFunny 4 days ago | parent [-] | |||||||
Sure, but quantization is just another level of lossiness once you've already decided what information to throw away. In terms of understanding how JPEG compression works, and how it relates to human perception, I'd say that in order of importance it's: 1) Throw away fine detail by discarding high frequency components 2) More heavily compress/discard color than brightness detail (using YUV) 3) Quantize the frequency components you are retaining | ||||||||
|