Hi Qasim,
two remarks (three, actually): one, spm8 can use 4D images, so what you
want to do may not even be necessary. Two, spm8 is able to rotate images
in any way you like, using either the "reorient images" field when
displaying images or by employing functionality provided by
spm_get_space. And three, these points have been brought up before on
the list: I get 30 hits for "spm8 4D" and >200 hits for "reorient
images" (and 34 hits for "search list archives" :)
Good luck,
Marko
PS: Please don't take this personal: I keep on telling this to people as
for me, the archives at
https://www.jiscmail.ac.uk/cgi-bin/webadmin?S1=spm are a treasure trove
of information.
Qasim Bukhari wrote:
> Dear all,
> I m using SPM 8 and since it cannot deal with the 4D Analyze format
> images i.e. 3D time series; I wrote my own little code to convert it in
> to many 3D images. The problem is for some reason the files that I
> generate as output are 90 degree rotated. I tried using several
> techniques in order to re-orient the output files as it were before but
> nothing seems to work. One of the things I tried was a simple MATLAB
> function imrotate. I converted the 3D image in to 2D and then rotated it
> and then back to 3D; but when I try to write this as .img and then read
> again with analyze75info, it says that the image is corrupted. I can
> image the reason that its because I have manually altered the .img file
> without any changes in to .hdr
> Does anybody has a solution to rotate Analyze7.5 images ? Can SPM be
> used to rotate images in bulk ??
>
> Best regards,
> Qasim
>
>
> Qasim Bukhari
>
> Research Assistant and Doctoral Candidate
>
> Institute for Biomedical Engineering
>
> ETH and University Zurich
>
> Wolfgang-Pauli-Strasse 27, HIT E22
>
> webpage: http://www.micro.biol.ethz.ch/people/sybukhar/index
>
>
--
____________________________________________________
PD Dr. med. Marko Wilke
Facharzt für Kinder- und Jugendmedizin
Leiter, Experimentelle Pädiatrische Neurobildgebung
Universitäts-Kinderklinik
Abt. III (Neuropädiatrie)
Marko Wilke, MD, PhD
Pediatrician
Head, Experimental Pediatric Neuroimaging
University Children's Hospital
Dept. III (Pediatric Neurology)
Hoppe-Seyler-Str. 1
D - 72076 Tübingen, Germany
Tel. +49 7071 29-83416
Fax +49 7071 29-5473
[log in to unmask]
http://www.medizin.uni-tuebingen.de/kinder/epn
____________________________________________________
This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you.
This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you.
|