This project leverages the pre-trained MONAI RetinaNet model for automatic lung nodule detection in CT scans, and evaluates how different image artifacts impact the model’s performance. It also quantitatively assesses image quality using standard metrics.
Three types of artifacts were introduced to simulate real-world challenges in medical imaging:
- Patient-based Artifact: Motion blur (simulating patient movement)
- Physics-based Artifact: Gaussian noise (simulating low-dose scans)
- Hardware-based Artifact: Ring artifact (simulating hardware-induced patterns)
- PSNR (Peak Signal-to-Noise Ratio)
- CNR (Contrast-to-Noise Ratio)
- Sensitivity (True Positives / Total Ground Truth Nodules)
- Load CT series (DICOM)
- Run MONAI RetinaNet detection on the clean volume
- Add artifacts (motion, noise, ring) to simulate degraded scans
- Re-run detection after degradation
- Evaluate changes in:
- Detection performance
- Image quality metrics
The following figures demonstrate how detection is affected by each artifact:
Install required dependencies:
$ pip install monai torch pydicom numpy matplotlib pandas opencv-python scikit-image
Run the script using:
$ python main_script.py
This project includes components from the open-source MONAI Lung Nodule Detection Bundle, which is distributed under the Apache License 2.0.
We have retained the original README.md and license documentation inside the docs/ directory in compliance with MONAI's licensing terms.
Please credit MONAI if reusing or modifying this project.



