 class="section level2">
<h2 id="the-nifti-object">The nifti object<a class="anchor" aria-label="anchor" href="#the-nifti-object"></a>
</h2>
<p>Note: Throughout this post, I will refer to an image on hard disk as a NIfTI, which is a file that generally has the extension “.nii” or “.nii.gz”. I will refer to the object in R as a <code>nifti</code> (note the change of font and case).</p>
<p>In this tutorial we will discuss the basics of reading the <code>nifti</code> object in R. There are many objects