# Extract mean diffusivity

**URL:** <https://community.mrtrix.org/t/extract-mean-diffusivity/187>\
**Category:** Uncategorized\
**Created:** [April 28, 2016, 4:36pm UTC](https://community.mrtrix.org/t/extract-mean-diffusivity/187 "2016-04-28T16:36:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haerts](https://community.mrtrix.org/letter_avatar_proxy/v4/letter/h/e47774/32.png) [@haerts](https://community.mrtrix.org/u/haerts)\
**Post date:** [April 28, 2016, 4:36pm UTC](https://community.mrtrix.org/t/extract-mean-diffusivity/187/1 "2016-04-28T16:36:04Z")

</div>

Hi MRtrix experts,

To visualize brain tumors in my DWI images, i got the suggestion to calculate mean diffusivity maps.  
Since it uses the diffusion tensor model, I selected only my lower b-values (b=0,700,1200) and left out the b=2800 shell.  
I then computed the diffusion tensor (dwi2tensor dwi\_input.mif -mask mask.nii dwi\_dt.nii) and tried to extract the MD, which should be the same as the ADC (tensor2metric dwi\_dt.nii -mask mask.nii -adc adc.nii).  
However, what I end up with is just a white image with some black voxels, intensity ranging from -151 up to 124.  
Does anyone have an idea on what might have gone wrong?

Thanks in advance!

Best regards,  
Hannelore

---

<div class="post-metadata">

**Author:** ![bjeurissen](https://community.mrtrix.org/user_avatar/community.mrtrix.org/bjeurissen/32/28_2.png) [@bjeurissen](https://community.mrtrix.org/u/bjeurissen)\
**Post date:** [April 28, 2016, 5:26pm UTC](https://community.mrtrix.org/t/extract-mean-diffusivity/187/2 "2016-04-28T17:26:57Z")

</div>

Hey Hannelore,

There are probably a few extreme values in your ADC map. In mrview, choose Tool, View options and set the intensity range to sensible value for ADC.

Also, make sure you use the latest dwi2tensor version as we recently fixed a bug.
