# DWI to DTI Estimation Problem

**URL:** <https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719>\
**Category:** Support\
**Tags:** diffusion, tractography\
**Created:** [July 20, 2017, 1:25am UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719 "2017-07-20T01:25:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 20, 2017, 1:25am UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/1 "2017-07-20T01:25:20Z")

</div>

Operating system: Win 10 Pro  
Slicer version: 4.5.0-1

Hello everyone,

I want DWI images convert to DTI and tractography. First step, i created .nrrd file, baseline and mask. Later, DWI to DTI estimation module is working but i can’t see DTI images. The screen is seeming black blank. How can I fix the problem?

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:** [July 20, 2017, 1:26am UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/2 "2017-07-20T01:26:15Z")

</div>

To get started, download the latest **nightly** version of Slicer and install the SlicerDMRI extension.

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 20, 2017, 2:10am UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/3 "2017-07-20T02:10:56Z")

</div>

Thank you for quick response. I setup 4.7.0-2017-07-18 version and installed DMRI extension. I got error message:

Diffusion Brain Masking standard error:

C:/Users/mehme/AppData/Roaming/NA-MIC/Extensions-26156/SlicerDMRI/lib/Slicer-4.7/cli-modules/DiffusionWeightedVolumeMasking.exe: Error parsing Diffusion information, no B0 images

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [July 20, 2017, 1:53pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/4 "2017-07-20T13:53:10Z")

</div>

What are your B-values? The default maximum B-value is 100 in order to be considered a B0, but that can be changed under the `Mask Settings`:

 ![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/c4fab6fece259cda8a015c125d64ace0730c1c9e.png)

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 22, 2017, 1:05pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/5 "2017-07-22T13:05:14Z")

</div>

> [@ihnorton](#):
>
> What are your B-values? The default maximum B-value is 100 in order to be considered a B0, but that can be changed under the Mask Settings:

My B-values are automatic 100 in mask settings. As if i change baseline B-value threshold parameter, i got error message. How i can learn B-values? I want my DWI images analyses for tractography so 3D slicer 4.5 and 4.7 nightly version but i got error message or i seen black screen. I tried diffusion MRI tutorial data so i could. But my datas (20 different patients on DWI images) are failed. How can i fix it? I’ve been struggling for 2 weeks.

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 22, 2017, 1:18pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/6 "2017-07-22T13:18:03Z")

</div>

I think my b-values are 1000.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/1/813cc09ce8f4a935b151728b45d75ae58f8d7f1b.png)

---

<div class="post-metadata">

**Author:** ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)\
**Post date:** [July 22, 2017, 1:51pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/7 "2017-07-22T13:51:44Z")

</div>

It is not clear if your dataset has multiple diffusion weighted images or just one image. Please check if your data is in fact a DWI image that is compatible with DTI analysis. In the Volumes module, you should be able to see multiple components in your DWI (multiple diffusion-weighted images from the application of multiple diffusion-sensitizing gradients). Look at Volumes-\>Volume Information-\>Number of Scalars. This must be 7 or higher for DTI analysis. Then you can go to Display-\>Scalar Display to visualize each DWI component.

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 22, 2017, 2:20pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/8 "2017-07-22T14:20:56Z")

</div>

Thank you for your quick response Lauren. My number of scalars are empty? So i can’t move scalar display bar.

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

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

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 22, 2017, 2:23pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/9 "2017-07-22T14:23:18Z")

</div>

My data images are multiple DWI.

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

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [July 22, 2017, 3:38pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/10 "2017-07-22T15:38:08Z")

</div>

Each of those individual files is relatively small and may only be a single slice each. So this might be the slices for only a single volume. Note that there are other kinds of diffusion scans (or scalar output from the scanner such as ADC maps) which are not compatible with DTI analysis. You could share some ( **!anonymized!** ) headers to get feedback, see instructions here:

> [@Problem with sagittal and coronal view from CCTA DICOM files](https://discourse.slicer.org/t/problem-with-sagittal-and-coronal-view-from-ccta-dicom-files/716/9):
>
> To make it easier to share the metadata with us for analysis, I’ve added the option to copy the metadata to clipboard. Could you please download the latest nightly version of Slicer now (if you downloaded Slicer yesterday or before then it is too old, it does not contain this feature yet), and then: Open DICOM browser Select the image that you want to load Check Advanced checkbox Click Examine button Click Metadata button Click Copy Metadata button Paste the copied text to any text editor Remo…

But probably the best option is to contact whoever is responsible for scanning these images to verify the scanning protocol.

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 22, 2017, 5:07pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/11 "2017-07-22T17:07:08Z")

</div>

My metadatas:

 ![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/064bed934f0ec1bbe1af1979737fd125bbd2db8c.jpg) ![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/9c27fbbbc602b788043df8a39fc102b737a4feaa.jpg) ![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/b9c467ae81fade22a70f44df0367a572c938fd18.jpg)

In addition, when i’m tried, not only 20 patients but also 2 different instution’s patients so 2 different MRI machines but i can’t tractography.

Thank you for your interest Mr. Norton.

---

<div class="post-metadata">

**Author:** ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)\
**Post date:** [July 22, 2017, 6:34pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/12 "2017-07-22T18:34:18Z")

</div>

These tags look like a trace weighted or ADC map. It appears to not be a DWI from a DTI protocol. I recommend investigating if other images were saved on the scanner and finding out what the acquisition was.

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 22, 2017, 6:51pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/13 "2017-07-22T18:51:31Z")

</div>

> [@ljod](#):
>
> These tags look like a trace weighted or ADC map. It appears to not be a DWI from a DTI protocol. I recommend investigating if other images were saved on the scanner and finding out what the acquisition was.

What do you mean other images? If you have dwi images that work for you, can you send me the meta data? According to these parameters, we make our next MRI protocol at least.

Thanks Mrs. Lauren.

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [July 22, 2017, 8:00pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/14 "2017-07-22T20:00:33Z")

</div>

This is a trace image:

 ![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/9b91075b53df033a9aab7d9009dd772dc7eb4c53.jpg)

It looks like you are using the Siemens product sequence, which should work fine, but you need the original DWI images (these derived maps are automatically computed by the scanner by default, but it can be turned off in the protocol card). The raw DWI will have lower series number and the ImageType tag should look like:

```auto
(0008,0008) CS [ORIGINAL\PRIMARY\DIFFUSION\NONE\ND\MOSAIC] # 42, 6 ImageType

```

(it might not say MOSAIC at the end, but it needs to say `ORIGINAL\PRIMARY`)

---

<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:** [July 22, 2017, 8:00pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/15 "2017-07-22T20:00:48Z")

</div>

@ihnorton I’ve improved the metadata dialog to be able to filter for specific tags and export all of them in all of the selected patient, study, or series. It is implemented in CTK and waiting for the pull request to be merged ([https://github.com/commontk/CTK/pull/728](https://github.com/commontk/CTK/pull/728)), but it should get into the nightly Slicer version within a few days. That should help figuring out what kind of data the user has much more quickly.

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 22, 2017, 8:28pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/16 "2017-07-22T20:28:49Z")

</div>

Thank you very much @ihnorton and @lassoan 🙂  
Yes, MRI machine is Siemens’s product. I have also another image series of other institute. ImageType tag is yours said @ihnorton. But i trying again and again, still i can not tractography. Look at this please.  
So how can i turned off in the protocol card or whom should i say this situation? Briefly, what can i do?

 ![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/108ae41f133b024ad0347d0018c526e54a39a289.jpg)

---

<div class="post-metadata">

**Author:** ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)\
**Post date:** [July 23, 2017, 4:08pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/17 "2017-07-23T16:08:38Z")

</div>

Hello this is still not a diffusion volume. It does not say diffusion in the ImageType.

In addition to trace and other derived images, the original diffusion DWI should have also been saved on the scanner. It is necessary to talk to the MRI technician, MRI physicist, or look in the image archives to find this image.

---

<div class="post-metadata">

**Author:** ![AsliBeriL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asliberil/32/438_2.png) [@AsliBeriL](https://discourse.slicer.org/u/AsliBeriL)\
**Post date:** [July 23, 2017, 8:52pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/18 "2017-07-23T20:52:27Z")

</div>

OK. Thank you very much for all and advance. In addition I really appreciate for this software 🙂

Best regards,

A. BeriL

---

<div class="post-metadata">

**Author:** ![Cincy](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@Cincy](https://discourse.slicer.org/u/Cincy)\
**Post date:** [April 21, 2020, 2:37pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/19 "2020-04-21T14:37:28Z")

</div>

hello,maybe I need your help .I met the same problem.I created .nrrd file, baseline and mask. DWI to DTI estimation module was working and it did not prompt errors but I did not see DTI image(it is black), and I want to know if you solve the problem by finding the original diffusion DWI .Thank you！

---

<div class="post-metadata">

**Author:** ![Nicholas.jacobson](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@Nicholas.jacobson](https://discourse.slicer.org/u/Nicholas.jacobson)\
**Post date:** [August 21, 2020, 6:12pm UTC](https://discourse.slicer.org/t/dwi-to-dti-estimation-problem/719/20 "2020-08-21T18:12:21Z")

</div>

Hello, I am working on a new DWI set, de-identified, from a phillips machine. I’m getting 34 directions, a multi volume and a DWI volume showing up in the DICOM viewer. However, in the brain mask step I am getting an error for no b0. How do I work with this error? Happy to share the files as I am somewhat new to this process and could use the guidance.

nick
