Unable to load DICOM segmentation file

Operating system: Windows 10
Slicer version: 4.10.2
Expected behavior: Load segmentation DICOM images
Actual behavior: Unable to load, with error message

Hi,
I am trying to open a DICOM file with segmentation of an MRI in slicer, unsuccessfully. I have checked a couple post on similar issues before, but it seems to be a different issue. The segmentation was generated on a Siemens workstation.

I have the following toolboxes
QuantiativeReporting
SlicerRT
SlicerDevelopmentToolbox

The log is below.
Any suggestions?
Thank you.

[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - Session start time …: 2020-12-18 22:36:44
[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - Slicer version …: 4.10.2 (revision 28257) win-amd64 - installed release
[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - Operating system …: Windows / Professional / (Build 9200) - 64-bit
[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - Memory …: 8035 MB physical, 15715 MB virtual
[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - CPU …: GenuineIntel , 8 cores, 8 logical processors
[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - Developer mode enabled …: yes
[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 18.12.2020 22:36:44 [] (unknown:0) - Additional module paths …: C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/SlicerDevelopmentToolbox/lib/Slicer-4.10/qt-scripted-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/SlicerRT/lib/Slicer-4.10/cli-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/SlicerRT/lib/Slicer-4.10/qt-loadable-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/SlicerRT/lib/Slicer-4.10/qt-scripted-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/DCMQI/lib/Slicer-4.10/cli-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules
[DEBUG][Python] 18.12.2020 22:36:56 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 18.12.2020 22:36:59 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 18.12.2020 22:36:59 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 18.12.2020 22:36:59 [] (unknown:0) - Switch to module: “Welcome”
[WARNING][Qt] 18.12.2020 22:39:27 [] (unknown:0) - An OpenGL Core Profile was requested, but it is not supported on the current platform. Falling back to a non-Core profile. Note that this might cause rendering issues.
[WARNING][Qt] 18.12.2020 22:39:27 [] (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 18.12.2020 22:39:27 [] (unknown:0) - QPixmap::scaled: Pixmap is a null pixmap
[WARNING][Qt] 18.12.2020 22:39:27 [] (unknown:0) - Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:1337
[DEBUG][Qt] 18.12.2020 22:41:51 [] (unknown:0) - Switch to module: “DICOM”
[DEBUG][Qt] 18.12.2020 22:41:54 [] (unknown:0) - Deleting 1 patients
[DEBUG][Qt] 18.12.2020 22:41:54 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.3.12.2.1107.5.4.5.164247.30000020072022243746900000203
[DEBUG][Qt] 18.12.2020 22:41:54 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.3.12.2.1107.5.4.5.164247.30000020072022243746900000397
[CRITICAL][Stream] 18.12.2020 22:42:09 [] (unknown:0) - DICOM dataset contains some encoding that we never thought we would see(ISO 2022 IR 100). Using default encoding.
[CRITICAL][Stream] 18.12.2020 22:42:09 [] (unknown:0) - DICOM dataset contains some encoding that we never thought we would see(ISO 2022 IR 100). Using default encoding.
[CRITICAL][Stream] 18.12.2020 22:42:09 [] (unknown:0) - DICOM dataset contains some encoding that we never thought we would see(ISO 2022 IR 100). Using default encoding.
[CRITICAL][Stream] 18.12.2020 22:42:09 [] (unknown:0) - DICOM dataset contains some encoding that we never thought we would see(ISO 2022 IR 100). Using default encoding.
[DEBUG][Qt] 18.12.2020 22:42:09 [] (unknown:0) - New patient inserted: 109
[DEBUG][Qt] 18.12.2020 22:42:09 [] (unknown:0) - New patient inserted as : 109
[DEBUG][Qt] 18.12.2020 22:42:09 [] (unknown:0) - Need to insert new study: “1.3.12.2.1107.5.4.5.164247.30000020072022243746900000202”
[CRITICAL][Stream] 18.12.2020 22:42:09 [] (unknown:0) - DICOM dataset contains some encoding that we never thought we would see(ISO 2022 IR 100). Using default encoding.
[CRITICAL][Stream] 18.12.2020 22:42:09 [] (unknown:0) - DICOM dataset contains some encoding that we never thought we would see(ISO 2022 IR 100). Using default encoding.
[CRITICAL][Stream] 18.12.2020 22:42:09 [] (unknown:0) - DICOM dataset contains some encoding that we never thought we would see(ISO 2022 IR 100). Using default encoding.
[DEBUG][Qt] 18.12.2020 22:42:09 [] (unknown:0) - Study Added
[DEBUG][Qt] 18.12.2020 22:42:09 [] (unknown:0) - Need to insert new series: “1.3.12.2.1107.5.4.5.164247.30000020072022243746900000397”
[DEBUG][Qt] 18.12.2020 22:42:09 [] (unknown:0) - Series Added
[DEBUG][Qt] 18.12.2020 22:42:09 [] (unknown:0) - “DICOM indexer has successfully processed 1 files [0.19s]”
[INFO][Python] 18.12.2020 22:42:11 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py:471) - Imported a DICOM directory, checking for extensions
[INFO][Stream] 18.12.2020 22:42:11 [] (unknown:0) - Imported a DICOM directory, checking for extensions
[DEBUG][Python] 18.12.2020 22:42:37 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMParametricMapPluginClass : Caching files
[DEBUG][Python] 18.12.2020 22:42:37 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMParametricMapPluginClass : Caching files
[DEBUG][Python] 18.12.2020 22:42:44 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMParametricMapPluginClass : Using cached files
[DEBUG][Python] 18.12.2020 22:42:44 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMParametricMapPluginClass : Using cached files
[DEBUG][Python] 18.12.2020 22:42:44 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:455) - MultiVolumeImportPlugin::examine
[DEBUG][Python] 18.12.2020 22:42:47 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:495) - DICOMMultiVolumePlugin found 1 multivolumes!
[DEBUG][Python] 18.12.2020 22:42:48 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:455) - MultiVolumeImportPlugin::examine
[DEBUG][Python] 18.12.2020 22:43:24 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:495) - DICOMMultiVolumePlugin found 1 multivolumes!
[DEBUG][Python] 18.12.2020 22:43:55 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:165) - MultiVolumeImportPlugin:examineMultiseries
[DEBUG][Python] 18.12.2020 22:44:07 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:170) - DICOMMultiVolumePlugin found 0 multivolumes!
[INFO][Stream] 18.12.2020 22:44:12 [] (unknown:0) - reg inside examine
[DEBUG][Python] 18.12.2020 22:44:13 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMSegmentationPluginClass : Caching files
[DEBUG][Python] 18.12.2020 22:44:13 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules/DICOMSegmentationPlugin.py:60) - DICOM SEG modality found
[DEBUG][Python] 18.12.2020 22:44:13 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules/DICOMSegmentationPlugin.py:60) - DICOM SEG modality found
[DEBUG][Python] 18.12.2020 22:44:13 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMSegmentationPluginClass : Caching files
[DEBUG][Python] 18.12.2020 22:44:20 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMTID1500PluginClass : Caching files
[DEBUG][Python] 18.12.2020 22:44:20 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMTID1500PluginClass : Caching files
[DEBUG][Python] 18.12.2020 22:44:20 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMTID1500PluginClass : Using cached files
[DEBUG][Python] 18.12.2020 22:44:20 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMTID1500PluginClass : Using cached files
[DEBUG][Python] 18.12.2020 22:44:44 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules/DICOMSegmentationPlugin.py:81) - DICOM SEG load()
[DEBUG][Python] 18.12.2020 22:44:44 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules/DICOMSegmentationPlugin.py:84) - in load(): uid = 1.3.12.2.1107.5.4.5.164247.30000020072022243746900000399
[ERROR][Python] 18.12.2020 22:44:45 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules/DICOMSegmentationPlugin.py:117) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[DEBUG][Python] 18.12.2020 22:44:45 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:34) - Cleaning up temporarily created directory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-18_224444\1.3.12.2.1107.5.4.5.164247.30000020072022243746900000399
[DEBUG][Qt] 18.12.2020 22:44:44 [] (unknown:0) - Found CommandLine Module, target is C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/DCMQI/lib/Slicer-4.10/cli-modules/segimage2itkimage.exe
[DEBUG][Qt] 18.12.2020 22:44:44 [] (unknown:0) - ModuleType: CommandLineModule
[DEBUG][Qt] 18.12.2020 22:44:44 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) command line:

C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/DCMQI/lib/Slicer-4.10/cli-modules/segimage2itkimage.exe --inputDICOM D:/MyData/JikeiTumorSegmentation/Test/CASE3_MRI_PRE_1.SEG.0016.0002.2020_20200730_103640831_003331.IMA --outputDirectory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-18_224444\1.3.12.2.1107.5.4.5.164247.30000020072022243746900000399 --outputType nrrd
[DEBUG][Qt] 18.12.2020 22:44:45 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) standard output:

dcmqi repository URL: git://github.com/QIICR/dcmqi.git revision: a33fa9e tag: v1.2.2
[ERROR][VTK] 18.12.2020 22:44:45 [vtkSlicerCLIModuleLogic (000002595ED33990)] (D:\D\S\Slicer-4102\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2056) - Convert DICOM Segmentation Image into ITK image(s) standard error:

W: CodingSchemeDesignator (0008,0102) absent in CodeSequenceMacro (type 1)
W: CodeMeaning (0008,0104) absent in CodeSequenceMacro (type 1)
W: FrameOfReferenceUID (0020,0052) absent in FrameOfReferenceModule (type 1)
W: DeviceSerialNumber (0018,1000) absent in EnhancedGeneralEquipmentModule (type 1)
Plane Orientation (Patient) is missing, cannot parse input
ERROR: Failed to get image directions!
Fatal error encountered.
[ERROR][VTK] 18.12.2020 22:44:45 [vtkSlicerCLIModuleLogic (000002595ED33990)] (D:\D\S\Slicer-4102\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2087) - Convert DICOM Segmentation Image into ITK image(s) completed with errors
[CRITICAL][Stream] 18.12.2020 22:44:45 [] (unknown:0) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[DEBUG][Python] 18.12.2020 22:44:45 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules/DICOMSegmentationPlugin.py:81) - DICOM SEG load()
[DEBUG][Python] 18.12.2020 22:44:45 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules/DICOMSegmentationPlugin.py:84) - in load(): uid = 1.3.12.2.1107.5.4.5.164247.30000020072022243746900000398
[ERROR][Python] 18.12.2020 22:44:45 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/QuantitativeReporting/lib/Slicer-4.10/qt-scripted-modules/DICOMSegmentationPlugin.py:117) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[DEBUG][Python] 18.12.2020 22:44:45 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-28257\QuantitativeReporting\lib\Slicer-4.10\qt-scripted-modules\base\DICOMPluginBase.py:34) - Cleaning up temporarily created directory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-18_224444\1.3.12.2.1107.5.4.5.164247.30000020072022243746900000398
[DEBUG][Qt] 18.12.2020 22:44:45 [] (unknown:0) - Found CommandLine Module, target is C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/DCMQI/lib/Slicer-4.10/cli-modules/segimage2itkimage.exe
[DEBUG][Qt] 18.12.2020 22:44:45 [] (unknown:0) - ModuleType: CommandLineModule
[DEBUG][Qt] 18.12.2020 22:44:45 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) command line:

C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-28257/DCMQI/lib/Slicer-4.10/cli-modules/segimage2itkimage.exe --outputDirectory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-18_224444\1.3.12.2.1107.5.4.5.164247.30000020072022243746900000398 --outputType nrrd
[DEBUG][Qt] 18.12.2020 22:44:45 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) standard output:

dcmqi repository URL: git://github.com/QIICR/dcmqi.git revision: a33fa9e tag: v1.2.2
[ERROR][VTK] 18.12.2020 22:44:45 [vtkSlicerCLIModuleLogic (000002595ED33990)] (D:\D\S\Slicer-4102\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2056) - Convert DICOM Segmentation Image into ITK image(s) standard error:

Error: Input DICOM file must be specified!
[ERROR][VTK] 18.12.2020 22:44:45 [vtkSlicerCLIModuleLogic (000002595ED33990)] (D:\D\S\Slicer-4102\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2087) - Convert DICOM Segmentation Image into ITK image(s) completed with errors
[CRITICAL][Stream] 18.12.2020 22:44:45 [] (unknown:0) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[INFO][Python] 18.12.2020 22:44:45 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/DICOMScalarVolumePlugin.py:303) - Loading with imageIOName: GDCM
[INFO][Python] 18.12.2020 22:44:52 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/DICOMScalarVolumePlugin.py:375) - Window/level found in DICOM tags (center=33.0, width=88.0) has been applied to volume Unnamed Series
[WARNING][Python] 18.12.2020 22:44:53 [Python] (C:/Program Files/Slicer 4.10.2/bin/…/lib/Slicer-4.10/qt-scripted-modules/DICOMScalarVolumePlugin.py:697) - Irregular volume geometry detected (maximum error of 0.00133695 mm is above tolerance threshold of 0.001 mm). Adding acquisition transform to regularize geometry.
[WARNING][Python] 18.12.2020 22:44:53 [Python] (C:\Program Files\Slicer 4.10.2\bin\Python\slicer\util.py:1110) -
Could not load: Unknown as a DICOMSegmentation
Could not load: Unknown as a DICOMSegmentation

Please try with laatest Slicer Preview Release. If it does not work then enable detailed logging in DICOM section of application settings and post the log here.

Thank you for the quick reply. I am getting a similar error with the latest Preview Release 4.13.0 2020-12-17. It seems to be a similar error message as before.
Thank you

Here is the log

[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Session start time …: 2020-12-19 00:13:57
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Slicer version …: 4.13.0-2020-12-17 (revision 29531 / 0b5169e) win-amd64 - installed release
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Operating system …: Windows / Professional / (Build 17134, Code Page 932) - 64-bit
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Memory …: 8035 MB physical, 15715 MB virtual
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - CPU …: GenuineIntel , 8 cores, 8 logical processors
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Qt configuration …: version 5.15.1, with SSL, requested OpenGL 3.2 (compatibility profile)
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Developer mode enabled …: yes
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Application path …: C:/Users/mohaas01/AppData/Local/NA-MIC/Slicer 4.13.0-2020-12-17/bin
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Additional module paths …: C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/SlicerDevelopmentToolbox/lib/Slicer-4.13/qt-scripted-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/SlicerRT/lib/Slicer-4.13/cli-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/SlicerRT/lib/Slicer-4.13/qt-loadable-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/SlicerRT/lib/Slicer-4.13/qt-scripted-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/DCMQI/lib/Slicer-4.13/cli-modules
[DEBUG][Python] 19.12.2020 00:14:00 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Python\Lib\site-packages\pydicom\datadict.py:432) - Reversing DICOM dictionary so can look up tag from a keyword…
[DEBUG][Python] 19.12.2020 00:14:02 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 19.12.2020 00:14:03 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 19.12.2020 00:14:03 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 19.12.2020 00:14:04 [] (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 19.12.2020 00:14:23 [] (unknown:0) - Switch to module: “DICOM”
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMParametricMapPluginClass : Caching files
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMParametricMapPluginClass : Using cached files
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMSegmentationPluginClass : Caching files
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:62) - DICOM SEG modality found
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:62) - DICOM SEG modality found
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMTID1500PluginClass : Caching files
[ERROR][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\SlicerDevelopmentToolbox\lib\Slicer-4.13\qt-scripted-modules\SlicerDevelopmentToolboxUtils\mixins.py:729) - ‘FileDataset’ object has no attribute ‘SeriesDescription’
[ERROR][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\SlicerDevelopmentToolbox\lib\Slicer-4.13\qt-scripted-modules\SlicerDevelopmentToolboxUtils\mixins.py:729) - ‘FileDataset’ object has no attribute ‘SeriesDescription’
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMTID1500PluginClass : Using cached files
[CRITICAL][Stream] 19.12.2020 00:14:31 [] (unknown:0) - ‘FileDataset’ object has no attribute ‘SeriesDescription’
[CRITICAL][Stream] 19.12.2020 00:14:31 [] (unknown:0) - ‘FileDataset’ object has no attribute ‘SeriesDescription’
[DEBUG][Python] 19.12.2020 00:14:42 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:83) - DICOM SEG load()
[DEBUG][Python] 19.12.2020 00:14:42 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:86) - in load(): uid = 1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581
[ERROR][Python] 19.12.2020 00:14:44 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:119) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[DEBUG][Python] 19.12.2020 00:14:44 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:34) - Cleaning up temporarily created directory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-19_001442\1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581
[WARNING][Python] 19.12.2020 00:14:44 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\bin\Python\slicer\util.py:1988) - Could not load: Unknown as a DICOMSegmentation
[DEBUG][Qt] 19.12.2020 00:14:42 [] (unknown:0) - Found CommandLine Module, target is C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/DCMQI/lib/Slicer-4.13/cli-modules/segimage2itkimage.exe
[DEBUG][Qt] 19.12.2020 00:14:42 [] (unknown:0) - ModuleType: CommandLineModule
[DEBUG][Qt] 19.12.2020 00:14:42 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) command line:

C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/DCMQI/lib/Slicer-4.13/cli-modules/segimage2itkimage.exe --inputDICOM D:/MyData/JikeiTumorSegmentation/DICOM-Original/OR5/MR1/Case3_MRI_pre/CASE3_MRI_PRE_1.SEG.0016.0001.2020_20200803_181121804_003330.IMA --outputDirectory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-19_001442\1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581 --outputType nrrd
[DEBUG][Qt] 19.12.2020 00:14:44 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) standard output:

dcmqi repository URL: git://github.com/QIICR/dcmqi.git revision: 99192b7 tag: latest
[ERROR][VTK] 19.12.2020 00:14:44 [vtkSlicerCLIModuleLogic (0000020C1DF76560)] (D:\D\P\Slicer-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2017) - Convert DICOM Segmentation Image into ITK image(s) standard error:

W: CodingSchemeDesignator (0008,0102) absent in CodeSequenceMacro (type 1)
W: CodeMeaning (0008,0104) absent in CodeSequenceMacro (type 1)
W: FrameOfReferenceUID (0020,0052) absent in FrameOfReferenceModule (type 1)
W: DeviceSerialNumber (0018,1000) absent in EnhancedGeneralEquipmentModule (type 1)
W: SegmentLabel (0062,0005) empty in SegmentDescriptionMacro (type 1)
Plane Orientation (Patient) is missing, cannot parse input
ERROR: Failed to get image directions!
Fatal error encountered.
[ERROR][VTK] 19.12.2020 00:14:44 [vtkSlicerCLIModuleLogic (0000020C1DF76560)] (D:\D\P\Slicer-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2048) - Convert DICOM Segmentation Image into ITK image(s) completed with errors
[CRITICAL][Stream] 19.12.2020 00:14:44 [] (unknown:0) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[CRITICAL][Stream] 19.12.2020 00:14:44 [] (unknown:0) - Could not load: Unknown as a DICOMSegmentation

With Detailed logging:

[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Session start time …: 2020-12-19 00:13:57
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Slicer version …: 4.13.0-2020-12-17 (revision 29531 / 0b5169e) win-amd64 - installed release
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Operating system …: Windows / Professional / (Build 17134, Code Page 932) - 64-bit
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Memory …: 8035 MB physical, 15715 MB virtual
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - CPU …: GenuineIntel , 8 cores, 8 logical processors
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Qt configuration …: version 5.15.1, with SSL, requested OpenGL 3.2 (compatibility profile)
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Developer mode enabled …: yes
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Application path …: C:/Users/mohaas01/AppData/Local/NA-MIC/Slicer 4.13.0-2020-12-17/bin
[DEBUG][Qt] 19.12.2020 00:13:57 [] (unknown:0) - Additional module paths …: C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/SlicerDevelopmentToolbox/lib/Slicer-4.13/qt-scripted-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/SlicerRT/lib/Slicer-4.13/cli-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/SlicerRT/lib/Slicer-4.13/qt-loadable-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/SlicerRT/lib/Slicer-4.13/qt-scripted-modules, C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/DCMQI/lib/Slicer-4.13/cli-modules
[DEBUG][Python] 19.12.2020 00:14:00 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Python\Lib\site-packages\pydicom\datadict.py:432) - Reversing DICOM dictionary so can look up tag from a keyword…
[DEBUG][Python] 19.12.2020 00:14:02 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 19.12.2020 00:14:03 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 19.12.2020 00:14:03 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 19.12.2020 00:14:04 [] (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 19.12.2020 00:14:23 [] (unknown:0) - Switch to module: “DICOM”
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMParametricMapPluginClass : Caching files
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMParametricMapPluginClass : Using cached files
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMSegmentationPluginClass : Caching files
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:62) - DICOM SEG modality found
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:62) - DICOM SEG modality found
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:52) - DICOMTID1500PluginClass : Caching files
[ERROR][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\SlicerDevelopmentToolbox\lib\Slicer-4.13\qt-scripted-modules\SlicerDevelopmentToolboxUtils\mixins.py:729) - ‘FileDataset’ object has no attribute ‘SeriesDescription’
[ERROR][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\SlicerDevelopmentToolbox\lib\Slicer-4.13\qt-scripted-modules\SlicerDevelopmentToolboxUtils\mixins.py:729) - ‘FileDataset’ object has no attribute ‘SeriesDescription’
[DEBUG][Python] 19.12.2020 00:14:31 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMTID1500PluginClass : Using cached files
[CRITICAL][Stream] 19.12.2020 00:14:31 [] (unknown:0) - ‘FileDataset’ object has no attribute ‘SeriesDescription’
[CRITICAL][Stream] 19.12.2020 00:14:31 [] (unknown:0) - ‘FileDataset’ object has no attribute ‘SeriesDescription’
[DEBUG][Python] 19.12.2020 00:14:42 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:83) - DICOM SEG load()
[DEBUG][Python] 19.12.2020 00:14:42 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:86) - in load(): uid = 1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581
[ERROR][Python] 19.12.2020 00:14:44 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:119) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[DEBUG][Python] 19.12.2020 00:14:44 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:34) - Cleaning up temporarily created directory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-19_001442\1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581
[WARNING][Python] 19.12.2020 00:14:44 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\bin\Python\slicer\util.py:1988) - Could not load: Unknown as a DICOMSegmentation
[DEBUG][Qt] 19.12.2020 00:14:42 [] (unknown:0) - Found CommandLine Module, target is C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/DCMQI/lib/Slicer-4.13/cli-modules/segimage2itkimage.exe
[DEBUG][Qt] 19.12.2020 00:14:42 [] (unknown:0) - ModuleType: CommandLineModule
[DEBUG][Qt] 19.12.2020 00:14:42 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) command line:

C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/DCMQI/lib/Slicer-4.13/cli-modules/segimage2itkimage.exe --inputDICOM D:/MyData/JikeiTumorSegmentation/DICOM-Original/OR5/MR1/Case3_MRI_pre/CASE3_MRI_PRE_1.SEG.0016.0001.2020_20200803_181121804_003330.IMA --outputDirectory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-19_001442\1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581 --outputType nrrd
[DEBUG][Qt] 19.12.2020 00:14:44 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) standard output:

dcmqi repository URL: git://github.com/QIICR/dcmqi.git revision: 99192b7 tag: latest
[ERROR][VTK] 19.12.2020 00:14:44 [vtkSlicerCLIModuleLogic (0000020C1DF76560)] (D:\D\P\Slicer-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2017) - Convert DICOM Segmentation Image into ITK image(s) standard error:

W: CodingSchemeDesignator (0008,0102) absent in CodeSequenceMacro (type 1)
W: CodeMeaning (0008,0104) absent in CodeSequenceMacro (type 1)
W: FrameOfReferenceUID (0020,0052) absent in FrameOfReferenceModule (type 1)
W: DeviceSerialNumber (0018,1000) absent in EnhancedGeneralEquipmentModule (type 1)
W: SegmentLabel (0062,0005) empty in SegmentDescriptionMacro (type 1)
Plane Orientation (Patient) is missing, cannot parse input
ERROR: Failed to get image directions!
Fatal error encountered.
[ERROR][VTK] 19.12.2020 00:14:44 [vtkSlicerCLIModuleLogic (0000020C1DF76560)] (D:\D\P\Slicer-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2048) - Convert DICOM Segmentation Image into ITK image(s) completed with errors
[CRITICAL][Stream] 19.12.2020 00:14:44 [] (unknown:0) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[CRITICAL][Stream] 19.12.2020 00:14:44 [] (unknown:0) - Could not load: Unknown as a DICOMSegmentation
[DEBUG][Qt] 19.12.2020 00:21:13 [] (unknown:0) - Switch to module: “DICOMSegmentationPlugin”
[DEBUG][Qt] 19.12.2020 00:21:13 [] (unknown:0) - Warning, there is no UI for the module “DICOMSegmentationPlugin”
[DEBUG][Qt] 19.12.2020 00:21:29 [] (unknown:0) - Switch to module: “Data”
[DEBUG][Qt] 19.12.2020 00:21:42 [] (unknown:0) - Switch to module: “DICOMSegmentationPlugin”
[DEBUG][Qt] 19.12.2020 00:21:42 [] (unknown:0) - Warning, there is no UI for the module “DICOMSegmentationPlugin”
[DEBUG][Qt] 19.12.2020 00:21:50 [] (unknown:0) - Switch to module: “Data”
[DEBUG][Qt] 19.12.2020 00:24:50 [] (unknown:0) - Switch to module: “DICOM”
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DICOMImageSequencePlugin
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DICOMParametricMapPlugin
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMParametricMapPluginClass : Using cached files
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMParametricMapPluginClass : Using cached files
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DICOMScalarVolumePlugin
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DICOMSegmentationPlugin
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMSegmentationPluginClass : Using cached files
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DICOMSlicerDataBundlePlugin
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DICOMTID1500Plugin
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMTID1500PluginClass : Using cached files
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:49) - DICOMTID1500PluginClass : Using cached files
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DICOMVolumeSequencePlugin
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DicomRtImportExportPlugin
[DEBUG][Python] 19.12.2020 00:24:54 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using DicomSroImportExportPlugin
[DEBUG][Python] 19.12.2020 00:24:55 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\lib\Slicer-4.13\qt-scripted-modules\DICOMLib\DICOMUtils.py:673) - Examine for import using MultiVolumeImporterPlugin
[DEBUG][Python] 19.12.2020 00:24:55 [Python] (C:/Users/mohaas01/AppData/Local/NA-MIC/Slicer 4.13.0-2020-12-17/bin/…/lib/Slicer-4.13/qt-scripted-modules/MultiVolumeImporterPlugin.py:472) - MultiVolumeImporterPlugin: examine
[DEBUG][Python] 19.12.2020 00:24:55 [Python] (C:/Users/mohaas01/AppData/Local/NA-MIC/Slicer 4.13.0-2020-12-17/bin/…/lib/Slicer-4.13/qt-scripted-modules/MultiVolumeImporterPlugin.py:513) - MultiVolumeImporterPlugin: found 1 multivolumes!
[DEBUG][Python] 19.12.2020 00:24:55 [Python] (C:/Users/mohaas01/AppData/Local/NA-MIC/Slicer 4.13.0-2020-12-17/bin/…/lib/Slicer-4.13/qt-scripted-modules/MultiVolumeImporterPlugin.py:181) - MultiVolumeImporterPlugin: examineMultiseries
[DEBUG][Python] 19.12.2020 00:24:55 [Python] (C:/Users/mohaas01/AppData/Local/NA-MIC/Slicer 4.13.0-2020-12-17/bin/…/lib/Slicer-4.13/qt-scripted-modules/MultiVolumeImporterPlugin.py:188) - MultiVolumeImporterPlugin: found 0 multivolumes!
[DEBUG][Python] 19.12.2020 00:24:55 [Python] (C:/Users/mohaas01/AppData/Local/NA-MIC/Slicer 4.13.0-2020-12-17/bin/…/lib/Slicer-4.13/qt-scripted-modules/MultiVolumeImporterPlugin.py:169) - MultiVolumeImporterPlugin: found 0 loadables in 2 files in 0.0sec.
[DEBUG][Python] 19.12.2020 00:24:59 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:83) - DICOM SEG load()
[DEBUG][Python] 19.12.2020 00:24:59 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:86) - in load(): uid = 1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581
[ERROR][Python] 19.12.2020 00:25:00 [Python] (C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/QuantitativeReporting/lib/Slicer-4.13/qt-scripted-modules/DICOMSegmentationPlugin.py:119) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[DEBUG][Python] 19.12.2020 00:25:00 [Python] (C:\Users\mohaas01\AppData\Roaming\NA-MIC\Extensions-29531\QuantitativeReporting\lib\Slicer-4.13\qt-scripted-modules\base\DICOMPluginBase.py:34) - Cleaning up temporarily created directory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-19_001442\1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581
[WARNING][Python] 19.12.2020 00:25:00 [Python] (C:\Users\mohaas01\AppData\Local\NA-MIC\Slicer 4.13.0-2020-12-17\bin\Python\slicer\util.py:1988) - Could not load: Unknown as a DICOMSegmentation
[DEBUG][Qt] 19.12.2020 00:24:59 [] (unknown:0) - Found CommandLine Module, target is C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/DCMQI/lib/Slicer-4.13/cli-modules/segimage2itkimage.exe
[DEBUG][Qt] 19.12.2020 00:24:59 [] (unknown:0) - ModuleType: CommandLineModule
[DEBUG][Qt] 19.12.2020 00:24:59 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) command line:

C:/Users/mohaas01/AppData/Roaming/NA-MIC/Extensions-29531/DCMQI/lib/Slicer-4.13/cli-modules/segimage2itkimage.exe --inputDICOM D:/MyData/JikeiTumorSegmentation/DICOM-Original/OR5/MR1/Case3_MRI_pre/CASE3_MRI_PRE_1.SEG.0016.0001.2020_20200803_181121804_003330.IMA --outputDirectory C:/Users/mohaas01/AppData/Local/Temp/Slicer\QIICR\SEG\2020-12-19_001442\1.3.12.2.1107.5.4.5.164007.30000020080308240198200000581 --outputType nrrd
[DEBUG][Qt] 19.12.2020 00:25:00 [] (unknown:0) - Convert DICOM Segmentation Image into ITK image(s) standard output:

dcmqi repository URL: git://github.com/QIICR/dcmqi.git revision: 99192b7 tag: latest
[ERROR][VTK] 19.12.2020 00:25:00 [vtkSlicerCLIModuleLogic (0000020C1DF76560)] (D:\D\P\Slicer-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2017) - Convert DICOM Segmentation Image into ITK image(s) standard error:

W: CodingSchemeDesignator (0008,0102) absent in CodeSequenceMacro (type 1)
W: CodeMeaning (0008,0104) absent in CodeSequenceMacro (type 1)
W: FrameOfReferenceUID (0020,0052) absent in FrameOfReferenceModule (type 1)
W: DeviceSerialNumber (0018,1000) absent in EnhancedGeneralEquipmentModule (type 1)
W: SegmentLabel (0062,0005) empty in SegmentDescriptionMacro (type 1)
Plane Orientation (Patient) is missing, cannot parse input
ERROR: Failed to get image directions!
Fatal error encountered.
[ERROR][VTK] 19.12.2020 00:25:00 [vtkSlicerCLIModuleLogic (0000020C1DF76560)] (D:\D\P\Slicer-0\Base\QTCLI\vtkSlicerCLIModuleLogic.cxx:2048) - Convert DICOM Segmentation Image into ITK image(s) completed with errors
[CRITICAL][Stream] 19.12.2020 00:25:00 [] (unknown:0) - SEG2NRRD did not complete successfully, unable to load DICOM Segmentation
[CRITICAL][Stream] 19.12.2020 00:25:00 [] (unknown:0) - Could not load: Unknown as a DICOMSegmentation

Thank you for the logs. The relevant part of this:

W: CodingSchemeDesignator (0008,0102) absent in CodeSequenceMacro (type 1)
W: CodeMeaning (0008,0104) absent in CodeSequenceMacro (type 1)
W: FrameOfReferenceUID (0020,0052) absent in FrameOfReferenceModule (type 1)
W: DeviceSerialNumber (0018,1000) absent in EnhancedGeneralEquipmentModule (type 1)
W: SegmentLabel (0062,0005) empty in SegmentDescriptionMacro (type 1)
Plane Orientation (Patient) is missing, cannot parse input
ERROR: Failed to get image directions!

The segmentation file has several errors. Several Type 1 (required) DICOM fields are missing, but the reader is quite robust so it could recover from most of these. However, the last straw is that even Plane Orientation (Patient) tag is missing.

What software was used to create this segmentation?

SEG modality could be “Surface Segmentation Storage” too, mesh, some Siemens workstations can export meshes in that SOP Class directly. Just guessing, of course, i didn’t find SOP Class in debug output. If it is mesh - 0x0008, 0x0016 tag has a value “1.2.840.10008.5.1.4.1.1.66.5”.

P.S. If it is such mesh file, may be that script can work.

1 Like

Thanks for reporting @issakomi - Slicer’s vtk should behave the same as the debian version and I’m curious why it doesn’t.

Is it possible for you to provide a sample dataset that illustrates this issue?

Thanks, everyone for your replies.
The issue is different from what Issakomi described. The file I have is not a surface segmentation storage. The file posted by Issakomi is not relevant to my issue.

The segmentation I have was generated by “syngo 3D Segmentation” tool on the Siemens workstation. I see that it is missing Plane Orientation (Patient) tag. I believe it is referring to the original image (non-segmented) DICOM file where this information is. Perhaps that is how this segmentation file works. I can re-load everything back from DICOM onto the Siemens workstation successfully. So the files are not corrupted.

While I am still having issues, a good sign is that I was able to read some segmentation files with pynrrd, convert into nrrd, then glue header info from the original (non-segmented) image nrrd onto the segmented image nrrd generated by pynrrd. This worked for some images (especially with square matrix size, like 512 x 512), but not others. Specifically, the one below (segmentation of MR images) are still not possible to load even with this work around.

I would appreciate any ideas, even if it involves manual conversion with another tool before loading into slicer as nrrd.

Here is a link to a sample file HERE.

1 Like

The file does not seem to be DICOM compliant. Siemens software developers made a questionable decision to accept such images in their DICOM reader. Or maybe they thought that this field is optional (and that’s why they missed it in their DICOM exporter, too).

@David_Clunie Do you have any comment on this? Are you aware of this potential non-compliance of Siemens "syngo 3D Segmentation” tool?

2 Likes

@fedorov also has some experience with this issue.

Played again with the puzzle and got better result. MHA file
Having referenced images is possible to do it clean (dimensions,origin, orientation, spacing, etc.)

#include <fstream>
#include <vector>
#include <cstring>
#include <cstdlib>
#include <cstdint>
#include <iostream>

int main(int, char**)
{
  char * data1 = new char[(284*320*192)/8];
  // input is raw binary data from 0x7fe0, 0x0010
  std::ifstream file("binary.bin", std::ios::in | std::ios::binary);
  file.read(data1, (284*320*192)/8);
  file.close();
  unsigned char * data2 = new unsigned char[284*320*192];
  size_t count_data2 = 0;
  for (size_t x = 0; x < (284*320*192)/8; x++)
  {
    const unsigned char c = data1[x];
    data2[count_data2 + 0] = (c & 0x01) ? 255 : 0;
    data2[count_data2 + 1] = (c & 0x02) ? 255 : 0;
    data2[count_data2 + 2] = (c & 0x04) ? 255 : 0;
    data2[count_data2 + 3] = (c & 0x08) ? 255 : 0;
    data2[count_data2 + 4] = (c & 0x10) ? 255 : 0;
    data2[count_data2 + 5] = (c & 0x20) ? 255 : 0;
    data2[count_data2 + 6] = (c & 0x40) ? 255 : 0;
    data2[count_data2 + 7] = (c & 0x80) ? 255 : 0;
    count_data2 += 8;
  }
  std::cout << "count_data2=" << count_data2 << std::endl;
  std::ofstream out_file("out_data.raw", std::ios::out | std::ios::binary);
#if 0
  out_file.write((char*)data2, 284*320*192);
#else
  const size_t out_x = 288;
  const size_t out_y = 320;
  char * data3 = new char[out_x*out_y*192];
  std::memset(data3, 0, out_x*out_y*192);
  //std::memcpy(&data3[(out_x*out_y*192) - (284*320*192)], data2, 284*320*192);
  std::memcpy(&data3[0], data2, 284*320*192);
  out_file.write((char*)data3, out_x*out_y*192);
#endif
  out_file.close();
  delete [] data2;
  delete [] data3;
  return 0;
}

Edit:
Here is that raw binary data (input for code above) and MetaIO header (for mhd/raw):

ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
CompressedData = False
TransformMatrix = 1 0 0 0 1 0 0 0 1
Offset = 0 0 0
CenterOfRotation = 0 0 0
AnatomicalOrientation = RAI
ElementSpacing = 1 1 1
DimSize = 288 320 192
ElementType = MET_UCHAR
ElementDataFile = out_data.raw
1 Like

Many thanks, @issakomi . You actually did solve the puzzle! I converted into nrrd and added the correct header info from the nrrd of the original MR image. FYI, if you are interested, the result is here.

The segmented tumor now is perfectly aligned with the tumor on the original image. Great!

As I have around 20-30 more files with the same issue, let me try to confirm a couple of points so that I can repeat what you did for the other files. I have not checked yet whether all have the same matrix size exactly (the few I checked so far do have the same matrix size)

  • It seems your code is mainly converting to uchar and padding the size from 284 to 288, keeping the other matrix sizes the same. How did you figure out the padding from 284 to 288? The next higher number divisible by 8?

  • How did you get the binary.bin file from the .IMA? Did you just extract the pixel data from the DICOM file directly?
    Which program did you use? I have not done any significant DICOM manipulation and coding in over 12 years. I would appreciate if you could point me in the right direction (e.g., which library or tools did you use to get binary.bin from .IMA?)

Now that it seems that Issakomi figured out how to read that segmentation file, it would be helpful if there is a way to read the DICOM directly into Slicer in the future. Not sure that would be easy to implement, but perhaps others may find it useful to load these segmentation files.

Very helpful community.
Thank you.

1 Like

My understanding is that this is a seriously flawed DICOM file (@fedorov and @David_Clunie need to confirm). By giving in and just silently accepting DICOM implementation errors that manufacturers make (especially if it is a big one, such as Siemens), we would do a disservice to the medical imaging community: we would damage credibility of the DICOM standard, make DICOM readers more complicated (by adding manufacturer-specific workarounds), and increase the risk that data sets are interpreted incorrectly.

Depending on what I hear back from the DICOM experts, we may add a rule to the DICOM patcher module to fix up these files.

2 Likes

I agree with Andras - it appears that this file has a lot of issues, and it is also not possible to properly interpret this file without access to the referenced MR images from which the segmentation was created. In my opinion, this is an example of a dataset where you unfortunately need to write a custom code to make sense out of it. I don’t think such code belongs to Slicer, since this type of data is very uncommon, vendor-specific (more precisely, specific to a certain product line from a vendor), and I agree with Andras arguments.

@AshrafM were you using a recent version of Siemens Artis to create that object? Can you, or whoever created this object, report the issue to the technical support of the product? Siemens Artis team could be pointed out that Siemens syngo.via team are able to produce valid DICOM segmentation objects, so why can’t Artis?

@issakomi one of your earlier posts (now deleted) had a very different rendering that looked more like a surface mesh. Was it this example file, or something else? What you are showing in your most recent screenshot is very different.

2 Likes

@fedorov and @lassoan . I understand it is an issue of compliance with the DICOM standard.

The files were generated using a recent version of the Artis system. I will see if I can reach to the Artis technical support on this. It is good to get to the bottom of the issue quickly and glad that @issakomi provided a work around. Thank you both for your quick feedback.

@issakomi Thank you very much for your help with this. I was able to extract the pixel data using pydicom and save it as a binary file, then your code takes over.
I guess the multiples of 8 size here is because the segmentation is stored in 1 bit per pixel in the DICOM file, so they had to pad to make it divisible by 8 for storage in bytes.

Things seem to be smooth from here forward, but if I run into issues, I might pick up this thread again.

Thank you very much.

2 Likes

I agree with @issakomi that the fundamental error Siemens seems may have made is to encode the wrong value for Columns in the DICOM attributes.

If one patches the DICOM SEG file to have:

  • a Columns of 288 instead of 284
  • changes the value length of PixelData from 320x284x192/8 2181120 (0x214800) to 320x288x192/8=2211840 (0x21C000)
  • adds 320x(288-284)x192/8 = 30720 bytes of null to the end of PixelData

then the SEG at least displays OK in its binary form - I don’t have the source DICOM images to attempt to overly this on to see if the positioning is actually correct.

There are also some other issues with the DICOM attributes that dciodvfy exposes (such as the DimensionIndexValue numbers being wrong, InStackPositionNumber and SegmentNumber not starting from 1, malformed ProcedureCodeSequence), but these don’t prevent use of the pixel data array.

I will mention it to Siemens DICOM colleagues

David

2 Likes

I am afraid I am not following the conversation. I downloaded the sample file from this link CASE3_MRI_PRE_1.SEG.0016.0002.2020_20200730_103640831_003331.IMA - Google Drive posted by @AshrafM, and that file does not have SurfaceSequence, and has SOPClassUID = 1.2.840.10008.5.1.4.1.1.66.4 (Segmentation IOD, not Surface Segmentation IOD). Was I looking at a wrong file?

The problem is with the DICOM file that @AshrafM shared, with Segmentation IOD.

The surface segmentation discussion was just a side topic, you can ignore that (it was brought up because at that point we did not have the failing file, just speculated that it could be a surface segmentation).

1 Like

With “Yes, it is surface mesh” i meant screenshots in deleted post, you asked about it. I deleted to avoid confusion, but it happened. As Andras Lasso have written, it was a speculation before we got link to failing file. Sorry, my fault.

1 Like

By the way, another problem with this SEG file is that it is not 3D.

I.e., it does not have a frame of reference (UID) and does not specify a 3D orientation or 3D positions per slice (nor for that matter pixel spacing information).

Rather, for each slice, it references the original image that slice is to be applied to (and a 1:1 pixel correspondence is specified).

That is not really the way the SEG IOD was intended to be used with 3D cross-sectional modalities, but it is valid (which is why dciodvfy doesn’t complain about missing Frame of Reference UID, Pixel Measures Sequence > Pixel Spacing, Plane Position Sequence > Image Position (Patient), Plane Orientation Sequence > Image Orientation (Patient)); see:

http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_A.51.5.html#sect_A.51.5.1

AFAIK, 3DSlicer only supports the “Frame of Reference relative” approach, and not the “corresponding pixel in a referenced image” approach (which was intended for projection X-rays and photographs, etc.), so even if Siemens had encoded Columns to match PixelData, it still wouldn’t work with this SEG instance.

To work around this, you could copy in the corresponding attributes and values from the referenced slices as a pre-processing step.

A corollary of this may be that fixing Columns to match PixelData (rather than fixing PixelData to match Columns) is that the result will no longer match the referenced images (which I haven’t seen), which would no longer be valid per the standard.

David

PS. Strangely, in the top level data set (as opposed to per-frame functional group item) Source Image Sequence, Siemens says Spatial Locations Preserved = “NO”, which is rather contradictory, since the whole point of the “corresponding pixel in a referenced image” approach is that spatial locations are consistent (since they are not communicated in any other way than by reference). I.e., this value should “YES” IMHO, if sent at all (which it does not need to be, nor indeed does Source Image Sequence in the top level data set).

2 Likes