Home▸Perception & Optical Illusions▸Double JPEG Quantization: Coefficient Histogram, Gaps and Total Variation Distance (2D)

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

The same double-quantization model in 2D: live Monte Carlo coefficient histogram against the exact analytic double and single compression histograms, a detectability score and numerical checks.

Perception & Optical Illusions2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Double JPEG Quantization: Coefficient Histogram, Gaps and Total Variation Distance (2D) ↗ Open standalone

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.

⚙ Under the hood

The same double-quantization model in 2D: live Monte Carlo coefficient histogram against the exact analytic double and single compression histograms, a detectability score and numerical checks.

Image ForensicsJPEGQuantizationHistogramSignal Detection

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)