Skip to content

Python implementation of 2d and 3d image registration

License

Notifications You must be signed in to change notification settings

calderds/image_registration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LDDMM PYTHON

Original repo by @Ryo-ito, reorganized and ported to python3 by @calderds

To install:

First, clone the repository:

git clone https://github.com/calderds/image_registration

Now, we need to compile the imageprocessing.pyx file for your operating system and rename it so the package can see it. To do so (on a UNIX system), use the following commands.

cd rtk
python setup.py build_ext -i
mv imageprocessing*.so imageprocessing.so

Then, we can install the package like usual.

cd ..
python setup.py sdist
pip install dist/rtk-0.0.1.tar.gz

Now, to test the repository, we can use the test script provided to make sure the installation works on your system.

cd example
python cube_to_sphere.py

Or, you can use tools in the cli folder to directly call this toolbox from the command line.

Original README:

image_registration

Image registration package for python. Performs non-rigid deformation to match input image to another one. Algorithms implemented are LDDMM(Large Deformation Diffeomorphic Metric Mapping) and SyN (Symmetric Normalization). Supports for both 2 and 3 dimensional images in Nifti files.

About

Python implementation of 2d and 3d image registration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 71.8%
  • Python 22.4%
  • Cython 5.8%