missing slices when loading dicom data

Operating system: windows
Slicer version:4.10.2
Expected behavior: I have a dicom folder which includes 50 dicom files, which means that this image include 50 slices or say the aixal images are 50 in total. However, after loading it, it only remains 42 slices. I don’t know why but when I try loading it by other software or viewers, it is actually 50 slices.
Actual behavior:

Probably there are slices at duplicate positions or some similar issue. Check the error log and also look at the dicom troubleshooting section of the manual. If you can share data that replicates the issue then someone may be able to help you more.

Also try the latest version, 5.6.1

I have updated to the newest version. And I have seen the error log. But I don’t know how to solve this problem. Could you help me have a look?


The message is saying that there is non-uniform sampling in the original data, so probably more than one of the original 50 slices is at the same location in space, so only one of them is used to create the 3D volume. So the volume has fewer Slices. You will need to assess whether the volume is correct and use caution when doing any geometric calculations like measuring distances or volumes.

Sure. Thank you very much for your replying. But the biggest problem now is that the volume it created missed many slices. Is there any way that I can ignore this warning and just load all the slices? Like in the figure, I miss two slices so the volume it create only contains 48 slices but before loading it shows it has 50 slices.

Since the data files themselves have questionable metadata it’s probably better for you to patch them, for example with a mall python script, so that they form the kind of coherent volume that you expect. As things are now there’s no way for slicer to treat them as a volume.