We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1705db5 commit d56ac92Copy full SHA for d56ac92
matRad/dicom/@matRad_DicomImporter/matRad_scanDicomImportFolder.m
@@ -207,7 +207,8 @@
207
208
% Filtration, getting and assigning z resolution to all CT files
209
FiltredLocArray = unique(LocationsArray);
210
- Thickness = rmmissing(unique(diff(FiltredLocArray)));
+ locZ = ~isnan(FiltredLocArray);
211
+ Thickness = unique(diff(FiltredLocArray(locZ)));
212
numOfFiles = numel(obj.allfiles(:,1));
213
214
if numel(Thickness) > 1
0 commit comments