Print

Print


Hi Andrew,

as far as the problem "images not showing up" is concerned, you should
check that
* you have permissions to read the files
* there are no special characters in folder or file names (maybe also
blanks or other whitespace)

For the update thing: It is not sufficient to place the updates in a
separate folder on your MATLAB path, you have to put the updated files
into the original places.

Hope this helps,

Volkmar

On Thu, 2007-10-25 at 15:50 +0100, Andrew Park wrote:
> Hello I emailed a couple of days having trouble with DICOM import.  I am
> trying to go on and see if I can pre-process our data - with no success. 
> Thinking that our DICOM data was somehow not being able to be read, I tried
> some of the sample data sets provided by the web site.  Starting with
> 'Display' - we tested with *.nii and it is displayed no problem - if we try
> to 'Realign' and Load the *.nii does not show up on the file selector
> window.  Using the provided *.img files does not show up when trying to load
> them to 'Realign.'  Moreover we can't display them (*.img) and get the
> following error.  I am using SPM5 with no updates (because if we use with
> updates_826 we get an error with selecting realign from the dropdown and
> with updates_958 SPM won't even start up.)  We are using MATLAB 6.5 for
> Windows 2000 (about to use 7.1) and wondering how much of this is a MATLAB
> problem, a SPM software problem, or our inability to use the right updates
> with our version of MATLAB.  If anyone could be of assitance that would be
> great!  I apologize for submitting such a rudimentary question/problem. 
> 
> Thank you.
> 
> 
> --------------------------
> Running "Display Image"
> ??? Error using ==> spm_vol (subfunc)
> C:\AndrewP\data\test\img\sM03953_0005_0007.img: Unknown file format.
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_vol.m (subfunc1)
> On line 83  ==>     v = subfunc(P(i,:));
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_vol.m (subfunc2)
> On line 71  ==> 	V = subfunc1(P);
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_vol.m
> On line 57  ==> V = subfunc2(P);
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_image.m
> On line 305  ==> if ischar(P), P = spm_vol(P); end;
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_config_display.m (dispim)
> On line 97  ==> spm_image('init',job.data{1});
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_jobman.m (run_struct1)
> On line 1474  ==>         feval(prog,val);
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_jobman.m (run_struct1)
> On line 1482  ==>             run_struct1(c.val{i});
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_jobman.m (run_struct1)
> On line 1482  ==>             run_struct1(c.val{i});
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_jobman.m (run_job)
> On line 417  ==>     run_struct1(c);
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_jobman.m (serial)
> On line 2039  ==> run_job(jobs);
> 
> Error in ==> C:\MATLAB6p5\spm5\spm5\spm_jobman.m
> On line 70  ==>             serial(varargin{2:nargin});
> 
> ??? Error while evaluating uicontrol Callback.
> 
> --------------------------