Giter VIP home page Giter VIP logo

icnet's Introduction

Inverse-Consistent Deep Networks for Unsupervised Deformable Image Registration

Pytorch implementation for Inverse-Consistent Deep Networks for Unsupervised Deformable Image Registration.

This package includes 3D deformable image registration tool for brain images. The code was written by Jun Zhang, Tencent AI Healthcare.

Applications

3D inverse-consistent deformable image registration

Prerequisites

Linux python 2.7 NVIDIA GPU + CUDA CuDNN

Install pytorch (0.4.0 or 0.4.1) and dependencies from http://pytorch.org/

Install SimpleITK with pip install SimpleITK

Install numpy with pip install numpy

Apply

cd Code

Apply our Pre-trained Model (Note that the image pairs must be linearly aligned before using our code). It is better to perform the histogram matching according to any one of our provided images.

python Test.py --fixed ../Dataset/image_A.nii.gz --moving ../Dataset/image_B.nii.gz

Train

If you want to train a model using your own dataset, please perform the following script.

python Train.py --datapath yourdatapath

You need to perform the histogram matching for you dataset since we emply the MSE loss for measuring similarity. You may need to adjust the parameters of --inverse, --antifold, and --smooth for your dataset to get better registration performance.

icnet's People

Contributors

zhangjun001 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.