Worked like a charm!
Thanks John!
Best,
Haakon
Am 30.01.2013 18:23, schrieb John Ashburner:
> There isn't actually an easy way to do this via the UI, but it can be
> done with a little bit of MATLAB. When you normalise to MNI space,
> there is a Template*2mni.mat generated, which contains a 4x4 matrix.
> All you need to do is write this 4x4 matrix into the NIfTI header of
> (a copy of) the template.
>
> M = % the matrix from the file
> P='Template_6.nii';
> Nii = nifti(P);
> Nii.mat = M;
> Nii.mat_intent = 4;
> create(Nii);
>
> Best regards,
> -John
>
> On 30 January 2013 15:47, Haakon Engen <[log in to unmask]> wrote:
>> Dear SPM'ers
>>
>> I have a feeling I'm missing something very basic, but for the life of me I am unable to figure out a way of bringing the DARTEL template itself into MNI space. I'd like to do this so I can display on the DARTEL-MNI rather than canonical MNI (mainly out of curiosity, to be hones) and also so that I can use the Template_6,1 image as grey matter mask for my analyses. Could someone point me in the right direction here?
>>
>> Very best wishes,
>> Haakon
|