# How can I convert NIFTI files to NRRD files without .bvec nor .bval files?

**URL:** <https://discourse.slicer.org/t/how-can-i-convert-nifti-files-to-nrrd-files-without-bvec-nor-bval-files/3618>\
**Category:** Support\
**Created:** [July 31, 2018, 1:39pm UTC](https://discourse.slicer.org/t/how-can-i-convert-nifti-files-to-nrrd-files-without-bvec-nor-bval-files/3618 "2018-07-31T13:39:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyu\_Sung\_Choi](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@Kyu\_Sung\_Choi](https://discourse.slicer.org/u/Kyu_Sung_Choi)\
**Post date:** [July 31, 2018, 1:39pm UTC](https://discourse.slicer.org/t/how-can-i-convert-nifti-files-to-nrrd-files-without-bvec-nor-bval-files/3618/1 "2018-07-31T13:39:03Z")

</div>

Hello,

I am working with DSC NIFTI files, however I need to convert these into NRRD files.  
I know that there’s a module named DWIConvert, but I think you need .bvec or .bval files to use it.  
(Actually I have DSC dicom files, but after dcm2niix, no .bvec or .bval files are produced for my datasets.)  
So my question is,

1. Is it possible to convert NIFTI files to NRRD files without .bvec nor .bval files?
2. If possible, then how can I do this?

Thank you in advance!

---

<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 31, 2018, 2:40pm UTC](https://discourse.slicer.org/t/how-can-i-convert-nifti-files-to-nrrd-files-without-bvec-nor-bval-files/3618/2 "2018-07-31T14:40:31Z")

</div>

> [@Kyu\_Sung\_Choi](#):
>
> Is it possible to convert NIFTI files to NRRD files without .bvec nor .bval files?

For non-diffusion MR images, yes. You can also load those .nii file directly in Slicer without an intermediate NRRD conversion step.

(the nii/bvec/bval file set is for diffusion weighted imaging, and bvec/bval is necessary to convert a nifti-DWI volume to a nrrd-DWI volume; they store the gradient and b value information)

> [@Kyu\_Sung\_Choi](#):
>
> Actually I have DSC dicom files, but after dcm2niix, no .bvec or .bval files are produced for my datasets.

dcm2niix will only create bvec/bval pairs for diffusion weighted MR images.

---

<div class="post-metadata">

**Author:** ![Kyu\_Sung\_Choi](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@Kyu\_Sung\_Choi](https://discourse.slicer.org/u/Kyu_Sung_Choi)\
**Post date:** [August 1, 2018, 12:45am UTC](https://discourse.slicer.org/t/how-can-i-convert-nifti-files-to-nrrd-files-without-bvec-nor-bval-files/3618/3 "2018-08-01T00:45:52Z")

</div>

Thank you for your answer, Isaiah.  
I misunderstood that DSC images are diffusion weighted images, which is totally not.

Actually I have hundreds of nifti files to convert.  
Could you please let me know how to save nifti files into nrrd files **in command lines?**  
Thank you in advance!
