Hi Tom,
Thank you for your help. I am using
http://www.sph.umich.edu/~nichols/JohnsGems.html
and P1 is a correct string, even I used gui to select P1 it had same error.
Jian
________________________________
> Date: Thu, 12 Jun 2008 09:50:10 +0100
> From: [log in to unmask]
> Subject: Re: [SPM] spm_orthviews
> To: [log in to unmask]
>
> Jian,
>
> I'm afraid I can't reproduce your error. I'm assuming that you're using SPM99 gem1 http://www.sph.umich.edu/~nichols/JohnsGems.html#Gem1 but with spm_get replaced with spm_select. I can use that Gem (with spm_select) and get the expected overlay.
>
> Have you checked that P1 is a valid string containing the full file path? (And not, for example, a cell?)
>
> -Tom
>
>
> On Thu, Jun 12, 2008 at 8:33 AM, jian chen <[log in to unmask]> wrote:
> Hi experts,
>
> I have tried to add blobs to an image and using the way suggested in John's SPM Gems. But I got following errors. My matlab is 7.0.1 and spm5 update 1048.
>
>
>
> P1 =/usr/local/spm5/templates/T1.nii,1
>
>>> h = spm_orthviews('Image', P1,[0.05 0.05 0.9 0.9]);
> ??? Error using ==> axes
>
> Invalid object handle.
>
> Error in ==> spm_orthviews>specify_image at 736
> ax = axes('Visible','off','DrawMode','fast','Parent',st.fig,'DeleteFcn',DeleteFcn,...
>
> Error in ==> spm_orthviews at 221
> H = specify_image(varargin{1});
>
> Thanks for any help.
>
> Jian
> _________________________________________________________________
> Buy, rent, invest property online today.
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Eallrealestate%2Eco%2Enz%2Freview%2Fhome%2Dbuying%2Dinfo%2Ehtml%3Frsf%3Dmsnnz%5Ftextlink&_t=26000&_r=REA_NZ_tagline&_m=EXT
>
>
>
> --
> ____________________________________________
> Thomas Nichols, PhD
> Director, Modelling & Genetics
> GlaxoSmithKline Clinical Imaging Centre
>
> Senior Research Fellow
> Oxford University FMRIB Centre
_________________________________________________________________
Get inspired - dream, research, plan and book your next holiday online with MSN NZ Travel
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Ftravel%2Emsn%2Eco%2Enz&_t=771497011&_r=MSN_NZ_travel_hmtagline&_m=EXT
|