Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Automated Medical Image De-Identification via U-Net++ Segmentation and Conditional GAN Inpainting

Author 1: Ismail Chahid Author 2: Anas Chahid Author 3: Yassine Chahid Author 4: Aissa Kerkour Elmiad Author 5: Mohammed Badaoui
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 4 · Published 2026

DOI: https://doi.org/10.14569/IJACSA.2026.0170482

Abstract

The acceleration of multi-centric medical AI studies hinges on the ability to share imaging data without exposing burnt-in Protected Health Information (PHI). Manual redaction remains the dominant practice, but it erases diagnostically relevant context, violates harmonization guidelines issued by large consortia, and cannot keep up with the petabyte-scale repositories envisioned by regulatory agencies. This study delivers a comprehensive treatment of a fully automated Detect-and-Restore pipeline that fuses fine-grained U-Net++ segmentation with a context-aware conditional GAN (cGAN) inpainter. Building on two engineering notebooks (U-Net++ training and GAN generator orchestration), we develop a synthetic PHI rendering engine, a dynamic oracle that freezes the detector during adversarial optimization, and a hybrid loss that couples adversarial, pixelwise, and perceptual cues. Extensive experiments on 48,000 synthetically annotated radiographs demonstrate a Dice score of 0.8147 for PHI localization and a PSNR/SSIM/LPIPS triplet of 41.87 dB/0.985/0.027 for restoration while keeping inference below 92 ms per image on a single RTX 4090. Beyond reporting raw metrics, we dissect error modes, quantify the effect of imperfect masks on the inpainter, and position the proposal relative to recent international initiatives on medical image de-identification. Testing on an external clinical cohort of 200 real-world DICOM radiographs confirms generalizability, maintaining a PSNR of 40.12 dB and demonstrating robust blending at masking boundaries without compromising downstream diagnostic utility across heterogeneous hospital data.

Keywords

How to Cite this Article

Chahid, I., Chahid, A., Chahid, Y., Elmiad, A. K., & Badaoui, M. (2026). Automated Medical Image De-Identification via U-Net++ Segmentation and Conditional GAN Inpainting. International Journal of Advanced Computer Science and Applications, 17(4). https://doi.org/10.14569/IJACSA.2026.0170482

Chahid, Ismail, et al.. "Automated Medical Image De-Identification via U-Net++ Segmentation and Conditional GAN Inpainting." International Journal of Advanced Computer Science and Applications, vol. 17, no. 4, 2026, https://doi.org/10.14569/IJACSA.2026.0170482.

@article{Chahid2026,
  title     = {Automated Medical Image De-Identification via U-Net++ Segmentation and Conditional GAN Inpainting},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {4},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Ismail Chahid and Anas Chahid and Yassine Chahid and Aissa Kerkour Elmiad and Mohammed Badaoui},
  doi       = {10.14569/IJACSA.2026.0170482},
  url       = {https://doi.org/10.14569/IJACSA.2026.0170482}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.