Unnamed Series as a Scalar Volume

Dear all,

I am new to Dicom and Slicer3D. I am trying to open a Dicom image (PET) with Slicer3D and I got this error message:

"DICOM indexer has successfully inserted 200 files [0.09s]"
"DICOM indexer has successfully processed 200 files [0.19s]"
"DICOM indexer has updated display fields for 1 files [0.01s]"
Imported a DICOM directory, checking for extensions
Found CommandLine Module, target is  /home/Software/Slicer-4.11.20210226-linux-amd64/NA-MIC/Extensions-29738/PETDICOMExtension/lib/Slicer-4.11/cli-modules/SUVFactorCalculator
ModuleType: CommandLineModule
SUV Factor Calculator command line: 

/home/Software/Slicer-4.11.20210226-linux-amd64/NA-MIC/Extensions-29738/PETDICOMExtension/lib/Slicer-4.11/cli-modules/SUVFactorCalculator --returnparameterfile /tmp/Slicer/46864_CKzkHa2WTH.params --petDICOMPath /tmp/tmprlh1_teo --petSeriesInstanceUID --rwvmDICOMPath /home/Software/test/final__baseline_test --seriesDescription PET SUV Factors --seriesNumber 1000 --instanceNumber "1" 

SUV Factor Calculator standard output:

saving numbers to /tmp/Slicer/46864_CKzkHa2WTH.params

SUV Factor Calculator standard error:

Missing some parameters...
ERROR: Failed to compute SUV

SUV Factor Calculator completed with errors

Traceback (most recent call last):
  File "/home/Software/Slicer-4.11.20210226-linux-amd64/lib/Slicer-4.11/qt-scripted-modules/DICOMLib/DICOMUtils.py", line 678, in getLoadablesFromFileLists
    loadablesByPlugin[plugin] = plugin.examine(fileLists)
  File "/home/Software/Slicer-4.11.20210226-linux-amd64/NA-MIC/Extensions-29738/PETDICOMExtension/lib/Slicer-4.11/qt-scripted-modules/DICOMPETSUVPlugin.py", line 127, in examine
    rwvmFile = self.generateRWVMforFileList(fileList)
  File "/home/Software/Slicer-4.11.20210226-linux-amd64/NA-MIC/Extensions-29738/PETDICOMExtension/lib/Slicer-4.11/qt-scripted-modules/DICOMPETSUVPlugin.py", line 169, in generateRWVMforFileList
    raise RuntimeError("SUVFactorCalculator CLI did not complete cleanly")
RuntimeError: SUVFactorCalculator CLI did not complete cleanly
DICOM Plugin failed: SUVFactorCalculator CLI did not complete cleanly
Loading with imageIOName: GDCM
DICOM plugin failed to load '1: Unnamed Series' as a 'Scalar Volume'.
Traceback (most recent call last):
  File "/home/Software/Slicer-4.11.20210226-linux-amd64/lib/Slicer-4.11/qt-scripted-modules/DICOMLib/DICOMUtils.py", line 719, in loadLoadables
    loadSuccess = plugin.load(loadable)
  File "/home/Software/Slicer-4.11.20210226-linux-amd64/bin/../lib/Slicer-4.11/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 509, in load
    self.setVolumeNodeProperties(volumeNode, loadable)
  File "/home/Software/Slicer-4.11.20210226-linux-amd64/bin/../lib/Slicer-4.11/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 471, in setVolumeNodeProperties
UnboundLocalError: local variable 'displayNode' referenced before assignment

I looked at several similar topic in this forum and this error message probably comes from my DICOM format implementation. I followed the inputs from the FAQ for debbuging (Documentation/4.10/FAQ/DICOM - Slicer Wiki) but the Patient name, patient ID, and series instance UID fields are neither empty or missing in my configuration. Therefore I do not know what else I can check.

Please find my dataset at this link: DICOM_files - Google Drive

Let me know if you need all the DICOM instructions I defined.


Please latest Slicer Preview Release and let us know if the problem persists.

Dear Andras,

Thanks a lot for helping.
I have the latest Slice Preview Release but still have the problem


Thanks for testing. The image appears as all black when you load it into Slicer because the same SOP instance UID was used in all the files. DICOM export is very complicated, there are many rules to follow, so if you need to create images from scratch then I would recommend to inspect the content of DICOM files coming from clinical scanners and use the freely available DICOM standard to understand each field and why it is there.

The PETDICOM extension throws errors because it misses some of the fields required for computing SUV: