I-244Lens Vignette Model Analysis
Models lens vignetting falloff and compares against known optical models — AI images lack authentic vignetting profiles.
Algorithm / Model
Vignetting Model Fit
How it works
This method models the radial light falloff (vignetting) in photographs and checks consistency with physical optical models to detect AI-generated or manipulated images:1. Radial Intensity Profile Extraction: The image is converted to a luminance channel and divided into concentric annular rings centered at the optical center. The mean intensity is computed for each ring, producing a radial intensity profile I(r) from center (r=0) to corners (r=r_max). The optical center is estimated by finding the position that minimizes the asymmetry of the vignetting pattern, using a grid search with sub-pixel refinement.2. Cos⁴ Law Model Fitting: The natural vignetting of a thin lens follows the cos⁴(θ) law, where θ is the angle between the optical axis and the ray to each pixel. The method fits the model I(r) = I₀ × cos⁴(arctan(r/f)) to the observed radial profile, where f is the effective focal length. The residual error between the model and observed profile characterizes the vignetting type: natural (cos⁴ only), mechanical (additional falloff from lens barrel obstruction), or pixel (microlens angular sensitivity).3. Polynomial Vignetting Model: For more complex lens systems, a 6th-degree even polynomial model is fitted: V(r) = 1 + a₂r² + a₄r⁴ + a₆r⁶. The coefficients (a₂, a₄, a₆) form a vignetting signature. Authentic photographs produce coefficients within specific ranges depending on the lens type: wide-angle lenses show stronger vignetting (a₂ < −0.3) while telephoto lenses show minimal falloff (a₂ > −0.05). AI-generated images typically lack physically consistent vignetting or apply it as a uniform post-processing effect.4. Vignetting Consistency Map: For manipulation detection, the image is divided into overlapping patches and a local vignetting model is fitted to each patch. In an unmanipulated photograph, all patches should be consistent with a single global vignetting model. Spliced regions or AI-inpainted areas often show discontinuities in the local vignetting pattern, detectable through chi-squared goodness-of-fit testing against the global model.
Technical Parameters
Annular ring width: 5 pixels
Optical center search grid: 20×20 with sub-pixel refinement
Polynomial degree: 6 (even terms only)
Patch size for consistency map: 64×64 pixels
Patch overlap: 50%
Chi-squared significance level: α = 0.01
Minimum image size: 256×256 pixels
Optical center search grid: 20×20 with sub-pixel refinement
Polynomial degree: 6 (even terms only)
Patch size for consistency map: 64×64 pixels
Patch overlap: 50%
Chi-squared significance level: α = 0.01
Minimum image size: 256×256 pixels
Accuracy & Reliability
80–88% accuracy for detecting AI-generated images lacking physical vignetting. Vignetting consistency analysis achieves F1-score of 0.83 for splicing detection. Polynomial model correctly identifies lens type (wide-angle vs telephoto) in 91% of authentic photos. False positive rate of 6% on images with intentional artistic vignetting applied in post-processing.
Strengths
• Vignetting is a fundamental optical phenomenon difficult for AI to replicate accurately
• Physics-based model (cos⁴ law) provides strong theoretical foundation
• Polynomial coefficients serve as a compact lens fingerprint
• Consistency map localizes manipulated regions
• Works on both RAW and processed images
• Physics-based model (cos⁴ law) provides strong theoretical foundation
• Polynomial coefficients serve as a compact lens fingerprint
• Consistency map localizes manipulated regions
• Works on both RAW and processed images
Limitations
• Software lens correction (Lightroom, DxO) removes natural vignetting from authentic photos
• Flat-field or uniformly lit scenes provide insufficient information for model fitting
• Some AI generators now apply learned vignetting to increase realism
• Heavy cropping changes the effective vignetting profile
• Images with dynamic range clipping in corners reduce fitting accuracy
• Flat-field or uniformly lit scenes provide insufficient information for model fitting
• Some AI generators now apply learned vignetting to increase realism
• Heavy cropping changes the effective vignetting profile
• Images with dynamic range clipping in corners reduce fitting accuracy
Use Case
Detecting AI-generated images that lack physically consistent vignetting. Identifying composited images where source images had different vignetting profiles. Estimating lens characteristics (focal length, aperture) from vignetting patterns. Forensic authentication of photographs by verifying optical consistency.