Dear Thomas
>
First, SPM for Windows accepts exactly the same ANALYZE's header files as
original Matlab SPM96.
>
>I'm new to SPM for Windows with no experience with standard SPM running
under MatLab. My first hurdle is making >Analyze-style header files that
SPM for Windows will accept. I can make header files, but they won't open
properly in >SPM. For one thing, it appears that SPM won't open header
files with a datatype of 0 (unknown). Our SPECT pixel data is >unsigned
short integer. There is no choice for this in the datatype field of
ANALYZE's header file structure. Choosing 4 for >signed short enables the
file to be opened in SPM, but will this compromise any analysis?
>
I think that using data type 4 (signed short) will be OK if you set scale
factor equal to 2 and divide all voxels values by 2.
>
>Also, our voxel dimensions are not integral. The pixdim array is floating
point, so this should not be a problem. However, >when opening a file in
SPM, voxel sizes are reported as enormous numbers, not the ones in the
header. But if I lie and >make the voxels 2x2x2 mm in the header, voxel
size is properly reported as 2 mm after opening the file in SPM.
>
I am not sure why it happens. I hope that I will be able to answer your
question if you send me as attachment your ANALYZE header file.
>
Pakhomov Sergey
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|