Explicitly converting the data to int16 (short) with mri_convert (freesurfer) allows to view the image with spm-display.
But I am not sure, whether this conversion step might cause other problems. For now it seems as if a subsequent segmentation step yields very different results, compared to the same processing step on the raw data.
All the best,
- Lucas
> -----Ursprüngliche Nachricht-----
> Von: "John Ashburner" <[log in to unmask]>
> Gesendet: 28.08.08 12:18:02
> An: [log in to unmask]
> Betreff: Re: [SPM] Problems viewing bias corrected image
> I'm not sure what the cause of this problem is. If the dimensions are
> 512*512*320, then the size of the file seems to be correct (for a floating
> point image, requireing 4 bytes per voxel). Is it possible that you may have
> tried to display the bias corrected image before SPM had finished writing it?
>
> Best regards,
> -John
>
> On Thursday 28 August 2008 09:53, Lu Eggert wrote:
> > Dear List,
> >
> > I segmented a T1 image with SPM5 default settings. I can view the
> > resulting gray matter and white matter images with SPM-Display without any
> > problem. Trying the same with the bias corrected image gives the following
> > error message:
> >
> > ****************************
> >
> > mt1_huntington_example.img" can not be resampled
> > ??? Error using ==> spm_sample_vol
> > File too small.
> >
> > Error in ==> spm_orthviews>cm_pos at 1843
> >
> > set(findobj(st.vols{i}.ax{1}.cm,'UserData','v_value'),...
> >
> > Error in ==> spm_orthviews at 258cm_pos;
> >
> > Error in ==> spm_orthviews>addcontexts at 762
> > spm_orthviews('reposition',spm_orthviews('pos'));
> >
> > Error in ==> spm_orthviews at 395 addcontexts(handles);
> >
> > Error in ==> spm_check_registration at 44
> > spm_orthviews('AddContext',handle(ij));
> >
> > Error in ==> spm_config_checkreg>dispims at 45 spm_check_registration(job);
> >
> > Error in ==> spm_jobman>run_struct1 at 1474 feval(prog,val);
> >
> > Error in ==> spm_jobman>run_struct1 at 1482 run_struct1(c.val{i});
> >
> > Error in ==> spm_jobman>run_struct1 at 1482 run_struct1(c.val{i});
> >
> > Error in ==> spm_jobman>run_job at 417 run_struct1(c);
> >
> > Error in ==> spm_jobman>serial at 2039 run_job(jobs);
> >
> > Error in ==> spm_jobman at 70 serial(varargin{2:nargin});
> >
> > ??? Error while evaluating uicontrol Callback
> >
> >
> >
> > ****************************
> >
> > The dimensions of the raw, as well as of the bias corrected image is
> > 512*512*320.
> >
> > Trying "spm_slice_vol" gives:
> >
> > ??? Error using ==> spm_slice_vol
> > Incorrect usage.
> >
> > The raw file is 160MB, the bias corrected 320MB.
> >
> >
> > Thank you very much for your help!
> >
> > Lucas
> >
> >
> > _______________________________________________________________________
> > Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
> > kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
>
______________________________________________________________
"Hostage" mit Bruce Willis kostenlos anschauen!
Exklusiv für alle WEB.DE Nutzer. http://www.blockbuster.web.de
|