> Sorry for constantly bugging you. I tried your script, the main problem is
> that most of the background image (i.e. anatomical image) is covered by a
> "white sheet", and only some color is displayed after I type the command:
> spm_orthviews('addcolouredimage',1,F,[1 0 0]); No brain image can be seen.
> Any suggestions are highly appreciated.
Did you try thresholding the statistics image first? This may help. Also,
spm_orthviews.m was updated a few times since its original release. If you
haven't already done so, then this may be worth trying.
Best regards,
-John
> > Thanks again. Since I am new to SPM99, and do not know Matlab
> > programming, could you please tell me where should I add these scripts?
>
> I forgot that you were using SPM99. The script I sent was for SPM2b.
> In that case, try simply copying and pasting the following into matlab:
>
> spm_check_registration;
> F = spm_get(1,'*.img','Select foreround image');
> spm_orthviews('addcolouredimage',1,F,[1 0 0]);
>
> The first image you select is the background image.
> > > Thanks for you response. But, I still do not quite understand your
>
> answer
>
> > > for the second question. Since these con, spmT images already have been
> > > created and normalized, how can I use "Result" function again? To my
> > > understanding, if I am going to use the "Result" function again, I will
> > > create new non-normalized con and spmT images. But what I need is to
> > > overlay the normalized con and spmT images on anatomical image. Further
> > > suggestions are highly appreciated.
> >
> > OK, so it won't work in your particular case. The Results won't be able
> > to use the warped results images. If you want to work with spatially
> > normalised results, then you need to have done the stats on the
> > spatially normalised fMRI.
> >
> > Instead, you could try:
> >
> > BV = spm_vol(spm_get(1,'*.IMAGE','Select background image'));
> > FV = spm_vol(spm_get(1,'*.IMAGE','Select foreround image'));
> >
> > spm_check_registration(BV);
> > spm_orthviews('addcolouredimage',1,FV,[1 0 0]);
> >
> > The foreground image should be thresholded first. You could use ImCalc
> > for this, with an expression such as i1.*(i1>3)
--
Dr John Ashburner.
Functional Imaging Lab., 12 Queen Square, London WC1N 3BG, UK.
tel: +44 (0)20 78337491 or +44 (0)20 78373611 x4381
fax: +44 (0)20 78131420 http://www.fil.ion.ucl.ac.uk/~john
|