# Register MRI-DWI to CT

**URL:** <https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244>\
**Category:** Support\
**Tags:** registration\
**Created:** [November 21, 2019, 12:39pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244 "2019-11-21T12:39:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![E.M.Lam](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@E.M.Lam](https://discourse.slicer.org/u/E.M.Lam)\
**Post date:** [November 21, 2019, 12:39pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244/1 "2019-11-21T12:39:29Z")

</div>

Hello! I want to register a DWI to a CT image but I cannot select the DWI for general registration because it’s in the wrong node. Is there a possibility to use general registration anyhow?

---

<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:** [November 21, 2019, 1:24pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244/2 "2019-11-21T13:24:06Z")

</div>

Hi - you are right, the registration needs a scalar volume, so if you start with a DWI you can use SlicerDMRI extension to estimate the tensor and you will also get a baseline scalar volume. If the baseline doesn’t lead to good registration you could try other tensor-derived scalars.

---

<div class="post-metadata">

**Author:** ![E.M.Lam](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@E.M.Lam](https://discourse.slicer.org/u/E.M.Lam)\
**Post date:** [November 21, 2019, 1:32pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244/3 "2019-11-21T13:32:26Z")

</div>

Thanks a lot, that works out perfectly!

---

<div class="post-metadata">

**Author:** ![E.M.Lam](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@E.M.Lam](https://discourse.slicer.org/u/E.M.Lam)\
**Post date:** [November 21, 2019, 2:26pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244/4 "2019-11-21T14:26:59Z")

</div>

Maybe I answered too quick … Unfortunately it doesn’t work as I expected. I can select the Output Baseline Volume in General Registration but Slicer cannot use or save it.  
“That file doesn’t exist.”  
Is there anything I have to do with the Volume to make it “exist”?

---

<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:** [November 21, 2019, 2:58pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244/5 "2019-11-21T14:58:26Z")

</div>

Hmm, where does that message appear? Can you paste a screenshot of describe the steps you used?

---

<div class="post-metadata">

**Author:** ![E.M.Lam](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@E.M.Lam](https://discourse.slicer.org/u/E.M.Lam)\
**Post date:** [November 21, 2019, 3:17pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244/6 "2019-11-21T15:17:03Z")

</div>

The message appears as error when using the General Registration.  
After trying it again several times I noticed, that Diffusion Tensor Estimation finished with errors but there are no errors described in the box. So maybe the file doesn’t exist actually.  
I first converted the data with Diffusion-weighted DICOM Import (DWIConvert) to nrrd.  
I could imagine that Diffusion Tensor Estimation doesn’t work because it’s no diffusion weighted data, but Slicer loaded it this way.

---

<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:** [November 21, 2019, 3:19pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244/7 "2019-11-21T15:19:35Z")

</div>

Ah, yes, I think I see what happened. I’ve noticed that if you have SlicerDMRI installed it is sometimes overzealous at trying to import dicom as DWI even if it’s actually scalar data. In the Advanced mode of the DICOM module you can turn off the Diffusion Plugin (or just select the scalar option in the list when importing).

---

<div class="post-metadata">

**Author:** ![E.M.Lam](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@E.M.Lam](https://discourse.slicer.org/u/E.M.Lam)\
**Post date:** [November 21, 2019, 3:29pm UTC](https://discourse.slicer.org/t/register-mri-dwi-to-ct/9244/8 "2019-11-21T15:29:36Z")

</div>

Ok, I could fix that. Thank you for helping me out!
