# Problems with conversion DICOM files to NRRD with DTI

**URL:** <https://discourse.slicer.org/t/problems-with-conversion-dicom-files-to-nrrd-with-dti/9156>\
**Category:** SlicerDMRI\
**Created:** [November 15, 2019, 1:59pm UTC](https://discourse.slicer.org/t/problems-with-conversion-dicom-files-to-nrrd-with-dti/9156 "2019-11-15T13:59:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santiago\_Cutiller](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_cutiller/32/5909_2.png) [@Santiago\_Cutiller](https://discourse.slicer.org/u/Santiago_Cutiller)\
**Post date:** [November 15, 2019, 1:59pm UTC](https://discourse.slicer.org/t/problems-with-conversion-dicom-files-to-nrrd-with-dti/9156/1 "2019-11-15T13:59:24Z")

</div>

Hello, A few month ago I started to use 3D Slicer to create tractographys. Usually I use DWIconvert and then Difussion Brain Masking and Difussion Tensor Estimation. I’m trying to do the same but the next error comes up when I use Difussion Brain Masking: “Diffusion Brain Masking standard error:  
C:/Users/Usuario/AppData/Roaming/NA-MIC/Extensions-28257/SlicerDMRI/lib/Slicer-4.10/cli-modules/DiffusionWeightedVolumeMasking.exe: Error parsing Diffusion information, no B0 images”.  
After I use Difussion Tensor Estimator a black image appears.  
in the volume tool the number of the scale is 17.

I hope you can give me an answer to my problem  
sincerely Santiago

---

<div class="post-metadata">

**Author:** ![zhangfanmark](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhangfanmark/32/4451_2.png) [@zhangfanmark](https://discourse.slicer.org/u/zhangfanmark)\
**Post date:** [November 15, 2019, 2:33pm UTC](https://discourse.slicer.org/t/problems-with-conversion-dicom-files-to-nrrd-with-dti/9156/2 "2019-11-15T14:33:21Z")

</div>

Hi Santiago,

As the error message says, there may be no baseline image in your data. You may want to look into that.

Also, when you look at the converted DWI data, does it look good to you?

Regards,  
Fan

---

<div class="post-metadata">

**Author:** ![Santiago\_Cutiller](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_cutiller/32/5909_2.png) [@Santiago\_Cutiller](https://discourse.slicer.org/u/Santiago_Cutiller)\
**Post date:** [November 16, 2019, 2:33am UTC](https://discourse.slicer.org/t/problems-with-conversion-dicom-files-to-nrrd-with-dti/9156/3 "2019-11-16T02:33:27Z")

</div>

Hi, Thanks for answer!

The conversion from dcm to DWI its allright, I can also see the image corresponding to b0

I’ll explain the steps I followed.  
This is the list of dcm files:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/0/f0453b4f69a46bf17a1ede2c2d315acb61a2c1f7.png)

Then I use DWIconvert

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/3/339ca731f4042a9247275cf07bdede51208202d9.png)

The result is accurate and I can select the DWI component in the volume module

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/a/fa84959c032e2a36d8975ee0bcf45d6e6044315f.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/0/303ac4a42d72eaa0d09487b98602fae80358bbe0.png)  
BUT… When I want to create the mask this mistake comes out:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/f/df3aef9969e7105209ac42a6449c1099f99293ab.png)

I tried to convert dcm to nrrd with MRIcon but the same mistakes comes out again

I expect your answer!

Regards

Santiago.

---

<div class="post-metadata">

**Author:** ![zhangfanmark](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhangfanmark/32/4451_2.png) [@zhangfanmark](https://discourse.slicer.org/u/zhangfanmark)\
**Post date:** [November 16, 2019, 2:36pm UTC](https://discourse.slicer.org/t/problems-with-conversion-dicom-files-to-nrrd-with-dti/9156/4 "2019-11-16T14:36:14Z")

</div>

Hi!

Yes, I agree that the data looks good. One thing we can check is to look at the actual b values in your data.

In conversion options, please chose DicomToFSL to output nifti format of the DWI data. In the output bval file, you will see the actual b values. Please check if there are b=0 inside.

Regards,  
Fan

---

<div class="post-metadata">

**Author:** ![Santiago\_Cutiller](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_cutiller/32/5909_2.png) [@Santiago\_Cutiller](https://discourse.slicer.org/u/Santiago_Cutiller)\
**Post date:** [November 23, 2019, 3:15pm UTC](https://discourse.slicer.org/t/problems-with-conversion-dicom-files-to-nrrd-with-dti/9156/5 "2019-11-23T15:15:05Z")

</div>

Hi!  
I could not get the bval file with 3D slicer but I used MRIcron to create the NIfTI file and then I opened it up with DTI studio and got the next info…

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/4/84e9f551ade4964a93e37f1e400ddb020719d8e9.jpeg)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/3/43dd8ee81f5c7b99cc5b703234c71d9774b865bb.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/9/998f27fdb4fc3c9350a1cb0e3be5f04164d71da2.png)

I guess there is missed info in this files. Is there a way to get it back?

---

<div class="post-metadata">

**Author:** ![zhangfanmark](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhangfanmark/32/4451_2.png) [@zhangfanmark](https://discourse.slicer.org/u/zhangfanmark)\
**Post date:** [November 24, 2019, 3:07pm UTC](https://discourse.slicer.org/t/problems-with-conversion-dicom-files-to-nrrd-with-dti/9156/6 "2019-11-24T15:07:36Z")

</div>

Yes, looks there is something wrong with the gradient table for this dataset. I am not aware if there is good way to recover. If you can another dataset scanned using the save acquisition parameters on your site. You can use the gradient table from that dataset.

Regards  
Fan
