Unsupervised Learning of Diffeomorphic Image Registration via TransMorph

April 30, 2025 · View on GitHub

We propose a learning-based framework for unsupervised and end-to-end learning of diffeomorphic image registration. Specifically, the proposed network learns to produce and integrate time-dependent velocity fields in an LDDMM setting.

This repository contains the source code for two models, TM-TVFLDDMM and TM-TVF, from our paper: "Unsupervised Learning of Diffeomorphic Image Registration via TransMorph"

Modeling time-dependent velocity fields using TransMorph:


Skip-connections were omitted for visualization.

Smoother transformation without imposing a diffeomorphism:

Diffeomorphic registration

Forward:
 

Inverse:
 

Inversion and composition:

State-of-the-art performance:

Click on the Model Weights to start downloading the pre-trained weights.
We also provided the Tensorboard training log for each model. To visualize loss and validation curves, run:
Tensorboard --logdir=*training log file name* in terminal. Note: This requires Tensorboard installation (pip install tensorboard).

2021 MICCAI Learn2Reg challenge Task 03:

Validation set results

RankingModelDiceSDlogJHdDist95
1TM-TVF0.8706 ± 0.01540.09981.3903
2TM-Large0.8623 ± 0.01440.12761.4315
3TransMorph (TM)0.8575 ± 0.01450.12531.4594
4TransMorph-TVF_LDDMM0.833 ± 0.0160.0901.630

Test set results (results obtained from Learn2Reg challenge organizers)

RankingModelDiceSDlogJHdDist95
1TM-TVF0.8241 ± 0.15160.0905 ± 0.00541.6329 ± 0.4358
2TM-Large0.8196 ± 0.14970.1244 ± 0.01481.6564 ± 1.7368
3TM0.8162 ± 0.15410.1242 ± 0.01361.6920 ± 1.7587
4LapIRN0.820.071.67
5ConvexAdam0.810.071.63
...