close all
clearvars
clc

% Path of NII matlab files
addpath('NIfTI_matlab_tools')

% Filename of the NII file
NIFTI_file_name='sujet39.nii'; % name_subject.nii

% Load NII file
nii = load_nii(NIFTI_file_name);
hdr = nii.hdr;

% View NII file
view_nii(nii);

