ZAX130 / SmileCode

The public code of SMILE LAB
31 stars 3 forks source link

SmileCode

The publicly available code for ModeT and the other medical image registration codes released by the Smile Lab.

ModeTv2: GPU-accelerated Motion Decomposition Transformer for Pairwise Optimization in Medical Image Registration

By Haiqiao Wang, Zhuoyuan Wang, Dong Ni, Yi Wang.

Paper link: [arxiv], Code link: [code]

Recursive Deformable Pyramid Network for Unsupervised Medical Image Registration (TMI2024)

By Haiqiao Wang, Dong Ni, Yi Wang.

Paper link: [TMI], Code link: [code]

ModeT: Learning Deformable Image Registration via Motion Decomposition Transformer (MICCAI2023)

By Haiqiao Wang, Dong Ni, Yi Wang.

Paper link: [MICCAI]

image

Environment

Code has been tested with Python 3.9 and PyTorch 1.11.

Dataset

LPBA [link] Mindboggle [link]

Instruction

For convenience, we are sharing the preprocessed LPBA dataset used in our experiments. Once uncompressed, simply modify the "LPBA_path" in train.py to the path name of the extracted data. Next, you can execute train.py to train the network, and after training, you can run infer.py to test the network performance.

(Update) We encourage you to try the ModeTv2 code, as it enhances registration accuracy while significantly reducing both runtime and memory usage.

Citation

If you use the code in your research, please cite:

@InProceedings{10.1007/978-3-031-43999-5_70,
author="Wang, Haiqiao and Ni, Dongand Wang, Yi",
title="ModeT: Learning Deformable Image Registration via Motion Decomposition Transformer",
booktitle="Medical Image Computing and Computer Assisted Intervention -- MICCAI 2023",
year="2023",
pages="740--749",
}

The overall framework and some network components of the code are heavily based on TransMorph and VoxelMorph. We are very grateful for their contributions. The file makePklDataset.py shows how to make a pkl dataset from the original LPBA dataset. If you have any other questions about the .pkl format, please refer to the github page of [TransMorph_on_IXI].

Unofficial Pytorch implementations (Baseline Methods)