# convert NIfti file (nii.gz) to (.vtk)file

**URL:** https://discourse.paraview.org/t/convert-nifti-file-nii-gz-to-vtk-file/2924
**Category:** ParaView Support
**Tags:** vtk
**Created:** [November 6, 2019, 5:32pm UTC](https://discourse.paraview.org/t/convert-nifti-file-nii-gz-to-vtk-file/2924 "2019-11-06T17:32:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nour](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/df788c/32.png) [@nour](https://discourse.paraview.org/u/nour)
#### Post date: [November 6, 2019, 5:32pm UTC](https://discourse.paraview.org/t/convert-nifti-file-nii-gz-to-vtk-file/2924/1 "2019-11-06T17:32:33Z")

</div>

I am working with MRI Nifti dataset and I would convert it to .vtk meshes file.  
I installed the ITK-SNAP and 3cd converter.  
but there is a problem  
exemple : as you see in the picture 1 I couldn’t open the .vtk file ( I converted it with (c3d file.nii.gz -o file.vtk) also with itsknap (which i saved the image output as VTKfile)

 ![73326594_900221903707105_5722568344486281216_n](https://discourse.paraview.org/uploads/default/original/2X/0/096bd87acf176998e0dad3e4348259d87e1c8eb1.png) ![Capture%20d%E2%80%99%C3%A9cran%20de%202019-11-06%2014-32-51](https://discourse.paraview.org/uploads/default/original/2X/7/7d54ae674059cf0a346c86808e44bba9e07ca87b.png)  
and if I want to show it with paraview I couldn’t see anything as you see in the picture 2

---

<div class="post-metadata">

### Author: ![aron.helser](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aron.helser/32/13_2.png) [@aron.helser](https://discourse.paraview.org/u/aron.helser)
#### Post date: [November 6, 2019, 6:28pm UTC](https://discourse.paraview.org/t/convert-nifti-file-nii-gz-to-vtk-file/2924/2 "2019-11-06T18:28:52Z")

</div>

See that “Outline” dropdown right in the middle of your ParaView toolbars? What if you change it to “Surface” or “Surface with edges”?

-Aron

---

<div class="post-metadata">

### Author: ![nour](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/df788c/32.png) [@nour](https://discourse.paraview.org/u/nour)
#### Post date: [November 6, 2019, 6:52pm UTC](https://discourse.paraview.org/t/convert-nifti-file-nii-gz-to-vtk-file/2924/3 "2019-11-06T18:52:07Z")

</div>

the same thing ![Capture%20d%E2%80%99%C3%A9cran%20de%202019-11-06%2019-47-33](https://discourse.paraview.org/uploads/default/original/2X/c/c0d0951496f7d19a11ad4db02870b4d66dc8997d.png)

---

<div class="post-metadata">

### Author: ![aron.helser](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aron.helser/32/13_2.png) [@aron.helser](https://discourse.paraview.org/u/aron.helser)
#### Post date: [November 6, 2019, 7:22pm UTC](https://discourse.paraview.org/t/convert-nifti-file-nii-gz-to-vtk-file/2924/4 "2019-11-06T19:22:41Z")

</div>

With that dropdown, you are changing how the data is displayed, the “representation”. It looks like you have successfully loaded a cube of data. Does “Volume” give you something more interesting? I suggest you look at the ParaView Guide for some hints on interacting with your data - using the “Clip” or “Threshold” filter, for example.  
HTH,

Aron
