DPABI中DICOM数据分类出现错误

REST分类DICOM数据出错,提示ProtocolName出错,在REST_DicomSorter.m中改成SequenceName之后还是出错。之后在DPABI->Utilities->DICOM Sorter做相应修改后再运行,出现一下报错:

??? Index exceeds matrix dimensions.

Error in ==> w_DCMSort at 15
    fprintf('Read %s etc.\n', OneDICOM{1});

Error in ==> DPABI_DCMSORTER_TOOL>ComputeButton_Callback at 227
w_DCMSort(DICOMCells, HierarchyValue, AnonyFlag, OutputDir);

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> DPABI_DCMSORTER_TOOL at 42
    gui_mainfcn(gui_State, varargin{:});

Error in ==> @(hObject,eventdata)DPABI_DCMSORTER_TOOL('ComputeButton_Callback',hObject,eventdata,guidata(hObject))

 
??? Error while evaluating uicontrol Callback

>>
请老师指导
谢谢!

你好,这是因为dicom头信息里没有‘ProtocolName’这一项,你可以尝试将rest_Dicomsorter.m中的ProtocolName改为SeriesDescription。我们会在下个版本中改进此处。

您好,过来之后运行,还是有报错哦

Warning: Directory already exists.
> In rest_DicomSorter_gui>btnRun_Callback at 175
In gui_mainfcn at 96
In rest_DicomSorter_gui at 26
??? Reference to non-existent field 'SeriesDescription'.

Error in ==> rest_DicomSorter at 33
dirname=[outdir,filesep,dicominfotmp.PatientID,filesep,Indextmp(end-3:end),'_',dicominfotmp.SeriesDescription];

Error in ==> rest_DicomSorter_gui>btnRun_Callback at 180
dirlist=[rest_DicomSorter(handles.Cfg.DataDirs{i},outfile,dicomtype,handles.Cfg.DirectoryHierarchy);dirlist];

Error in ==> gui_mainfcn at 96
feval(varargin{:});

Error in ==> rest_DicomSorter_gui at 26
gui_mainfcn(gui_State, varargin{:});

??? Error while evaluating uicontrol Callback