Reads the NIFTI image file into an array.
The location of the image file to be read
An array with the appropriate dimensions containing the image volume. A print out of the file information is also given. The function assumes that the corresponding .hdr file is in the same directory as the .img file (but if a .nii file is provided).
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.