# Brain image registration for radiotherapy treatment planning

**URL:** <https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102>\
**Category:** Development\
**Tags:** registration\
**Created:** [August 6, 2021, 12:40pm UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102 "2021-08-06T12:40:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eman\_Showkatian](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/eman_showkatian/32/11908_2.png) [@Eman\_Showkatian](https://discourse.slicer.org/u/Eman_Showkatian)\
**Post date:** [August 6, 2021, 12:40pm UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/1 "2021-08-06T12:40:56Z")

</div>

Operating system: Windows 10 x64  
Slicer version: 4.11.0

Hi slicer team,

I exported one patient data from the radiotherapy treatment planning system and tried to register the CT images with corresponding MRI T1w of the brain. I want to overlay these two images and try to segment the tumor on ct images with the guide of MR images. after that I want to use the SlicerRT Extention to deploy some radiation field and calculated the dose-volume histogram. I used the Elastic registration and general registration modules to register these two modaliteis. but the results were not satisfactory at all. the coordination and dimensions of MR images are completely different from CT images and I have no idea how to register these to volumes. I would be appreciated for any help in advance. you can find these images alongside with RT files here _(link removed due to potentially containing patient information)_.

---

<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:** [August 7, 2021, 6:46pm UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/2 "2021-08-07T18:46:36Z")

</div>

Before registration, you need to crop the input volumes so that they approximately contain the same anatomical region as described [here](https://slicer.readthedocs.io/en/latest/user_guide/registration.html#automatic-image-registration).

After cropping, I got reasonable results using both Elastix and ANTs, but ANTs looked slightly better:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/1/81beb40a7e9e319d0c8af37355a8312e2b045cda.jpeg)

---

<div class="post-metadata">

**Author:** ![Eman\_Showkatian](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/eman_showkatian/32/11908_2.png) [@Eman\_Showkatian](https://discourse.slicer.org/u/Eman_Showkatian)\
**Post date:** [August 9, 2021, 2:57pm UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/3 "2021-08-09T14:57:01Z")

</div>

Hi Lassoan,

Thanks for the quick response, I have a question:

which of the volumes did you crop? CT or MRI or both? (any screenshot from the crop process would be appreciated) and did you used the corresponding RT structure file?

---

<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:** [August 9, 2021, 3:25pm UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/4 "2021-08-09T15:25:48Z")

</div>

The CT covers a much larger area than the MRI, so I only cropped the CT, using Crop volume module.

I only used the RT structure set for visualization of the end result.

---

<div class="post-metadata">

**Author:** ![SogolSadeghi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sogolsadeghi/32/11909_2.png) [@SogolSadeghi](https://discourse.slicer.org/u/SogolSadeghi)\
**Post date:** [August 17, 2021, 8:33am UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/5 "2021-08-17T08:33:53Z")

</div>

Hi Lassoan,  
I have the same question and I tried your solution for cropping the CT. As a beginner( in using slicer I mean) actually, I don’t know how to crop the CT scans. I wondered if you could take a screenshot from the process and share it with me or guide me in a way that you are happy with.  
thanks

---

<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:** [August 17, 2021, 6:10pm UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/6 "2021-08-17T18:10:11Z")

</div>

You can find lots of Slicer tutorial videos on YouTube. Check out [these](https://www.youtube.com/results?search_query=slicer+crop+volume) and let us know if something is not clear or does not work as you expect.

---

<div class="post-metadata">

**Author:** ![Eman\_Showkatian](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/eman_showkatian/32/11908_2.png) [@Eman\_Showkatian](https://discourse.slicer.org/u/Eman_Showkatian)\
**Post date:** [August 20, 2021, 8:49am UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/7 "2021-08-20T08:49:48Z")

</div>

Hi @lassoan,

Hope you are doing well. I have a question. assume that we have a CT volume and MRI volume. Also, we have a CT\_segmentation structure that contains the corresponding structure of CT volume and we have an MRI\_segmentation structure that contains the corresponding structure of MRI volume. how can I transfer the MRI\_segmentation structures to CT\_segmentation structure so I can see the labels drawn using MRI on CT images.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [August 23, 2021, 9:46am UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/8 "2021-08-23T09:46:18Z")

</div>

See this extension: [GitHub - SlicerRt/SegmentRegistration: 3D Slicer extension for segment registration (aka fusion, conto](https://github.com/SlicerRt/SegmentRegistration)

It has two modules. If you are doing it for prostate brachytherapy then you can use the module `Prostate MRI-US Contour Propagation` otherwise you can use the generic `Segment Registration` one. Note that there is a paper cited in the readme of the extension, you may want to read it to see how it was used originally.

---

<div class="post-metadata">

**Author:** ![Zahra\_Rezaei](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zahra_rezaei/32/77038_2.png) [@Zahra\_Rezaei](https://discourse.slicer.org/u/Zahra_Rezaei)\
**Post date:** [July 12, 2024, 3:44pm UTC](https://discourse.slicer.org/t/brain-image-registration-for-radiotherapy-treatment-planning/19102/9 "2024-07-12T15:44:21Z")

</div>

Hi , I want register CTand MRIin brain , and after that I want to make equal slice for CT and MRI , means find reslice CT and MR for cycle Gan  
for registration I want to crop image before registration and after registration for find reslice ؟ how to crop and then register and find equal slice ؟
