Try this...
P=spm_select(1,'image');
M=spm_get_space(P);
Best regards,
-John
On Tuesday 27 November 2007 11:44, Sangkyun Lee wrote:
> Dear SPM users
>
>
>
> I am trying to get affine matrix from Analyze format.
>
> When I get fMRI images in Analyze format, I don't have any information
> about affine matrix.
>
> However, after I had used SPM2 to realign raw images, the affine matrices
> came as (*.mat) in the same directory.
>
> How could the affine matrix with only Analyze format be computed?
>
> Could the affine matrices be used in next steps, corregisteration and
> normalization?
>
>
>
> Best Regards
>
>
>
> Sangkyun
|