# NIFTI image matlab

**URL:** <https://discourse.slicer.org/t/nifti-image-matlab/4086>\
**Category:** Support\
**Created:** [September 12, 2018, 4:31pm UTC](https://discourse.slicer.org/t/nifti-image-matlab/4086 "2018-09-12T16:31:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sil91](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@sil91](https://discourse.slicer.org/u/sil91)\
**Post date:** [September 12, 2018, 4:31pm UTC](https://discourse.slicer.org/t/nifti-image-matlab/4086/1 "2018-09-12T16:31:11Z")

</div>

Good evening,  
I look for support because I am explained as the nifti images with matlab. What do the header fields mean? Which variable is the intensity of each pixel? I have the field nii, that contains .img, that contains .hdr. I need the intensity of each pixel relatively to each coordinate (x,y,z). How can i express this in an editor in Matlab?

Thanks for answers.

---

<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:** [September 12, 2018, 5:37pm UTC](https://discourse.slicer.org/t/nifti-image-matlab/4086/2 "2018-09-12T17:37:35Z")

</div>

Here is a nice tutorial on NIFTI in Python:

[http://nipy.org/nibabel/nifti\_images.html](http://nipy.org/nibabel/nifti_images.html)

I would suggest to use Python if you are just getting started, and follow that tutorial. But presumably a Nifti library also exists for Matlab.
