I-188Ghost Artifact Detection
Detects ghosting artifacts from HDR tone-mapping and multi-exposure fusion that AI generators may improperly simulate.
Algorithm / Model
Ghost Artifact Analysis
How it works
This method detects and analyzes ghosting artifacts — semi-transparent duplicates of moving objects that appear in multi-exposure HDR and panoramic images — to verify imaging authenticity:\n\n1. Motion Region Detection: The method identifies potential ghost regions by computing the pixel-wise median absolute deviation (MAD) between estimated exposure-bracketed versions of the image. The image is decomposed into synthetic exposure layers by applying inverse camera response functions at different EV offsets (±1, ±2 EV). Ghost regions show high MAD values (>3σ) at object boundaries where motion occurred between hypothetical exposures.\n\n2. Ghost Consistency Verification: Authentic ghosting follows specific physical rules: (a) ghost transparency is proportional to the motion speed and exposure time, (b) ghost edges align with the motion direction, (c) ghost color follows the original object's color attenuated by the blending weight. The method verifies these constraints by fitting a motion model (translational, 2-parameter) to each ghost region and checking whether the ghost properties are physically consistent.\n\n3. AI Ghost Detection: AI generators attempting to simulate HDR or long-exposure scenes often produce ghosting that violates physical constraints: ghosts with incorrect transparency gradients, ghosts that don't follow straight-line motion paths, or semi-transparent regions at static object boundaries where no motion ghosts should exist. The method flags regions where ghost-like transparency patterns (alpha < 0.8) appear without corresponding motion consistency.\n\n4. Tone-Mapping Artifact Analysis: HDR tone-mapping algorithms (Reinhard, Mantiuk, Drago) produce characteristic halo artifacts around high-contrast boundaries. The method detects these halos by analyzing the local contrast inversion pattern: genuine tone-mapping halos follow the boundary shape with a width proportional to the local contrast ratio. AI-generated images may show halo-like artifacts with irregular shapes or widths inconsistent with known tone-mapping operators.
Technical Parameters
Exposure deviation: ±1, ±2 EV synthetic layers\nMAD threshold: 3σ for ghost region detection\nMotion model: translational (dx, dy)\nTransparency threshold: alpha < 0.8 for ghost classification\nHalo detection: 5–30 pixel boundary analysis zone\nMinimum image size: 512×512 pixels
Accuracy & Reliability
76–84% detection accuracy for AI-generated HDR-style images. Ghost physics verification achieves 88% on images with clear ghosting. Tone-mapping halo analysis reaches 80%. Combined analysis achieves 85% but requires sufficient dynamic range in the scene. Performance drops to 68% on images with very subtle tone-mapping.
Strengths
• Ghost physics verification exploits fundamental motion-blur relationships\n• Tone-mapping halo analysis detects a broad class of HDR processing artifacts\n• Effective on landscape, architectural, and interior photographs\n• Motion model fitting provides interpretable forensic evidence\n• Complements exposure fusion trace analysis for comprehensive HDR forensics
Limitations
• Tripod-captured HDR images may not contain any ghost artifacts for analysis\n• Single-shot HDR (computational photography) bypasses multi-exposure ghost formation\n• Advanced AI generators may produce increasingly physically plausible ghosting\n• Heavy JPEG compression can mask subtle ghost transparency gradients\n• Context-dependent — requires scenes with high dynamic range or motion for meaningful analysis
Use Case
Verifying whether HDR-style images were created through genuine multi-exposure capture or AI generation. Detecting AI-generated scenes that simulate long-exposure or HDR effects with physically implausible ghosting. Authenticating real-estate or architectural photographs claimed to show accurate lighting conditions.