# Registration discussion

**URL:** <https://discourse.slicer.org/t/registration-discussion/25894>\
**Category:** Development\
**Created:** [October 25, 2022, 12:53pm UTC](https://discourse.slicer.org/t/registration-discussion/25894 "2022-10-25T12:53:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay1987](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jay1987/32/16183_2.png) [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Post date:** [October 25, 2022, 12:53pm UTC](https://discourse.slicer.org/t/registration-discussion/25894/1 "2022-10-25T12:53:39Z")

</div>

I’ve watched the demonstration of the BrainLab Elements and Medtronic Stealth software. Their registration methods are so amazing that can finish the registration in about 5~8 seconds and the registration result is very good. Has anyone known about articles or materials involved in the registration?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 25, 2022, 3:42pm UTC](https://discourse.slicer.org/t/registration-discussion/25894/2 "2022-10-25T15:42:11Z")

</div>

[https://slicer.readthedocs.io/en/latest/user\_guide/registration.html](https://slicer.readthedocs.io/en/latest/user_guide/registration.html)

---

<div class="post-metadata">

**Author:** ![jay1987](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jay1987/32/16183_2.png) [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Post date:** [October 26, 2022, 8:09am UTC](https://discourse.slicer.org/t/registration-discussion/25894/3 "2022-10-26T08:09:55Z")

</div>

thank you pieper  
slicerants seems don’t support Slicer4.11version now

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 26, 2022, 11:20am UTC](https://discourse.slicer.org/t/registration-discussion/25894/4 "2022-10-26T11:20:27Z")

</div>

There are many registration tools for Slicer. Did they not work for your use case? Try the latest release 5.0.3.

---

<div class="post-metadata">

**Author:** ![jay1987](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jay1987/32/16183_2.png) [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Post date:** [October 26, 2022, 12:18pm UTC](https://discourse.slicer.org/t/registration-discussion/25894/5 "2022-10-26T12:18:58Z")

</div>

i tryed brainsfit and elastix,it works very well,registration result is very good . the only disadvantage is the registation time is too long,when i set brainsfit sample rate to 0.1 , it takes 50s more .

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 26, 2022, 4:13pm UTC](https://discourse.slicer.org/t/registration-discussion/25894/6 "2022-10-26T16:13:57Z")

</div>

Ah, okay, thanks for the context. Probably posting to the ITK forum or the specific tool issue pages could give you suggestions. Slicer’s tools tend to be general purpose where Brainlab probably optimizes a lot. Maybe there are ways to speed up the ITK-based tools if you use the right parameters.

---

<div class="post-metadata">

**Author:** ![jay1987](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jay1987/32/16183_2.png) [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Post date:** [October 27, 2022, 2:32am UTC](https://discourse.slicer.org/t/registration-discussion/25894/7 "2022-10-27T02:32:01Z")

</div>

thank you very much pieper.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 27, 2022, 3:10am UTC](https://discourse.slicer.org/t/registration-discussion/25894/8 "2022-10-27T03:10:04Z")

</div>

Rigid registration on CPU typically takes 10-20 seconds. You may need to tighten up some registration settings to achieve this - tune the number of samples, maximum iterations, various stopping conditions, skip generation of a resampled output image, etc.

In most workflows, this computation time is short enough that decreasing it any further would not make a practical difference, and it is very convenient that users don’t need to have any special hardware. However, if you have a strong GPU and you need faster registration then you can build Elastix with GPU acceleration enabled (maybe you need to build ITK with GPU support, too) and then registration may complete within a few seconds.

---

<div class="post-metadata">

**Author:** ![jay1987](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jay1987/32/16183_2.png) [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Post date:** [October 27, 2022, 3:23am UTC](https://discourse.slicer.org/t/registration-discussion/25894/9 "2022-10-27T03:23:41Z")

</div>

thank you very much lassoan  
sometimes I am wondering if where exist a registration method that can use GPU to perform Rigid registration work to speed up the process.  
try elastix GPU version is a good solution  
tighten up some registration settings will make the registration result not good enough to do Surgical planning, Therefore, it is necessary to balance the registration time and accuracy
