Are there ways to load, edit and save .hdr without doing things to .img? Because I found SPM changed my source files headers every time doing co-registration, and I want to change it back. It seems save_nii_hdr() is an internal function and I tried using it but broke my nifti files.
Thanks for the toolbox. I have following issue:
I have a 3D matrix in MATLAB which I need to convert to NIfTI or ANALYZE format so as to view it in SPM8. For this I am using "Tools for NIfTI and ANALYZE image". My problem is once I convert this 3D matrix to ANALYZE format using make_ana command, I get the brain volume that is rotated/flipped w.r.t the original volume.
How can I resolve this?
NOTE: co-registering this to original brain volume did not help, the result was still flipped.
07 Nov 2014
MatLab tool for exporting data to PowerPoint 2007+ files without using COM-objects automation
Update for 2014B: make the changes below to
function PPTXInfo = addPicture(PPTXInfo,imgData,varargin)
I have NOT check all variations of exportToPPTX in 2014B
My earlier problems, where my own errors in having a mismatch between 'new' at start of my scrip and 'save' at the end.
Thank you so much for this very helpful code!
I encountered a problem with loading some of my files.
I prepared a mask file in FSL, and want to load it into matlab together with some functional files.
The problem is the affine matrix has non-orthogonal rotation for 2 of my subjects, so I cannot use "load_nii".
I am not sure if I can use "reslice_nii" because I still need this mask file to have the same dimensions as my functional file.
Any ideas would be much appreciated!