Hi Theresa,
this is strange... Both dict and tag should have a .group field at this
point. Are you sure you are dealing with DICOM images, and did you
unpack/install SPM5+updates properly? If your images are not DICOM, the
conversion will fail, and if something strange happened during
unpacking/installing, SPM5 may fail to load the DICOM dictionary necessary
to read your DICOM files.
Volkmar
On Fri, 9 Feb 2007, Pape, Theresa wrote:
> Dear All
>
> My previous problem with DICOM import feature of SPM 5 was that SPM5 did
> not recognize the dicom files because of the extension of my dicom files
> (or lack there ofr). SO John Ashburner suggested that I had version of
> SPM5 that assumes DICOM files have a ".dcm" extension. This was indeed
> the case and I fixed the spm_config_dicom.m file (around line 12) as
> follows:
>
>
>
> data.filter = '.*';
>
>
>
> Now, however, there is a new error that I can't seem to figure out. I
> select dicom import, then I select the files and output directory of my
> choice and this is the error that I get (any suggestions?):
>
>
>
>
>
> Running "DICOM Import"
>
> Changing directory to: C:\ES1 Week 9\temp\.\
>
> ??? Reference to non-existent field 'group'.
>
>
>
> Error in ==> spm_dicom_headers>read_tag at 259
>
> t = find(dict.group==tag.group & dict.element==tag.element);
>
>
>
> Error in ==> spm_dicom_headers>read_dicom at 82
>
> tag = read_tag(fp,flg,dict);
>
>
>
> Error in ==> spm_dicom_headers>readdicomfile at 70
>
> ret = read_dicom(fp, 'il',dict);
>
>
>
> Error in ==> spm_dicom_headers at 28
>
> tmp = readdicomfile(P(i,:),dict);
>
>
>
> Error in ==> spm_config_dicom>convert_dicom at 58
>
> hdr = spm_dicom_headers(strvcat(job.data));
>
>
>
> Error in ==> spm_jobman>run_struct1 at 1379
>
> feval(prog,val);
>
>
>
> Error in ==> spm_jobman>run_struct1 at 1387
>
> run_struct1(c.val{i});
>
>
>
> Error in ==> spm_jobman>run_struct1 at 1387
>
> run_struct1(c.val{i});
>
>
>
> Error in ==> spm_jobman>run_job at 381
>
> run_struct1(c);
>
>
>
> Error in ==> spm_jobman>serial at 1783
>
> run_job(jobs);
>
>
>
> Error in ==> spm_jobman at 66
>
> serial(varargin{2:nargin});
>
>
>
>
>
> Once again ---I appreciate any suggestions and thank you everyone.
>
>
>
> Regards,
>
> Theresa Pape
>
>
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg http://fbi.uniklinik-freiburg.de/
|