So that's a bad thing .... if there's a better way that's less likely
to break things.. I'm OK with it.
so just typing FSLINFO.. you get the following info (there's some
other stuff in the NIFTI header)....
Basically in my theoretical default NIFTI_TYPE I would want to be able
to access the x,y,z,t dims, the datatype (INT16/32/float/etc), the
pixel dimensions of the 4 axes... and also store the s_form and q_form
data that's hidden in the nifti header (although honestly I get a bit
lost following those)...
I imagine a scenario where I am storing "GUTMANS_BRAIN.nii.gz" and
GUTMANS_BRAIN_MASK.nii.gz and I want to render/overlay the two--- I
need/want to be able to first determine quickly if they have the same
basic dimensions before I even attempt to overlay them.... so I have a
little mySQL database I have used for similar things in the past, but
I am trying to XNATify this process in the long term....
Similarly I may also want to tag things (like CANONICAL_SPACE) or
something like that.. so I could say query all the patients /NIFTI
images that are say already in MNI152_2mm space or something like
that.....
data_type INT16
dim1 240
dim2 256
dim3 176
dim4 1
datatype 4
pixdim1 1.0000000000
pixdim2 1.0000000000
pixdim3 0.9999923706
pixdim4 0.0000000000
cal_max 0.0000
cal_min 0.0000
file_type NIFTI-1+
dagutman@cerebro:/drobo/SGE