8000 GitHub - yrcrcy/LapIRN: Large Deformation Diffeomorphic Image Registration with Laplacian Pyramid Networks
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ LapIRN Public
forked from cwmok/LapIRN

Large Deformation Diffeomorphic Image Registration with Laplacian Pyramid Networks

License

Notifications You must be signed in to change notification settings

yrcrcy/LapIRN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Large Deformation Diffeomorphic Image Registration with Laplacian Pyramid Networks

This is the official Pytorch implementation of "Large Deformation Diffeomorphic Image Registration with Laplacian Pyramid Networks" (MICCAI 2020), written by Tony C. W. Mok and Albert C. S. Chung.

Prerequisites

  • Python 3.5.2+
  • Pytorch 1.3.0 - 1.7.0
  • NumPy
  • NiBabel

This code has been tested with Pytorch 1.3.0 and GTX1080TI GPU.

Inference

If you prefer diffeomorphic solutions, please try:

python Test_LapIRN_diff.py

If you prefer solutions with maximized registration accuracy, please try:

python Test_LapIRN_disp.py

Train your own model

Step 1: Replace /PATH/TO/YOUR/DATA with the path of your training data. You may also need to implement your own data generator (Dataset_epoch in Functions.py).

Step 2: Change the imgshape variable (in Train_LapIRN_diff.py or Train_LapIRN_disp.py) to match the resolution of your data.

(Optional) Step 3: You may adjust the size of the model by manipulating the argument --start_channel.

Step 3: python Train_LapIRN_diff.py to train the LapIRN formulated with the stationary velocity field, or python Train_LapIRN_disp.py to train the LapIRN formulated with the displacement field.

Publication

If you find this repository useful, please cite:

Notes on this repository

We changed the regularization term in the loss function. The original regularization term is computed on the normalized velocity/displacement field, which may cause bias to the short axis.

Acknowledgment

Some codes in this repository are modified from IC-Net and VoxelMorph.

Keywords

Keywords: Diffeomorphic Image Registration, Large Deformation, Laplacian Pyramid Networks, Convolutional neural networks

About

Large Deformation Diffeomorphic Image Registration with Laplacian Pyramid Networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0