Rajeev,
To review Analyze or NIFTI parameters outside of SPM, if you have FSL3.3 or
an earlier version, you can get a text header dump with:
avwhd fname
Or for later versions of FSL:
fslhd fname
Kathy Pearson
UAB Psychology
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On
Behalf Of Rajeev Raizada
Sent: Wednesday, November 05, 2008 5:12 PM
To: [log in to unmask]
Subject: [SPM] Q: Command to tell whether a Nifti image actually contains
L-R info within it?
Dear SPM list,
I had been under the impression that Nifti files
always have L-R info built-in to them, so that
you never need to worry about interpretation-conventions etc.
However, it seems that although Nifti images possess
the *capability* of having built-in L-R info, they don't have to use it.
An image can be in Nifti format without actually having that info built-in.
If I open such an image in FSLview, it opens it and views it fine,
but it says "Coordinate space: unknown",
and does not show any L-R / A-P labels on the image view.
Is there a Matlab or SPM command which can tell me
whether a particular Nifti file has L-R info built-in to it?
I had thought that maybe spm_get_space would do that,
but that command gives a matrix of output without complaining,
even when I give it a "Coordinate space: unknown" image as input.
I've looked around a bit online, but the only discussions I can find
about how L-R info gets built-in to Nifti images
are epic poems about RAS, LAS, world-spaces and quaternions.
Any simpler or more digestible answers would be greatly appreciated!
Many thanks,
Raj
|