Error using cat Dimensions of arrays being concatenated are not consistent- Radiomics package
2 次查看(过去 30 天)
显示 更早的评论
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)
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Biomedical Imaging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!