Hello,
I have been spatially normalizing and resampling images with FSL
3.1 ANALYZE images and now I dont know what to do with the new image
format. What I do is below, how do I now deal with the new image format?
I tried just getting rid of the .img extensions in what I have below but
it just resliced the images with the same resolution as the original.
thank you,
Jason.
flirt -ref /usr/local/fsl/etc/standard/avg152T1_brain -in
filtered_func_data -applyxfm -init example_func2standard.mat -out
n_filtered_func
avwcreatehd 45 54 45 1 4 4 4 3 22 32 18 2 temp
cp n_filtered_func.img temp.img
avwsplit n_filtered_func
for fn in vol*.hdr;
do flirt -ref temp -in $fn -out r$fn -applyxfm -init
../../../fsl_html/id.mat;
done
avwmerge -t resample_n_run1 rvol*.hdr
rm vol*.{img,hdr} rvol*.{img,hdr}
rm temp.*
Jason Steffener
Department of Radiology
New Jersey Medical School
Biomedical Engineering Department
New Jersey Institute of Technology
Newark, NJ USA
(973) 676-1000 x1545
http://web.njit.edu/~jrs3
|