I-179Hu Moment Invariants
Computes Hu's seven moment invariants to detect shape and rotation anomalies in AI content (Hu, 1962).
Algorithm / Model
Hu Moment Invariants Analysis Algorithm
How it works
This method computes Hu's (1962) moment invariants and extended affine moment invariants for forgery detection:1. Geometric Moment Computation: Raw geometric moments mₚᵧ = ΣΣ xᵖyᵧI(x,y) are computed over image blocks. Central moments μₚᵧ are derived by shifting to the centroid, providing translation invariance.2. Hu Moment Invariant Extraction: The seven Hu invariants (φ₁ through φ₇) are calculated from normalized central moments. These are invariant to translation, rotation, and scaling — properties that enable detection of copy-move forgery where copied regions may be geometrically transformed.3. Block-wise Invariant Mapping: The image is divided into overlapping blocks and moment invariants are computed per block. Blocks with similar invariant vectors but different spatial locations suggest copy-move manipulation.4. Affine Moment Invariants (AMI): Extended invariants following Flusser et al. (2009) capture affine-invariant features, detecting copies that have undergone shearing or non-uniform scaling beyond simple rotation.5. Consistency Analysis: Moment invariant distributions across the image are analyzed for statistical anomalies. Natural images show smooth spatial variation in moment features, while AI-generated images may exhibit unnatural uniformity or discontinuities at generation boundaries. The final score quantifies deviation from expected natural moment statistics.
Technical Parameters
Analysis type: automated statistical\nScore range: 0 (authentic) to 100 (AI-generated)\nMinimum input size: varies by media type
Accuracy & Reliability
Moderate to High — 70-85% accuracy depending on input quality and method combination.
Strengths
• Research-backed methodology\n• Fast computation time\n• Complementary to other detection methods\n• Works across different AI generators
Limitations
• Accuracy varies with input quality\n• Best used in combination with other methods\n• May require calibration for new AI models
Use Case
Used as part of multi-signal analysis pipeline to detect AI-generated content.