I-133Brightness Gradient Analysis

Pixel Analysisimage2018

Analyzes spatial anomalies in brightness gradients across smooth transitions. AI generative models often create localized illumination inconsistencies, rendering impossible light falloffs or abrupt gradient shifts that violate physical lighting constraints.

Non-linear Gradient Variance and Illumination Consistency Mapping
The algorithm calculates the first and second-order spatial derivatives of the image luminance channel to map brightness gradients. In natural images, luminance transitions on smooth surfaces (like walls or skin) follow predictable, continuous parametric curves dictated by the inverse-square law of light. AI-synthesized images often display 'gradient fractures'—micro-abrupt changes, irregular banding, or physically impossible shadows caused by the model's localized patch-based generation and lack of global 3D scene understanding.
Color Space: Luminance (Y channel), Analysis Metric: Second-order gradient variance, Global Check: Illumination directionality
Moderate (65-75%) - Most effective on portraits, indoor scenes, or subjects with soft studio lighting.
• Deeply grounded in the fundamental physics of real-world light transport and radiometry.
• Effective at catching advanced generative models where semantic content appears physically perfect.

• Uncovers lighting inconsistencies that are extremely difficult to fix manually via amateur photo editing.

• Remains moderately effective even on compressed internet images if the gradients are sufficiently broad.
• Ineffectual on heavily textured scenes (e.g., foliage, dense crowds) lacking smooth surfaces for baseline analysis.
• Prone to false positives in authentic environments with complex, multi-source localized lighting (e.g., concert stages).

• Color banding caused by excessive JPEG compression or standard 8-bit depth conversion can trigger false alarms.

• Requires sophisticated spatial parsing and is slower computationally compared to single-pass frequency checks.
Detecting synthetic illumination falloffs, identifying physically impossible lighting physics in AI generations, and exposing composite manipulation.