I-028Shadow Consistency Analysis

Pixel Analysisimage2013

Analyzes shadow geometry, direction, and softness for physical plausibility. AI models struggle to maintain consistent shadow casting from a single light source.

Shadow Edge Detection + Vanishing Point Analysis
Detects shadow edges and estimates shadow direction vectors using gradient analysis. Checks that all shadows in the scene are consistent with a single (or known) light source configuration. AI images frequently produce shadows cast in contradictory directions or with inconsistent softness/hardness.
Shadow detection: chromaticity-based segmentation, Direction estimation: Radon transform on shadow boundaries, Consistency: pairwise angular comparison, Softness: penumbra width analysis
Moderate - 68-78% on images with clearly visible shadows
• Physics-based approach with strong theoretical basis
• Effective for outdoor scenes with clear shadows

• Complements lighting analysis methods

• Can detect both AI and manual manipulation
• Requires clearly visible shadow regions
• Overcast/indoor scenes with soft lighting are difficult

• Multiple light sources complicate analysis

• Transparent or translucent objects create complex shadows
Verifying shadow consistency to detect AI generation or image compositing