Skip to content

UnWave-Net: Unrolled Wavelet Network for Compton Tomography Image Reconstruction

License

Notifications You must be signed in to change notification settings

Ishak96/UnWave-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnWave-Net

UnWave-Net: Unrolled Wavelet Network for Compton Tomography Image Reconstruction

This repository contains the official PyTorch implementation of the paper UnWave-Net: Unrolled Wavelet Network for Compton Tomography Image Reconstruction, presented at MICCAI 2024.

🧐 Overview

UnWave-Net is designed for image reconstruction in Compton tomography, utilizing unrolled optimization techniques in combination with wavelet transforms. The model excels at reconstructing images with reduced noise by incorporating a wavelet-based regularization term.

💾 Dataset

The UnWave-Net model has been trained and evaluated using the AAPM Compton Scattering Tomography Dataset. This dataset is essential for benchmarking the performance of Compton tomography reconstruction techniques.

Dataset Information

  • Source: Kaggle - AAPM Compton Scattering Tomography Dataset
  • Description: The dataset consists of raw images and data obtained from Compton scattering tomography experiments. It includes data collected using different numbers of detectors, allowing for the evaluation of reconstruction performance under varying imaging conditions.
  • Download: You can download the dataset directly from here.

Pre-trained Models

We provide pre-trained models for UnWave-Net, trained on different datasets with and without noise. You can download these checkpoint files and use them to evaluate or fine-tune the models.

The table below lists the available checkpoints:

Dataset T Noise Checkpoint Size Download Link
D_K = 100 16 Free 98.2 MB Download
D_K = 150 16 Free 98.2 MB Download
D_K = 100 16 With 98.2 MB Download
D_K = 150 16 With 98.2 MB Download

To use these models, simply download the checkpoint files and load them using the provided evaluation scripts.

Usage

To use the dataset with UnWave-Net, follow these steps:

Clone this github repo and install its requirements:

1. Clone this repo

git clone https://github.com/Ishak96/UnWave-Net.git
cd UnWave-Net

2. Mamba installation If you don't have Conda installed, you can either install it manually or opt for Mamba, which is faster.

To install Mamba, follow this link to Mambaforge. Below are the latest installers with Mamba in the base environment:

Operating System Architecture Download Link
Linux x86_64 (amd64) Mambaforge-Linux-x86_64
macOS x86_64 Mambaforge-MacOSX-x86_64
macOS arm64 (Apple Silicon) Mambaforge-MacOSX-arm64
Windows x86_64 Mambaforge-Windows-x86_64

After installing Mambaforge, verify that it is functioning correctly by running the following command in your terminal:

mamba --version

3. Install the environment

conda env create -f env.yml

4. Activate the environment

conda activate UnWaveNet

5. Download and extract the AAPM Compton Scattering Tomography Dataset from Kaggle.

6. Download the forward and adjoint operators and store them in a folder named radon. For each D_K, create a separate folder in radon; for example, D_K = 100:

mkdir radon
mkdir radon/100

The table below lists the available forward and adjoint operators:

D_K Forward Operator Adjoint Operator
50 Download Download
100 Download Download
150 Download Download

7. Generate the JSON file containing paths to individual images / collected data:

cd util
python generate_json_cst.py --data_dir PATH-TO-CST-MAYO-DATA

Now you are ready to train or test UnWave-Net! 😊

⏳ Training or Testing

1. Training: To train the model, run the following command:

./scripts/run.sh

2. Testing: To test the model with a specific checkpoint, use the command:

./scripts/run.sh default_hp.resume_from_checkpoint="path/to/checkpoint.ckpt" train=False test=True

Feel free to check the run.sh file and modify the arguments as needed.

License

UnWave-Net is licensed under the MIT License. For details, please refer to the LICENSE file.

Citation

If you find our paper useful, please cite

@inproceedings{ishak2024unwave,
  title={{UnWave-Net}: Unrolled Wavelet Network for {Compton Tomography} Image Reconstruction},
  author={Ishak Ayad and Cécilia Tarpau and Javier Cebeiro and Maï K. Nguyen},
  booktitle={Medical Image Computing and Computer-Assisted Intervention--MICCAI 2024},
  year={2024},
  organization={Springer}
}

👩‍⚖️ Acknowledgments and references

  • This work was granted access to the HPC resources of IDRIS under the allocation 2021-[AD011012741] / 2022-[AD011013915] provided by GENCI and supported by DIM Math Innov funding.
  • The dataset used in this work, the AAPM Low-Dose CT Grand Challenge Dataset, was provided by the American Association of Physicists in Medicine (AAPM) and is available at AAPM Grand Challenge.

About

UnWave-Net: Unrolled Wavelet Network for Compton Tomography Image Reconstruction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published