Dear Guillaum,
Thank you very much for your answer.
The first solution works very well.
I'm more interested by the second solution. But I don't know where can I
obtained these famous variables xSPM and hReg in the reportresults batch.
It's realy what I'd like to do.
Another question, when I do a conjunction analysis. I can only obtain an
image but not recorded in SPM.mat. How can I display this image using
coordinates on 'single_subj_T1.nii' .
Thank you again for your help !
Tao
----- Original Message -----
From: "Guillaume Flandin" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, March 17, 2010 2:00 PM
Subject: Re: [SPM] displayimage
> Dear Tao,
>
> Once in the Results section, you can type something like this:
> spm_sections(xSPM,hReg,fullfile(spm('Dir'),'canonical','single_subj_T1.nii'))
> spm_orthviews('Reposition',[0 -90 20])
> If you want to automatise it further, you can use beforehand a batch
> module "SPM>Stats>Results Report" that will generate the variables xSPM
> and hReg used above.
> See the help of spm_orthviews.m for further options.
>
> Best regards,
> Guillaume.
>
>
> jiang wrote:
>> Dear SPMers,
>>
>> for the moment to display activation image on a anatomic one, I should
>> begin each time by result->overlay--> section....
>>
>> I'd like to know whether there exists some routine or code to do the
>> same thing just by selecting images and entering the coordinates ?
>>
>> Thank you very much for your help.
>>
>> Tao
>
>
> --
> Guillaume Flandin, PhD
> Wellcome Trust Centre for Neuroimaging
> University College London
> 12 Queen Square
> London WC1N 3BG
>
|