I-198Retouching Trace Detection

Pixel Analysisimage2016

Detects digital retouching traces including skin smoothing, blemish removal, and cosmetic editing signatures.

Retouching Detection Algorithm
This method detects traces of digital retouching operations — skin smoothing, blemish removal, teeth whitening, and geometric reshaping — commonly applied in portrait photography and potentially indicative of AI face generation:\n\n1. Frequency-Selective Smoothing Detection: Skin smoothing operations (Gaussian blur, bilateral filter, frequency separation) selectively reduce high-frequency texture while preserving edges. The method analyzes the ratio of high-frequency energy to mid-frequency energy in skin regions using a bandpass filter bank. In untouched skin, this ratio (the Skin Texture Index, STI) is approximately 0.3–0.5 for typical camera settings. Aggressively smoothed or AI-generated skin shows STI < 0.1, indicating loss of pore-level texture detail.\n\n2. Clone Stamp and Healing Brush Detection: Blemish removal tools (clone stamp, healing brush, content-aware fill) copy texture from surrounding areas to cover imperfections. The method detects these operations by computing local feature descriptors (SIFT/SURF) and searching for duplicate keypoint patches within the image. Healing brush operations produce blended boundaries detectable through local gradient analysis — the gradient direction at the healed boundary is inconsistent with the natural skin topology.\n\n3. Geometric Warping Detection: Liquify/warp tools used for reshaping facial features (slimming, enlarging eyes, adjusting jawline) create local geometric distortions. The method analyzes straight line consistency — architectural elements and text near warped regions show bending artifacts. Additionally, the method detects grid artifacts in the warp field by analyzing the local affine transformation matrix at a grid of points. Deviations from global similarity/affine transforms indicate local warping.\n\n4. Color Manipulation Detection: Teeth whitening, eye color enhancement, and skin tone adjustment leave characteristic traces in the color histogram. The method computes per-region color statistics and checks for: (a) unnaturally narrow hue distributions in teeth regions (whitened teeth lose yellow component), (b) saturated eye iris colors with hard boundaries, and (c) skin tone uniformity that violates the natural variance caused by blood flow, bone structure, and lighting angles. These color anomalies are quantified using the Bhattacharyya distance between observed and expected color distributions.
Skin Texture Index: bandpass ratio (50–100 cycles/mm vs. 10–50 cycles/mm)\nClone detection: SIFT keypoint matching within image\nHealing boundary detection: gradient direction analysis\nWarp detection: local affine field deviation\nColor analysis: per-region hue/saturation histograms\nFace region detection: MTCNN or MediaPipe face mesh\nMinimum face size: 128×128 pixels
81–89% accuracy for skin smoothing detection. Clone/healing brush detection achieves F1-score of 0.78. Geometric warping detection: 83% accuracy for modifications > 5 pixels displacement. Color manipulation detection: 80% for teeth whitening, 76% for eye color change. Combined retouching score achieves AUC of 0.91 on the ND-IIITD retouching dataset.
• Multiple independent retouching signatures reduce false positive rate\n• Skin Texture Index provides quantitative, reproducible measurement\n• Geometric warping detection reveals facial reshaping not visible to human observers\n• Works on standard JPEG portrait photographs\n• Combines spatial, frequency, and color domain analysis
• Professional retouching at subtle levels is difficult to distinguish from camera processing\n• Makeup and lighting naturally alter skin texture appearance\n• Low-resolution or heavily compressed images reduce texture analysis reliability\n• AI-generated faces may have realistic texture but fail on other retouching indicators\n• Cultural differences in retouching standards affect threshold calibration
Detecting cosmetic retouching in portrait photography. Identifying AI-generated faces with unnaturally perfect skin. Assessing the degree of digital manipulation in photographs. Forensic analysis of photographs in legal or journalistic contexts.