I-114Chroma Subsampling Anomaly Detection

Frequency Analysisimage2016

Detects structural anomalies and misalignments in chroma subsampling footprints left by image compression. Authentic digital images captured by physical cameras and saved as JPEGs undergo an initial, globally consistent chroma subsampling (e.g., 4:2:2 or 4:2:0) to save bandwidth. Generative AI models or manipulated composite images frequently disrupt this global consistency, creating localized mismatches or traces of multiple, conflicting subsampling grids.

Frequency Domain Band Energy & Subsampling Grid Alignment
The algorithm isolates the luma (Y) and chroma (Cb, Cr) channels and transforms them into the frequency domain. It maps the spatial resolution of the color channels to extract the underlying subsampling grid structure. In an unedited camera original, the subsampling grid is universally uniform. However, when AI in-paints a region, or a composite is made, the manipulated zones exhibit misaligned chroma frequencies or conflicting subsampling ratios (e.g., an island of 4:4:4 color data in a sea of 4:2:0 YCbCr), immediately flagging the forgery.
Space: YCbCr, Domain: DCT/FFT, Targets: 8x8/16x16 Grid Misalignments, Metric: Chroma Energy Ratio
Moderate to High (75-90%) - Incredibly resilient forensic tool for pinpointing localized splices or AI in-painting.
• Focuses on an invisible mechanical artifact that generative models and editors almost never simulate correctly.
• Extremely effective in pinpointing the exact coordinates of localized manipulation (e.g., an AI-generated face swapped in).

• Performs reliably across standard JPEG formats.
• Useless if the image has never been compressed (e.g., PNG/RAW) since there is no subsampling grid.
• Aggressive social media re-compression will scrub the localized anomalies by overwriting them with a uniform grid.

• Not effective on grayscale images as they lack chroma channels.
Spotting localized structural inconsistencies left by AI in-painting, and resolving whether regions of an image have been spliced from different compressions.