Skip to content

PSMA PET/CT imaging is widely used for image analysis of prostate cancer. We can seek unknown features by analyzing segmented parts. Since manual segmentation is labor-intensive, automated segmentation methods are preferred. The lack of annotated images makes DL segmentation models challenging. We developed Swin UNETR for automated segmentation.

ElmiraYazdani/Lesions-OARs-Segmentation-PSMA-PETCT-SSL-SwinUNETR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Segmentation of Lesions & Organs on PSMA PET/CT Images of Metastatic Prostate Cancer Using Self-Supervised Learning Swin UNTER

PSMA PET/CT imaging is widely used for image analysis of prostate cancer. We can seek unknown features by analyzing segmented parts. Since manual segmentation is labor-intensive, automated segmentation methods are preferred. The lack of annotated images makes DL segmentation models challenging. We developed Swin UNETR for automated segmentation of lesions and organs on [68Ga]Ga-PSMA-11 PET/CT images of mCRPC cases.

Install Dependencies

Install dependencies using:

pip install -r requirements.txt

Preprocessing

Before pretraining and fine-tuning, data (PET and CT images) should be preprocessed:

python preprocess.py --in_dir=<Input-directory(PET and CT)> --out_dir=<Output-directory>

Pre-Training

Pre-Train Swin UNETR encoder on unlabeled data

python main.py --exp=<Experiment Name> --in_channels=2 --data_dir=<Data-Path> --json_list=<Json List Path> \
--lr=6e-6 --lrdecay --batch_size=<Batch Size> --num_steps=<Number of Steps>

Fine-Tuning

Fine-Tuning Swin UNETR on labeled data:

python main.py --exp=<Experiment Name> --data_dir=<Data-Path> --json_list=<Json List Path> --in_channels=2 --out_channels=12 \
--pretrained_model_name=<Pretrained Encoder Name> --batch_size=<Batch Size> --max_epochs=<Epochs> --use_ssl_pretrained \
--ssl_pretrained_path=<Pretrained Model Path> --use_checkpoint

Evaluation

Evaluating Swin UNETR

python test.py --pretrained_dir=<Pretrained Model Path> --data_dir=<Data-Path> --exp_name=<Experiment Name> \
--json_list=<Json List Path> --pretrained_model_name=<Pretrained Model Name> --save

Citation

If you find our work useful, please cite the following paper:

@article{YourPaper,
  author = {Yazdani, Elmira, et al.},
  title = {Automated segmentation of lesions and organs at risk on [68Ga] Ga-PSMA-11 PET/CT images using self-supervised learning with Swin UNETR},
  journal = {Cancer Imaging},
  year = {2024},
  doi = {[https://doi.org/10.1186/s40644-024-00675-x]},
}

Acknowledgement

Models Implantation and SSL Pipeline are based on MONAI and This repository.

About

PSMA PET/CT imaging is widely used for image analysis of prostate cancer. We can seek unknown features by analyzing segmented parts. Since manual segmentation is labor-intensive, automated segmentation methods are preferred. The lack of annotated images makes DL segmentation models challenging. We developed Swin UNETR for automated segmentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages