I don't know the historical background of these files. However, I found one difference.
readFileNifti may be faster but fails to read the full matrix of large nifti file (e.g. 10GB). niftiReadMatlab is slow but incorporate full matrix from nifti file.
This will be producing a problem for using vistatool and LiFE on high-spatial or angular resolution diffusion MRI data (or potentially some fMRI data as well).
One idea for enhancement:
(1) Edit niftiRead
(2) Get the file size estimates of nifti file
(3) When the file size exceeds specific limit, use niftiReadMatlab (do not call c-function readFileNifti.mex)
We have a couple of functions to read nifti file
I don't know the historical background of these files. However, I found one difference. readFileNifti may be faster but fails to read the full matrix of large nifti file (e.g. 10GB). niftiReadMatlab is slow but incorporate full matrix from nifti file.
This will be producing a problem for using vistatool and LiFE on high-spatial or angular resolution diffusion MRI data (or potentially some fMRI data as well).
One idea for enhancement: (1) Edit niftiRead (2) Get the file size estimates of nifti file (3) When the file size exceeds specific limit, use niftiReadMatlab (do not call c-function readFileNifti.mex)