I-158Laws Texture Energy

Pixel Analysisimage2020

Computes Laws texture energy measures (Laws, 1980)

Laws Texture Energy — Pixel-Level Spatial Analysis
This method applies Laws' texture energy measures for image forensic analysis following Laws (1980):1. Laws' Kernel Generation: Nine specific 5×5 texture energy kernels are generated from combinations of three 1D vectors: Level L5=[1,4,6,4,1], Edge E5=[-1,-2,0,2,1], and Spot S5=[-1,0,2,0,-1]. The nine kernels (L5E5, E5L5, L5S5, S5L5, E5E5, E5S5, S5E5, S5S5, L5L5) each detect different texture properties.2. Texture Energy Map Computation: Each Laws' kernel is convolved with the image, and the resulting filtered image is processed with a local energy measure (mean absolute value or variance in a window). This produces nine texture energy maps, each capturing a different texture characteristic — edges, spots, ripples, and combinations.3. Texture Feature Vector Analysis: The nine energy maps form a texture feature vector at each pixel. The distribution and spatial pattern of these features characterize the image's texture properties. Natural textures produce characteristic feature vector distributions shaped by the physical texture-generating process.4. Forensic Texture Anomaly Detection: AI-generated textures often fail to reproduce the full complexity of natural texture statistics. The method analyzes Laws' texture energy distributions for anomalies: (a) texture energy ratios that deviate from natural distributions as characterized by Haralick et al. (1973), (b) spatial discontinuities in texture energy at suspected manipulation boundaries.5. Texture Coherence Scoring: A comprehensive texture score is computed from all nine energy maps. The score measures how well the image's texture statistics conform to natural texture models versus synthetic texture characteristics. Region-specific scoring highlights areas where texture properties suggest manipulation.
Analysis type: pixel
Media: image

Input: Raw pixel data / image file

Output: Confidence score (0-100)

Processing: Client-side Canvas API

Color spaces: RGB, Grayscale as applicable
Moderate to High — 70-90% standalone accuracy. Performance is highest on uncompressed images and may decrease with heavy JPEG compression or social media re-encoding.
• Fast client-side processing using Canvas API
• Effective at detecting specific AI generation artifacts

• Works with common image formats (JPEG, PNG, WebP)

• Can be combined with complementary analysis methods

• Based on established image forensics research
• Performance may vary with image compression level
• Social media re-encoding can affect accuracy

• Best used in combination with other forensic methods

• May produce false positives on heavily processed authentic images

• Effectiveness depends on the AI generation model used
Detection of AI-generated or manipulated images through laws texture energy analysis. This method identifies patterns and artifacts that are characteristic of AI generation, contributing to a comprehensive image forensic analysis.