Clear Filters
Clear Filters

Error when importing DICOM files to CERR

7 views (last 30 days)
When I import DICOM files to CERR I get the following error
Index exceeds the number of array elements (0).
Error in populate_planC_scan_field (line 498)
zValuesV = imgpos(3):sliceSpacing:imgpos(3)+sliceSpacing*double(numMultiFrameImages-1);
Error in populate_planC_field (line 83)
populate_planC_scan_field(names{i}, ...
Error in dcmdir2planC (line 53)
cellData = populate_planC_field(cellNames{i}, dcmdir_PATIENT, optS);
Error in CERRImportDCM4CHE (line 120)
planC = dcmdir2planC(combinedDcmdirS,mergeScansFlag,optS);
Error in CERR (line 133)
CERRImportDCM4CHE;
Error while evaluating UIControl Callback.

Answers (1)

Prateekshya
Prateekshya on 26 Oct 2023
Hi Laura,
The error message you encountered while importing DICOM files into CERR suggests that there is an issue with the indexing of array elements in the CERR software. It appears that the code is trying to access an element of an array that does not exist or has not been properly initialized.
To resolve thid issue, the first step is to check if the indexing is done properly. If this does not solve, then make sure that the DICOM files you are trying to import are valid and not corrupted. Also ensure that you are using the latest version of CERR. I hope this helps!

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!