I did it by rotating in air and then slice time correct then air back. I believe you must do the actual rotation of the img file.
Once you have them reoriented you can do (in matlab)
hdr = spm_vol(aFileName)
theVol = spm_read_vols(hdr)
theVol will be a 3-d mat (x,y,z)
then use the image command in matlab to look at individual slices to make sure you have them rotated correctely.
If I didn't get the macro names correctly just do a help in matlab to get the correct syntax.
Robert Welsh
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Robert C. Welsh, PhD
Research Investigator
Department of Radiology
University of Michigan
(734) - 764 - 2412 (fax)
[log in to unmask]
>>> Matthew Budde <[log in to unmask]> 01/04/01 05:04PM >>>
I have a quick question that hopefully has a quick answer.
We have acquired images in coronal slices, and in order to slice time
them, they must be rotated to have the coronal slices in the standard
axial planes. I have used AIR to do this previously and have recently had
some difficulty in the images looking the way they should.
Is reorienting the images with the Display function in SPM sufficient to
have them in the correct orientation, or must it be done with AIR, since
that produces new image files rather than .mat files?
Thanks for you help.
matt
Matthew Budde
Research Assistant
Language Comprehension Lab
University of Wisconsin-Madison
[log in to unmask]
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
|