Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions to read nifti #255

Open
htakemur opened this issue Jul 25, 2017 · 1 comment
Open

Functions to read nifti #255

htakemur opened this issue Jul 25, 2017 · 1 comment
Assignees

Comments

@htakemur
Copy link
Contributor

htakemur commented Jul 25, 2017

We have a couple of functions to read nifti file

  • niftiRead (wrapper function)
  • readFileNifti (c-based mex?)
  • niftiReadMatlab (based on Jimmy Shen's tool)

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)

@htakemur htakemur self-assigned this Jul 25, 2017
@htakemur
Copy link
Contributor Author

Related discussion:
#257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant