# Modules:BRAINSDemonWarp

**URL:** <https://discourse.slicer.org/t/modules-brainsdemonwarp/25039>\
**Category:** Support\
**Tags:** registration\
**Created:** [September 1, 2022, 9:47am UTC](https://discourse.slicer.org/t/modules-brainsdemonwarp/25039 "2022-09-01T09:47:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chuan](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chuan](https://discourse.slicer.org/u/Chuan)\
**Post date:** [September 1, 2022, 9:47am UTC](https://discourse.slicer.org/t/modules-brainsdemonwarp/25039/1 "2022-09-01T09:47:52Z")

</div>

Hi,

Does 3d slicer reomove the module of BRAINSDemonWarp in the high version?  
I can use V4.10.2 to do the DemonRegistration but I cannot find it in V5.0.3.

Best regards,  
Chuan

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [September 1, 2022, 1:00pm UTC](https://discourse.slicer.org/t/modules-brainsdemonwarp/25039/2 "2022-09-01T13:00:39Z")

</div>

> <https://github.com/Slicer/Slicer/issues/5255>
>
> In Slicer 4.10.2, Demon Registration (BRAINS) and Vector Demon Registration (BRA…INS) were available under Registration \> Specialized, but have disappeared in Slicer 4.11. I haven't seen any mention of their removal so perhaps it is actually a bug.

> Yes. Those tools were not maintained, and we have no record of anyone using them for many many years.

> Now ANTS registration is available in Slicer (via SlicerANTS extension), which should be sufficient. Especially since BRAINS, Elastix, Plastimatch, and other registration modules are available, too.

---

<div class="post-metadata">

**Author:** ![Chuan](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chuan](https://discourse.slicer.org/u/Chuan)\
**Post date:** [September 13, 2022, 12:14pm UTC](https://discourse.slicer.org/t/modules-brainsdemonwarp/25039/3 "2022-09-13T12:14:07Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![Chuan](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chuan](https://discourse.slicer.org/u/Chuan)\
**Post date:** [November 28, 2024, 7:58am UTC](https://discourse.slicer.org/t/modules-brainsdemonwarp/25039/4 "2024-11-28T07:58:53Z")

</div>

Hi James,

Do you know where can I find the python code of Demon Registration used in Slicer3D 4.10? Out of some reasons, I still need to test this module.

Best regards,  
Chuan

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [November 28, 2024, 11:28am UTC](https://discourse.slicer.org/t/modules-brainsdemonwarp/25039/5 "2024-11-28T11:28:20Z")

</div>

It is part of the BRAINSTools as specified by reviewing the code as of say the 4.10.2 tag [GitHub - Slicer/Slicer at v4.10.2](https://github.com/Slicer/Slicer/blob/v4.10.2)

> <https://github.com/Slicer/Slicer/blob/17a1edfe600430d25ee025868a11d84063ff6522/SuperBuild.cmake#L267>

which gets you to this branch:

> **[GitHub - Slicer/BRAINSTools at slicer-2017-12-09-v4.7.1-b045970](https://github.com/Slicer/BRAINSTools/tree/slicer-2017-12-09-v4.7.1-b045970)**
>
> slicer-2017-12-09-v4.7.1-b045970

There appears to also have been an interface through SimpleITK.

---

<div class="post-metadata">

**Author:** ![Chuan](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chuan](https://discourse.slicer.org/u/Chuan)\
**Post date:** [November 28, 2024, 2:56pm UTC](https://discourse.slicer.org/t/modules-brainsdemonwarp/25039/6 "2024-11-28T14:56:46Z")

</div>

Amazing! Thank you James, even though I cannot understand how you find it, It looks like a decryption reasoning. Thank you very much, I didn’t find it in this whole morning!

---

<div class="post-metadata">

**Author:** ![Chuan](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Chuan](https://discourse.slicer.org/u/Chuan)\
**Post date:** [November 28, 2024, 3:08pm UTC](https://discourse.slicer.org/t/modules-brainsdemonwarp/25039/7 "2024-11-28T15:08:29Z")

</div>

Now I checked it, unfortunately it is not in Python. The reason I would like to check is now I am using the demonregistration in SimpleITK, but the results differ a lot from what I got in Demon Registration in Slicer3D. Seems the algorithm used in Slicer3D is more matured because it has more parameters that can be played with.
