15% Weight - Edge Detection

Gradient Analysis

Edge & Texture Detection

Gradient analysis examines edge patterns and texture characteristics using Sobel, Canny, and Laplacian operators. Real photos have natural gradient distributions from optical effects, while AI images often have unnaturally smooth or uniform edge patterns.

83-89%
Accuracy
15%
Ensemble Weight
Gradient Analysis

How Gradient Analysis Works

Real cameras introduce specific gradient patterns from optical effects (lens distortion, chromatic aberration), sensor characteristics, and demosaicing algorithms. AI-generated images lack these physical constraints, producing either too-smooth or artificially sharp edges.

📐

Sobel

Edge gradients X/Y

🔍

Canny

Edge density

📊

Laplacian

Focus variance

📈

Entropy

Distribution analysis

Key Metrics

Gradient Entropy

Measures the randomness of gradient magnitude distribution. AI images often have lower entropy due to uniform textures.

Low Entropy
Likely AI Generated
High Entropy
Likely Real Photo

Edge Density

Ratio of edge pixels to total pixels. AI images tend to have fewer natural edge details compared to real photos.

Low Density
Likely AI Generated
High Density
Likely Real Photo

Laplacian Variance

Measures sharpness variation across the image. Real photos have natural focus falloff, while AI can be unnaturally uniform.

Low Variance
Likely AI Generated
High Variance
Likely Real Photo

Direction Uniformity

Analyzes gradient direction distribution. AI often produces unnaturally uniform gradient directions.

High Uniformity
Likely AI Generated
Natural Distribution
Likely Real Photo

Why Gradient Analysis Works

  • Physical Constraints: Real cameras have optical imperfections that create unique edge patterns
  • Demosaicing Artifacts: RAW-to-RGB conversion leaves detectable patterns in real photos
  • Fast Processing: Gradient operations are computationally efficient
  • Complementary: Works well combined with other detection methods

שיטות קשורות

ML Detection

Our machine learning detection uses state-of-the-art transformer models trained on millions of images to distinguish between authentic photographs and AI-generated content.

PRNU Analysis

Photo Response Non-Uniformity (PRNU) detects unique camera sensor fingerprints from manufacturing imperfections. AI images cannot replicate these authentic sensor signatures.

ניתוח תדרים

Frequency domain analysis examines the distribution of high and low frequency components in an image. AI-generated images typically lack the natural high-frequency noise present in real photographs.

Noise Pattern

Real photographs contain unique noise patterns from camera sensors that vary across the image. AI-generated images have unnaturally uniform noise distribution.

Metadata Analysis

Image metadata contains valuable clues about its origin. We analyze EXIF data, software signatures, and other embedded information to identify AI generation tools.

GAN Fingerprint

Detects GAN-specific artifacts like checkerboard patterns, color banding, and spectral anomalies unique to generative adversarial networks.

Texture Analysis

Local Binary Pattern analysis for texture anomalies common in AI-generated images. Measures uniformity, entropy, and homogeneity.

Anatomy Detection

AI image generators often create anatomical errors that humans immediately recognize as wrong. We use computer vision to detect these telltale mistakes.

C2PA Verification

C2PA (Coalition for Content Provenance and Authenticity) is an industry standard for tracking the origin and history of digital content through cryptographic signatures.

Semantic Inconsistency Detection

Detects logical inconsistencies like incorrect shadows, impossible perspectives, distorted reflections, and violations of physical laws that AI often produces.

Human Biometric Analysis

Uses MediaPipe to analyze human anatomy for incorrect finger counts, asymmetric eyes, unnatural skin texture, and other anatomical anomalies common in AI-generated faces.

Lighting Physics Validation

Validates light source consistency, shadow direction physics, specular highlight accuracy, and color temperature uniformity across the image.

Compression Artifact Analysis

Analyzes JPEG compression artifacts to estimate quality levels and detect re-compression patterns that indicate image manipulation or AI generation.

Edge Sharpness Analysis

Analyzes sharpness distribution across the image and validates depth-of-field consistency. AI often produces unnaturally uniform sharpness.

Statistical Pattern Analysis

Analyzes statistical properties including Shannon entropy, histogram patterns, and Benford's Law compliance to detect synthetic image characteristics.

Chromatic Aberration Analysis

Detects the absence of chromatic aberration (color fringing) that real camera lenses produce. AI images lack these optical artifacts.

Micro-Texture Analysis

Analyzes microscopic texture patterns for repetition, uniformity, and unnatural randomness that AI generators often exhibit.

Color Palette Analysis

Analyzes color distribution including saturation levels, color diversity, and white balance consistency. AI images often have oversaturated colors.

בדוק תמונה

All methods are combined using weighted scoring to produce a final verdict with confidence level.

נסה עכשיו