It's a bit of a specialist need, so unlikely to have its own button.
This is probably the easiest way to do it...
P1 = spm_select(Inf,'image','Select first series');
P2 = spm_select(size(P1,1),'image','Select second series');
for i=1:size(P1,1)
M = spm_get_space(deblank(P1(i,:)));
spm_get_space(deblank(P2(i,:)),M);
end
Best regards,
-John
On Fri, 2010-01-29 at 15:54 +1000, Mark Daglish wrote:
> Hi,
>
> I want to try to implement in SPM8 something I used to do back in the
> old days of SPM99. I want to generate realignment parameters from a
> time-series of images and apply them to another time-series of images.
>
> Basically I have two time-series of images acquired simultaneously,
> one with a lot more anatomical information in them than the other. I
> used to use these images to generate realignment parameters (that used
> to be saved in the matching *.mat files). I would then copy the *.mat
> files across to the other images and then reslice.
>
> Now that the realignment movement parameters are stored in the header
> of the NIfTI images, I am not sure how to do this. I can try hacking
> the code, but wanted to see if this wheel had already been invented
> for SPM8.
>
> Many thanks for any help.
>
> mark
>
> Dr Mark Daglish I Senior Lecturer in Addiction Psychiatry I The
> University of Queensland School of Medicine l K Floor, Mental Health
> Centre, Royal Brisbane & Women's Hospital, Herston QLD 4029 l ( +61 7
> 3365 5142 l M +61 408 771 591 I 7 +61 7 3365 5488 l :
> [log in to unmask] I 8 www.som.edu.au I CRICOS Provider No: 00025B
>
--
John Ashburner <[log in to unmask]>
|