Journal of King Saud University: Computer and Information Sciences (Jun 2025)

MATADOR: a magic matrix-based framework for tamper detection and image recovery

  • Thilina Mendis,
  • Farah Kandah,
  • Lalith Medury

DOI
https://doi.org/10.1007/s44443-025-00099-y
Journal volume & issue
Vol. 37, no. 5
pp. 1 – 18

Abstract

Read online

Abstract Ensuring the integrity and authenticity of digital medical images is crucial for healthcare security and digital forensics, as image tampering can have serious consequences. Traditional methods often struggle to detect subtle, localized manipulations, leaving critical vulnerabilities. In this work, we propose MATADOR (Magic Matrix-Based Adaptive Tamper Detection and Recovery), an innovative image authentication framework utilizing block-based transformations based on magic square matrices for forensic analysis. By calculating each block’s mean value from the first five most significant bits (MSBs) of the pixel values, one of eight unique transformations is applied to the magic matrix. This dynamic approach generates a block-specific hash, linking pixel content to its spatial arrangement and enhancing the traceability of tampered pixel blocks. MATADOR is evaluated against existing forensic techniques, such as Discrete Cosine Transform (DCT) coefficient estimation and fragile watermarking, focusing on tamper localization accuracy and robustness. Experimental results demonstrate that MATADOR significantly improves tamper detection performance while maintaining a lower false positive rate compared to conventional methods. When tested on medical image datasets, MATADOR proves highly effective in accurately identifying tampered regions, highlighting its potential for real-world applications in secure medical imaging.

Keywords