Simulated Annealing for JPEG Quantization
This addresses the problem of suboptimal JPEG compression for users needing smaller file sizes with better image quality, though it is incremental as it builds on existing standards.
The paper tackled improving JPEG compression by finding better default quantization tables, resulting in a 10% reduction in FSIM error and a 20% improvement in compression at quality level 95.
JPEG is one of the most widely used image formats, but in some ways remains surprisingly unoptimized, perhaps because some natural optimizations would go outside the standard that defines JPEG. We show how to improve JPEG compression in a standard-compliant, backward-compatible manner, by finding improved default quantization tables. We describe a simulated annealing technique that has allowed us to find several quantization tables that perform better than the industry standard, in terms of both compressed size and image fidelity. Specifically, we derive tables that reduce the FSIM error by over 10% while improving compression by over 20% at quality level 95 in our tests; we also provide similar results for other quality levels. While we acknowledge our approach can in some images lead to visible artifacts under large magnification, we believe use of these quantization tables, or additional tables that could be found using our methodology, would significantly reduce JPEG file sizes with improved overall image quality.