Hi all,
Maybe someone here would know-
I came across a CT series, that include 2 series, saved as a single one.
When you scroll in axial slices, you see shoulder s to pelvis and then agin shoulders to pelvis in a later contrast.
Does anyone know if there is a tag in the DICOM header that can seperate them?
ITK-SNAP doesn’t recognize they are seperate, and also from viewing the header I could’nt find anything.
You can also try loading it in Slicer, to see if they are separated/loaded properly. Slicer uses ITK for image loading, with extra logic for better handling of DICOMs.
Imported a DICOM directory, checking for extensions
Imported a DICOM directory, checking for extensions
Geometric issues were found with 1 of the series. Please use caution.
Warning in DICOM plugin Scalar Volume when examining loadable 2: Unnamed Series: Images are not equally spaced (a difference of -0.5 vs 1 in spacings was detected). If loaded image appears distorted, enable ‘Acquisition geometry regularization’ in Application settins / DICOM / DICOMScalarVolumePlugin. Please use caution.
Loading with imageIOName: GDCM
Window/level found in DICOM tags (center=40.0, width=350.0) has been applied to volume 2: Unnamed Series
Irregular volume geometry detected (maximum error of 218 mm is above tolerance threshold of 0.001 mm). Regularization transform is not added, as the option is disabled.
You may want to post this error message on the Slicer discourse here. They should be able to tell you if they use the flag I mentioned above or something similar.
The GetCDCMSeriesFileNames method can also take a seriesID argument which may help separate the two.
This would be the standard way of getting access to a specific series when multiple series are in a directory. However, given that Slicer did not automatically detect this it likely will have some type of problem. You likely need to your data provenance such as how it has been created and modified as it may not be “valid DICOM”. Inspecting the DICOM tags to “hack” a split of the slices may work.
Another tool that I found very useful is https://github.com/pieper/dicomsort, you can use it to separate the content of your directly based on the values of defined tags.
I have had a similar problem with a series with 4 different acquistions. Separating by acquistion time seems to be the only way to split the series. I have done this using pydicom and dicom2nifti. Using this, I have separated the 4 different series which I can view independently on 3D slicer.