On Wed, 5 Nov 2008 17:35:36 -0600, Kathy Pearson <[log in to unmask]> wrote:
>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
Many thanks for the reply.
Unfortunately, I don't think the fslhd command alone
answers the question, namely to find out whether or not
a particular Nifti image contains L-R info built-in to it.
Below is the output of fslhd for an image which does *not*
seem to have any L-R info built-in to it.
When I view this image in FSLview or MRIcron,
no L-R labels are put onto the image,
and FSLview displays "Coord space: unknown".
However, as can be seen from the fslhd output copied below,
it contains all kinds of spatial-looking info,
e.g. "qform_xorient Left-to-Right".
But I repeat, this is a "Coord space: unknown" image!
It may be that the answer to my question is buried somewhere
in that fslhd output, but the existence of the fslhd command
itself isn't a solution, alas, any more than the existence
of the spm_get_space command is.
Raj
--------------------------------------
XeonMacPro:ANATOMY raj$ fslhd mprage.nii
filename mprage.nii
sizeof_hdr 348
data_type INT16
dim0 3
dim1 160
dim2 256
dim3 256
dim4 1
dim5 1
dim6 1
dim7 1
vox_units mm
time_units s
datatype 4
nbyper 2
bitpix 16
pixdim0 0.0000000000
pixdim1 1.0000000000
pixdim2 0.9380000234
pixdim3 0.9380000234
pixdim4 1.0000000000
pixdim5 0.0000000000
pixdim6 0.0000000000
pixdim7 0.0000000000
vox_offset 352
cal_max 1574.0000
cal_min 0.0000
scl_slope 1.000000
scl_inter 0.000000
phase_dim 0
freq_dim 0
slice_dim 0
slice_name Unknown
slice_code 0
slice_start 0
slice_end 0
slice_duration 0.000000
time_offset 0.000000
intent Unknown
intent_code 0
intent_name
intent_p1 0.000000
intent_p2 0.000000
intent_p3 0.000000
qform_name Unknown
qform_code 0
qto_xyz:1 1.000000 0.000000 0.000000 0.000000
qto_xyz:2 0.000000 0.938000 0.000000 0.000000
qto_xyz:3 0.000000 0.000000 0.938000 0.000000
qto_xyz:4 0.000000 0.000000 0.000000 1.000000
qform_xorient Left-to-Right
qform_yorient Posterior-to-Anterior
qform_zorient Inferior-to-Superior
sform_name Unknown
sform_code 0
sto_xyz:1 0.000000 0.000000 0.000000 0.000000
sto_xyz:2 0.000000 0.000000 0.000000 0.000000
sto_xyz:3 0.000000 0.000000 0.000000 0.000000
sto_xyz:4 0.000000 0.000000 0.000000 0.000000
sform_xorient Unknown
sform_yorient Unknown
sform_zorient Unknown
file_type NIFTI-1+
file_code 1
descrip FSL4.0
aux_file
|