Could it be possible that you ran out of disk space at some point? It
looks like the conversion routine was trying to read past the end of the
file, and the file may be too small because of a disk space or quota
problem.
Best regards,
-John
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]]
On Behalf Of Jovanka Skocic
Sent: Thursday, June 28, 2007 9:32 PM
To: [log in to unmask]
Subject: [SPM] Error using DICOM import
Hello everyone,
I have been preprocessing in preparation for VBM using SPM5. I keep
getting
this error message for about 5 of my 70 brains. It is puzzling to me
because all scans were collected on the same scanner. Any thoughts or
suggestions?
Many thanks!
Jovanka
Running "DICOM Import"
Changing directory to: C:\brains\CH\034\SPM data\
??? Output argument "t" (and maybe others) not assigned during call to
"C:\Program Files\SPM\spm5\spm_dicom_headers.m (decode_csa1)".
Error in ==> spm_dicom_headers>decode_csa1 at 436
n = fread(fp,1,'uint32');
Error in ==> spm_dicom_headers>decode_csa at 423
t = decode_csa1(fp,lim);
Error in ==> spm_dicom_headers>read_dicom at 96
dat = decode_csa(fp,tag.length);
Error in ==> spm_dicom_headers>read_sq at 221
[Item,len1] = read_dicom(fp, flg, dict, tag.length);
Error in ==> spm_dicom_headers>read_dicom at 173
[dat,len1] = read_sq(fp, flg,dict,tag.length);
Error in ==> spm_dicom_headers>readdicomfile at 66
ret = read_dicom(fp, 'il',dict);
Error in ==> spm_dicom_headers at 25
tmp = readdicomfile(P(i,:),dict);
Error in ==> spm_config_dicom>convert_dicom at 129
hdr = spm_dicom_headers(strvcat(job.data));
Error in ==> spm_jobman>run_struct1 at 1501
feval(prog,val);
Error in ==> spm_jobman>run_struct1 at 1511
run_struct1(c.val{i},gui);
Error in ==> spm_jobman>run_struct1 at 1511
run_struct1(c.val{i},gui);
Error in ==> spm_jobman>run_job at 428
run_struct1(c,gui);
Error in ==> spm_jobman>serial at 2068
run_job(jobs);
Error in ==> spm_jobman at 74
serial(varargin{2:nargin});
??? Error using ==> spm_jobman('serial','','jobs.util.dicom');
Output argument "t" (and maybe others) not assigned during call to
"C:\Program Files\SPM\spm5\spm_dicom_headers.m (decode_csa1)".
??? Error while evaluating uicontrol Callback
>>
|