by Boxiang Yun, Qingli Li, Lubov Mitrofanova, Chunhua Zhou & Yan Wang*
(MICCAI 2023) Official code for "Factor Space and Spectrum for Medical Hyperspectral Image Segmentation".
This repository is based on PyTorch 1.12.0, CUDA 11.3, and Python 3.9.7. All experiments in our paper were conducted on NVIDIA GeForce RTX 3090 GPU with an identical experimental setting.
We provide code
, dataset
, and model
for the MDC dataset.
The official dataset can be found at MDC. However, due to its size, we also provide preprocessed data (including denoising and resizing operations) for reproducing our paper experiments."
Download the dataset and move to the dataset fold.
To train a model,
CUDA_VISIBLE_DEVICES=0,1 torchrun --nproc_per_node=2 --nnodes=1\
train_mdc.py -r /dataset
-b 4 \
-spe_c 60 \
-b_group 15 \
-link_p 0 0 1 0 1 0 \
-sdr 4 4 \
-hw 320 256 \
-msd 4 4 \
-name Dual_MHSI \
To test a model,
CUDA_VISIBLE_DEVICES=0 python eval_seg_sst.py -r /dataset \
-spe_c 60 \
-b_group 15 \
-link_p 0 0 1 0 1 0 \
-sdr 4 4 \
-hw 320 256 \
-msd 4 4 \
--pretrained_model ./bileseg-checkpoint/Dual_MHSI/best_epoch63_dice0.7547.pth
If you find these projects useful, please consider citing:
@InProceedings{10.1007/978-3-031-43901-8_15,
author="Yun, Boxiang
and Li, Qingli
and Mitrofanova, Lubov
and Zhou, Chunhua
and Wang, Yan",
title="Factor Space and Spectrum for Medical Hyperspectral Image Segmentation",
booktitle="Medical Image Computing and Computer Assisted Intervention -- MICCAI 2023",
year="2023",
publisher="Springer Nature Switzerland",
address="Cham",
pages="152--162",
}
Some modules in our code were inspired by Hamburger and segmentation_models.pytorch. We appreciate the effort of these authors to provide open-source code for the community. Hope our work can also contribute to related research.
If you have any questions, welcome contact me at 'boxiangyun@gmail.com'