2D-DCT // 2D-DWT WAVELETS // 2D-FFT SPECTRUM // WIENER

EVERY TAMPERED
PIXEL LEAVES A
SIGNAL TRACE.

Black-box neural networks hallucinate on re-compressed JPEGs and cannot explain why a region was flagged. PixelProof runs every image through 7 deterministic Digital Image Processing (DIP) pipelines — isolating quantization ghosts, Daubechies db4 wavelet noise cavities, lexicographically sorted DCT clones, and 2D-FFT resampling harmonics in under 1.2 seconds on CPU.

FORENSIC_ENGINE // 7-LAYER TELEMETRY● VERDICT: TAMPERED [83.0]
L1 // YCbCr_ELA[Q=90 · Ghost Δ]
ANOMALY
TELEMETRY: Z = 34.4σSCORE: 98/100
L2 // DWT_NOISE[db4 HH1 · Wiener]
ANOMALY
TELEMETRY: Z = 16.8σSCORE: 94/100
L3 // COPY_MOVE[16x16 DCT · ORB]
CLONED
TELEMETRY: 24 VECTORSSCORE: 82/100
L4 // FFT_RESAMP[∇²f + 2D-FFT]
PERIODIC
TELEMETRY: PEAK 5.4σSCORE: 76/100
L5 // 8x8_GRID[BAG Phase mod 8]
CLEAN
TELEMETRY: COHERENTSCORE: 18/100
MORPHOLOGICAL LOCALIZATION // 8-CONNECTED COMPONENT R1
BBOX [x:295, y:82, w:148, h:116] · OTSU + (M ⊖ B₁) ⊕ B₂ · CONF 94%
CPU EXECUTION: 820msOPEN INTERACTIVE SANDBOX →
7 LAYERS
CLASSICAL DIP PIPELINE
DCT · DWT · 2D-FFT · Wiener · Scharr
100%
MATHEMATICAL AUDITABILITY
Zero opaque CNN weights or GPU cost
< 1.1s
END-TO-END CPU LATENCY
Vectorized NumPy, SciPy & OpenCV
6 / 6
BENCHMARK SUITE ACCURACY
Verified across 6 forgery classes
// WORKFLOW 01 · INTERACTIVE DEMO & SANDBOX

EXPLORE 6 BENCHMARK CASES OR FORGE AN IMAGE LIVE

Don't have a tampered file handy? Switch between 6 ground-truth benchmark cases (Splicing, Copy-Move Cloning, Gaussian Airbrushing, 4× Resampling, Double JPEG Phase Shift, and Authentic Camera Control) or open the Live Tamper Sandbox to clone-stamp, splice, or blur a clean photo directly on an HTML5 canvas and test detection.

06 PRESET CASES
Ground-truth masks & telemetry
TAMPER SANDBOX
Clone, Splice & Blur canvas
OPEN DEMO & TAMPER SANDBOX →
// WORKFLOW 02 · CUSTOM IMAGE AUDITOR

UPLOAD ANY IMAGE FOR FULL 7-LAYER AUDIT

Drop any suspect JPEG, PNG, WebP, or BMP file into the dedicated analyzer. Compare the original against false-color heatmaps with a Split-Screen Slider, inspect 8×8 DCT blocks with a 5× Synchronized Pixel Loupe, tune DIP parameters ($Q$-factor, wavelet basis, morphology kernel), and export a JSON/PDF forensic dossier.

5× PIXEL LOUPE
Synchronized RGB vs DIP zoom
LIVE DIP SLIDERS
Tune Q, Wavelet & Morphology
LAUNCH IMAGE ANALYZER →
// SIGNAL PROCESSING PIPELINE SPECIFICATION

SEVEN CLASSICAL DIP DETECTORS. ZERO BLACK BOXES.

FULL MATHEMATICAL FORMULATION →
[L1] YCbCr + 8x8 DCT

ERROR LEVEL & JPEG GHOSTS

Re-encodes the image across Q ∈ {75, 85, 90, 95} and normalizes residuals against Sobel edge energy to expose foreign spliced quantization floors.

E_Q = |I_YCbCr - JPEG_Q(I)|
[L2] 2D-DWT + WIENER

WAVELET NOISE VARIANCE

Extracts the Daubechies db4 diagonal detail sub-band (HH1) and 5×5 Adaptive Wiener residual to flag Gaussian airbrushing and ISO mismatches.

σ̂_b = median(|HH_1|) / 0.6745
[L3] DCT LEXSORT + ORB

HYBRID COPY-MOVE CLONES

Lexicographically sorts quantized 16×16 2D-DCT blocks in O(N log N) alongside ORB keypoints to isolate internal duplicated regions.

s_ij = (x_i - x_j, y_i - y_j)
[L4] LAPLACIAN + 2D-FFT

RESAMPLING SPECTRUM

Convolves luminance with an isotropic 3×3 Laplacian kernel and inspects the 2D-FFT annular ring for periodic interpolation harmonics.

M(u,v) = log(1 + |FFT2(∇²I)|)
[L5] BAG PHASE (MOD 8)

DOUBLE JPEG & 8×8 GRID

Measures 8×8 Blocking Artifact Grid phase shifts (x mod 8, y mod 8) and AC(0,1)/AC(1,0) DCT histogram comb periodicity.

Δ_x = |2I(x,y) - I(x-1,y) - I(x+1,y)|
[L6] 3×3 SCHARR OPERATOR

CHROMATIC EDGE DIVERGENCE

Computes rotational-symmetric Scharr derivatives across R, G, and B channels to detect composite boundary seams and optical aberration shifts.

D_c = 0.5(|∇R-∇G| + |∇B-∇G|)
[L7 + FUSION] DQT + OTSU MORPHOLOGY

DQT MATRIX & REGION MASK

Fingerprints 64-element JPEG Luminance Quantization Tables (DQT) and fuses all spatial maps via Otsu thresholding and Morphological Opening/Closing.

M_clean = ((M ⊖ B_1) ⊕ B_1) • B_2
// ZERO-CONFIG EXECUTION

RUN LOCALLY OR QUERY VIA REST API

# Start the 7-Layer FastAPI DIP Forensic Engine (zero venv/env required)
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000

# Run the 6-case ground-truth forensic benchmark suite
python scripts/evaluate_benchmark.py
Want to inspect your own image right now?OPEN IMAGE ANALYZER →
// VERIFIED EVALUATION (`evaluate_benchmark.py`)

6-CLASS FORENSIC BENCHMARK MATRIX

ATTACK VECTORPRIMARY TRIGGERSCOREVERDICT
SINGLE-COMPRESSED CONTROL (Q=92)L5: 8x8 GRID (39.6)27.0 / 100AUTHENTIC
FOREIGN OBJECT SPLICE (Q=74 -> Q=95)L1: YCbCr ELA (98.0)83.0 / 100TAMPERED
INTERNAL CLONE STAMP (Δx=+256px)L3: DCT+ORB (82.4)55.9 / 100TAMPERED
GAUSSIAN HEALING BRUSH (σ=7.0)L2: DWT HH1 (92.7)71.6 / 100TAMPERED
4x UPSAMPLED INTERPOLATED COMPOSITEL4: 2D-FFT (96.0)73.4 / 100TAMPERED
PHASE-SHIFTED 8x8 CROP (5 mod 8)L7: DQT/BAG (72.0)53.8 / 100TAMPERED
Accuracy: 6 / 6 (100.0%) across all classesTEST ALL 6 CASES LIVE →