4 ms·
What if you try to compress the frequency components, scanned in zig-zag, using MP3 (without the first FFT like layers if they exists, I guess)? - if that even
by xorblurb 10y ago
What if you try to compress the frequency components, scanned in zig-zag, using MP3 (without the first FFT like layers if they exists, I guess)? - if that even makes any sense...
- cperciva 10y agoThat doesn't really make sense. MP3 takes inputs in signal-space, not frequency-space. You could run: 1. Divide image into blocks (as in JPEG), 2. Perform two-dimensional FFTs (as in JPEG), 3. Scan frequency components in zig-zag order (as in JPEG), 4. Run all of the steps of MP3 compression aside from the initial "split audio into blocks" and "perform FFTs" stages. That would pretty much just give you a less efficient version of JPEG; both JPEG and MP3 take advantage of knowing how much each frequency component "matters" (i.e., how precisely it's necessary to encode the value to avoid artifacts noticed by humans), so using the MP3 quantization logic on frequency amplitudes from images would result in wasting bits by encoding certain amplitudes more precisely than is useful.