Hi Bosky,
try converting directly from 4D Raw Philips format (PAR/REC, you need
the Philips research tools to extract them from your database) to Nifti
with our matlab tool:
r2agui.sourceforge.net. It is much more convenient than pain in the
behind Dicom IMHO. dcm2nii in MRIcron from Chris Rorden does pretty much
the same thing.
There are only some issues still with DTI data after you got latest
Philips Upgrade R2, but they will soon be resolved (I hope). fMRI and
anatomicals work fine for us even with data after the upgrade, it seems.
Cheers,
Bas
Bosky schreef:
>
> 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
>
--
--------------------------------------------------
Dr. S.F.W. Neggers
Division of Brain Research
Rudolf Magnus Institute for Neuroscience
Utrecht University Medical Center
Visiting : Heidelberglaan 100, 3584 CX Utrecht
Room B.01.1.03
Mail : Huispost B.01.206, P.O. Box 85500
3508 GA Utrecht, the Netherlands
Tel : +31 (0)30 2503386
Fax : +31 (0)30 2505443
E-mail : [log in to unmask]
Web : http://www.fmri.nl/people/bas.html
--------------------------------------------------
|