Error using cat Dimensions of arrays being concatenated are not consistent- Radiomics package

2 Ansichten (letzte 30 Tage)
I have been trying to run Radiomics package( https://uk.mathworks.com/matlabcentral/fileexchange/51948-radiomics )on a dataset from the cancer imaging archive.( https://wiki.cancerimagingarchive.net/display/Public/HNSCC#41518000036220c66a5a436f90e4a0b54367bfae,) but it throws error as below. I am in the process of making the code work on this dataset(selected only first five image data from the archive- (HNSCC-01-0001 to HNSCC-01-0005), but as cell2mat is not editable, I am not sure how to make changes so that it works fine.
Any suggestions would be appreciated.
Thanks
READING AND PROCESSING DICOM DATA FROM TCIA WEBSITE ON 4 CORES ...
-> Creation of sData for HNSCC-01-0001_PET AC.PTscan: DONE
--> Creation of sData for HNSCC-01-0001_PET NO AC.PTscan: DONE
Error using cat Dimensions of arrays being concatenated are not consistent.
Error in cell2mat (line 118)
ct{mref{:}} = cat(cdim+1,c{mref{:},:});
Error in sDataCreation_FromDICOMpaths (line 137)
sData{2}.scan.volume.data = cell2mat(reshape(cellImages(indices),[1,1,nSlices]));
Error in readAllDICOM (line 300)
sDataCreation_FromDICOMpaths(pathSave,cellPathImages{i},cellPathRS{i},cellPathREG{i},cellPathRD{i},cellPathRP{i},nameSave{i});
Error in masterScript_HN (line 126)
readAllDICOM(fullfile(pathWORK,'DICOM'),pathData,nBatch_Read)
  2 Kommentare
M Philip
M Philip am 18 Nov. 2021
The author of this package confirmed that the code would work with any dataset with RTSTRUCT available. That inspired me to try this code on this new dataset other than the one which the author originally wrote this code for.(https://wiki.cancerimagingarchive.net/display/Public/Head-Neck-PET-CT)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by