# Registation of two vascular images using Python Simple ITK

**URL:** https://discourse.itk.org/t/registation-of-two-vascular-images-using-python-simple-itk/7766
**Category:** Beginner Questions
**Tags:** python, vessels, segmentation, simpleitk
**Created:** [May 15, 2026, 6:17pm UTC](https://discourse.itk.org/t/registation-of-two-vascular-images-using-python-simple-itk/7766 "2026-05-15T18:17:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![anatolejimenez](https://discourse.itk.org/user_avatar/discourse.itk.org/anatolejimenez/32/4669_2.png) [@anatolejimenez](https://discourse.itk.org/u/anatolejimenez)
#### Post date: [May 15, 2026, 6:17pm UTC](https://discourse.itk.org/t/registation-of-two-vascular-images-using-python-simple-itk/7766/1 "2026-05-15T18:17:03Z")

</div>

Hi,

I would like to register two vascular images of the same modality but with different dynamics. I played a lot with the image registration metrics (correlation, mutual information and correlation) with optimizer gradient descent, yet didn’t succeed. Here is an example (I uploaded the fixed and moving images):

 ![image](https://discourse.itk.org/uploads/default/original/2X/0/044ba92c653a6bd87f3ee8fc3e06a6d6faf1863a.jpeg)

Is there a better solution suited for such images?  
Note that those images are actually different frames of a cine acquisition.

[fixed.nii](https://discourse.itk.org/uploads/short-url/y1Ua9ZZt0RBe5lxUIw1LJUp6mP5.nii) (259.6 KB)

[moving.nii](https://discourse.itk.org/uploads/short-url/80QTqe3rZVaQl6iTqeDZE9VXddd.nii) (259.6 KB)

Thanks!

Anatole

---

<div class="post-metadata">

### Author: ![blowekamp](https://discourse.itk.org/user_avatar/discourse.itk.org/blowekamp/32/79_2.png) [@blowekamp](https://discourse.itk.org/u/blowekamp)
#### Post date: [May 22, 2026, 12:51pm UTC](https://discourse.itk.org/t/registation-of-two-vascular-images-using-python-simple-itk/7766/2 "2026-05-22T12:51:09Z")

</div>

Hello,

There are a lot of details missing about the registration components you choose to use for this registration.

You may find the turn-key solutions available in Elastix easier to use. The just announce [SimpleITK 3.0.0 beta 1](https://discourse.itk.org/t/simpleitk-3-0-0-beta-1/7767) experimental includes the SimpleElastix interface as part of it’s binary distributions. You can find the original documentation for this interface here: [Hello World — SimpleElastix 0.1 documentation](https://simpleelastix.readthedocs.io/HelloWorld.html) and some updated emerging documentation here: [SimpleElastix Registration — SimpleITK 2.4.0 documentation](https://simpleitk.readthedocs.io/en/main/link_Elastix_docs.html)

You can find other interfaces to Elastix along with additional information here: [https://elastix.dev](https://elastix.dev)
