Print

Print


Hello,

I am trying to convert Dicom files acquired on the Philips Achieva scanner using the DICOM import option in SPM. However, I get the following errors when using this function:

***********************************************************

Running "DICOM Import"
   Changing directory to: C:\fmri_data\Finger_Tapping\NIFTI_format\Ana_401\
***************************************************
* The AcquisitionNumber counter does not appear   *
* to be changing from one volume to another.      *
* Another possible explanation is that the same   *
* DICOM slices are used multiple times.           *
* The conversion is having to guess how slices    *
* should be arranged into volumes.                *
*    TESTFINGER_TAPPING / 401 / 4
***************************************************
??? Error using ==> feval
Undefined command/function 'offset'.

Error in ==> file_array.subsasgn>asgn at 144
    obj = feval(fun,obj,dat);

Error in ==> file_array.subsasgn at 22
        case 'offset',     obj = asgn(obj,@offset,   subs(2:end),dat); %offset(obj,dat);

Error in ==> nifti.subsasgn>assigndat at 361
        val.offset = max(sval.offset,0);

Error in ==> nifti.subsasgn>fun at 76
            obj      = assigndat(obj,val);

Error in ==> nifti.subsasgn at 20
        obji    = fun(obji,subs,val);

Error in ==> spm_dicom_convert>write_volume at 564
N.dat  = file_array(fname,dim,dt,0,pinfo(1),pinfo(2));

Error in ==> spm_dicom_convert>convert_standard at 207
    write_volume(hdr{i},root_dir,format);

Error in ==> spm_dicom_convert at 44
    convert_standard(standard,root_dir,format);

Error in ==> spm_config_dicom>convert_dicom at 130
spm_dicom_convert(hdr,'all',root_dir,job.convopts.format);

Error in ==> spm_jobman>run_struct1 at 1540
        feval(prog,val);

Error in ==> spm_jobman>run_struct1 at 1548
            run_struct1(c.val{i});

Error in ==> spm_jobman>run_struct1 at 1548
            run_struct1(c.val{i});

Error in ==> spm_jobman>run_job at 469
    run_struct1(c);

Error in ==> spm_jobman>serial at 2128
run_job(jobs);

Error in ==> spm_jobman at 76
            serial(varargin{2:nargin});

??? Error while evaluating uicontrol Callback.

 

*********************************************************************

Is this because the dicom files are not suitable for conversion into NIFTI format?

Thanks,

Bosky