Deformable registration is basically calculation a dense vector field or mapping for every pixel in moving image to fixed image. This is better suited for deeplearning based registration compared to estimation of transformation matrix end to end. Voxelmorph have model creation classes for deformable registration learning.
Here is the medium page for this repo Deep Deformable Registration
If you are looking for non deformable registration, checkout Keypoint and ECC based registration
For demo of supervised learning of transform matrix, registerNet
git clone https://github.com/jerinka/voxelmorph_demo
Next step is to click on that star button in right top of this repo 😀 Thank you.
virtualenv venv3 --python=python3
source venv3/bin/activate
pip3 install -r requirements.txt
python3 simple_voxelmorph.py
python3 register_basics.py
python voxelmorph_tutorial.py
jupyter notebook
VoxelMorph_Tutorial.ipynb