12% Trọng số

Phân tích tần số

Phân tích phổ DCT

Phân tích miền tần số kiểm tra sự phân bố của các thành phần tần số cao và thấp trong hình ảnh. Hình ảnh AI thường thiếu nhiễu tần số cao tự nhiên có trong ảnh thực.

78%
Độ chính xác TB
20%
Trọng số
Frequency Analysis Illustration

Cách Hoạt Động

Sử dụng Biến đổi Cosine Rời rạc (DCT), chúng tôi phân tách hình ảnh thành các thành phần tần số. Ảnh chụp thật chứa nhiều chi tiết tần số cao từ cảm biến máy ảnh, trong khi hình ảnh AI có xu hướng mượt mà hơn.

Real Photos

  • • Rich high-frequency content
  • • Natural camera sensor noise
  • • Sharp edges and details
  • • High_freq_ratio > 0.20

AI Generated

  • • Smooth, low-frequency dominant
  • • Uniform synthetic patterns
  • • Blurry fine details
  • • High_freq_ratio < 0.15

Technical Implementation

DCT (Discrete Cosine Transform)

We decompose images into frequency components using 2D DCT, then analyze the energy distribution between high and low frequency regions.

Threshold
0.15 (AI likely)
Processing
512x512 max
Library
scipy.fftpack

Frequently Asked Questions

What is frequency analysis for AI detection?

Frequency analysis uses DCT (Discrete Cosine Transform) to decompose images into frequency components. AI images typically lack the high-frequency detail found in real photographs.

Why do AI images lack high frequencies?

AI diffusion models generate images at lower resolutions and upsample them. This process smooths out fine details, reducing high-frequency content compared to sensor-captured photos.

What is the high-frequency ratio threshold?

Real photos typically have a high-frequency ratio above 0.20. AI-generated images often fall below 0.15, indicating their synthetic smooth nature.

How is the DCT applied?

We convert images to grayscale, apply 2D DCT, and separate the spectrum into low and high frequency regions. The ratio of energy in these regions indicates image origin.

Does image sharpening affect results?

Artificial sharpening can boost high frequencies, but the pattern differs from natural sensor noise. Our analysis considers both ratio and distribution characteristics.

Why is frequency analysis weighted at 20%?

Frequency analysis is highly reliable for detecting diffusion models but can be affected by image filters. The 20% weight reflects its strong but not absolute discriminative power.

What's the difference from FFT analysis?

DCT produces only real values (no complex numbers) and has better energy compaction for image signals. It's also what JPEG compression uses, making it well-suited for forensics.

Can upscaled AI images fool this?

AI upscalers add synthetic high-frequency detail, but these patterns are uniform and lack the natural variation of camera-captured fine detail. Detection remains effective.

What image size is optimal?

We process images at 512x512 maximum for analysis. Higher resolution provides more frequency data, but the ratios remain consistent across sizes.

Does this work on all AI generators?

Frequency analysis is particularly effective against diffusion models (DALL-E, Midjourney, Stable Diffusion). Older GAN-based generators show different but still detectable patterns.

Phương pháp liên quan

Phát hiện ML

Phát hiện học máy của chúng tôi sử dụng các mô hình transformer tiên tiến được đào tạo trên hàng triệu hình ảnh để phân biệt ảnh thực với nội dung do AI tạo ra.

Phân tích PRNU

PRNU phát hiện dấu vân tay cảm biến máy ảnh độc đáo từ lỗi sản xuất. Hình ảnh AI không thể sao chép các chữ ký cảm biến thực này.

Phân tích gradient

Phân tích các mẫu cạnh và đặc điểm kết cấu sử dụng toán tử Sobel, Canny và Laplacian. Hình ảnh AI thường có gradient mượt hoặc đồng nhất không tự nhiên.

Mẫu nhiễu

Ảnh thực chứa các mẫu nhiễu độc đáo từ cảm biến máy ảnh. Hình ảnh AI có phân bố nhiễu đồng nhất không tự nhiên.

Phân tích siêu dữ liệu

Metadata hình ảnh chứa manh mối quý giá về nguồn gốc. Chúng tôi phân tích dữ liệu EXIF, chữ ký phần mềm để xác định công cụ tạo AI.

Dấu vân tay GAN

Phát hiện các artifact đặc trưng của GAN như mẫu bàn cờ, dải màu và bất thường phổ đặc trưng của mạng đối kháng tạo sinh.

Phân tích kết cấu

Phân tích Local Binary Pattern cho các bất thường kết cấu phổ biến trong hình ảnh AI. Đo lường độ đồng nhất, entropy và tính đồng nhất.

Phát hiện giải phẫu

Trình tạo hình ảnh AI thường tạo ra lỗi giải phẫu. Chúng tôi sử dụng thị giác máy tính để phát hiện những sai sót này.

Xác minh C2PA

C2PA là tiêu chuẩn công nghiệp để theo dõi nguồn gốc và lịch sử nội dung số thông qua chữ ký mã hóa.

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.

Kiểm Tra Hình Ảnh Của Bạn

Tất cả phương pháp được kết hợp sử dụng điểm có trọng số để đưa ra phán quyết cuối cùng với mức độ tin cậy.

Thử Ngay