Live coefficient histogram after two quantizations
Detectability (total variation) vs first quantization step

Double JPEG Quantization: Coefficient Histogram, Gaps and Total Variation Distance (2D)

Compress an image twice with different JPEG quantization steps and watch the fingerprint appear in the DCT coefficient histogram: empty bins when the second step is finer, uneven periodic peaks when it is coarser. Samples are drawn live from a Laplace coefficient model and compared with the exact analytic histogram, with a total variation score for how detectable the double compression is. A Blender-built forensic bench with built-in numerical checks.

Made with 🟠 Blender