I-130Spatial Coherence

Pixel Analysisimage2021

Analyzes spatial coherence and structural continuity to detect disjointed regions generated by AI models.

Spatial Coherence — Pixel-Level Spatial Analysis
This method analyzes spatial coherence for image forensic analysis, informed by Corvi et al. (2023):1. Local Feature Extraction: Dense local features (texture descriptors, color statistics, gradient properties) are extracted at each spatial location. These features characterize the local image properties at multiple scales.2. Spatial Coherence Measurement: The coherence of features between neighboring regions is measured — how smoothly features vary spatially. Natural images show high spatial coherence: neighboring regions share similar imaging characteristics (noise level, sharpness, color rendering).3. Coherence Map Generation: A spatial coherence map is generated showing where feature coherence breaks down. In authentic images, coherence breaks occur at object boundaries, occlusion edges, and depth discontinuities. In manipulated or AI-generated images, coherence breaks may appear at unexpected locations — manipulation boundaries, generator tile edges, or within regions that should be coherent.4. Multi-Scale Coherence Analysis: Spatial coherence is analyzed at multiple spatial scales. Fine-scale coherence captures pixel-level consistency (noise, texture). Coarse-scale coherence captures structural consistency (lighting, perspective, color grading). AI generation artifacts may appear at specific scales corresponding to the generator's architecture.5. Coherence Anomaly Scoring: The overall spatial coherence is scored against expected values. Localized coherence anomalies (regions where coherence drops without physical justification) contribute to the forensic score. The score highlights boundaries between authentic and generated/manipulated content.
Analysis type: pixel
Media: image

Input: Raw pixel data / image file

Output: Confidence score (0-100)

Processing: Client-side Canvas API

Color spaces: RGB, Grayscale as applicable
Moderate to High — 70-90% standalone accuracy. Performance is highest on uncompressed images and may decrease with heavy JPEG compression or social media re-encoding.
• Fast client-side processing using Canvas API
• Effective at detecting specific AI generation artifacts

• Works with common image formats (JPEG, PNG, WebP)

• Can be combined with complementary analysis methods

• Based on established image forensics research
• Performance may vary with image compression level
• Social media re-encoding can affect accuracy

• Best used in combination with other forensic methods

• May produce false positives on heavily processed authentic images

• Effectiveness depends on the AI generation model used
Detection of AI-generated or manipulated images through spatial coherence analysis. This method identifies patterns and artifacts that are characteristic of AI generation, contributing to a comprehensive image forensic analysis.