open-discussion
open-discussion > RE: FMRI images to matrix in matlab?
Apr 20, 2015 02:04 PM | Andrew Bock
RE: FMRI images to matrix in matlab?
Freesurfer (http://freesurfer.net/) also provides many matlab functions in $FREESURFER_HOME/matlab,
including "load_nifti". I particularly like this function
because it works with .nii and .nii.gz. For example:
foo = load_nifti('some_file.nii.gz');
will return a structure 'foo', with many fields corresponding to header information, and your image data can be found in foo.vol.
Hope this helps,
Andrew
foo = load_nifti('some_file.nii.gz');
will return a structure 'foo', with many fields corresponding to header information, and your image data can be found in foo.vol.
Hope this helps,
Andrew
Threaded View
| Title | Author | Date |
|---|---|---|
| mohammad ali javanray | Apr 20, 2015 | |
| Leonardo Cerliani | Apr 20, 2015 | |
| Priya Aggarwal | Apr 20, 2015 | |
| mohammad ali javanray | Apr 21, 2015 | |
| Andrew Bock | Apr 20, 2015 | |
| mohammad ali javanray | Apr 21, 2015 | |
| Madhulika bhatia | Apr 20, 2015 | |
| mohammad ali javanray | Apr 21, 2015 | |
| Madhulika bhatia | Apr 20, 2015 | |
