Home

Awesome

MicroSegNet

Official PyTorch implementation of:

MicroSegNet: A Deep Learning Approach for Prostate Segmentation on Micro-Ultrasound Images (CMIG 2024)

This is the first deep learning model for automated prostate segmentation on micro-ultrasound.

The code is only for research purposes. If you have any questions regarding how to use this code, feel free to contact Hongxu Jiang (hongxu.jiang@medicine.ufl.edu).

Requirements

Dataset

Usage

1. Download Google pre-trained ViT models

2. Prepare data

.
├── data
│   ├── Micro_Ultrasound_Prostate_Segmentation_Dataset
│   │   ├── train
│   │	└── test
│   └── preprocessing.py
│
├── model
│   └── vit_checkpoint
│       └── imagenet21k
│           ├── R50+ViT-B_16.npz
│           └── *.npz
└── TransUNet

python preprocessing.py

3. Train/Test

python train_MicroUS.py
python test_MicroUS.py

The hard region weight here is set to 4 as default, while you can train models with different weight by specifying it in the command line as follows:

python train_MicroUS.py --weight 10
python test_MicroUS.py --weight 10

References

Citations

If you use our code or dataset, please cite our paper as below:

@article{jiang2024microsegnet,
  title={MicroSegNet: A deep learning approach for prostate segmentation on micro-ultrasound images},
  author={Jiang, Hongxu and Imran, Muhammad and Muralidharan, Preethika and Patel, Anjali and Pensa, Jake and Liang, Muxuan and Benidir, Tarik and Grajo, Joseph R and Joseph, Jason P and Terry, Russell and others},
  journal={Computerized Medical Imaging and Graphics},
  pages={102326},
  year={2024},
  publisher={Elsevier}
}