Problem with data loading

Hi everyone,
How can kill the problem with data loading into Slicer. The information about the error was list below and the problem was the same between CT and MRI in DICOM:
Imported a DICOM directory, checking for extensions
Traceback (most recent call last):
File “C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py”, line 737, in getLoadablesFromFileLists
loadablesByPlugin[plugin] = plugin.examine(fileLists)
File “C:/Users/nzz/AppData/Roaming/NA-MIC/Extensions-28257/SlicerRT/lib/Slicer-4.10/qt-scripted-modules/DicomSroImportPlugin.py”, line 30, in examine
examineInfo = slicer.vtkDICOMImportInfo()
AttributeError: ‘module’ object has no attribute ‘vtkDICOMImportInfo’
Warning: Plugin failed: DicomSroImportPlugin

See python console for error message.
DICOM Plugin failed: ‘module’ object has no attribute ‘vtkDICOMImportInfo’
Traceback (most recent call last):
File “C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py”, line 733, in getLoadablesFromFileLists
loadablesByPlugin[plugin] = plugin.examineForImport(fileLists)
File “C:/Users/nzz/AppData/Roaming/NA-MIC/Extensions-28257/SlicerRT/lib/Slicer-4.10/qt-scripted-modules/DicomRtImportExportPlugin.py”, line 41, in examineForImport
slicer.modules.dicomrtimportexport.logic().ExamineForLoad(vtkFileList, loadablesCollection)
AttributeError: ‘module’ object has no attribute ‘dicomrtimportexport’
Warning: Plugin failed: DicomRtImportExportPlugin

See python console for error message.
DICOM Plugin failed: ‘module’ object has no attribute ‘dicomrtimportexport’

ImportError: DLL load failed: ¾Ü¾ø·ÃÎÊ¡£
Traceback (most recent call last):
File “C:/Users/nzz/AppData/Roaming/NA-MIC/Extensions-28257/SegmentEditorExtraEffects/lib/Slicer-4.10/qt-scripted-modules/SegmentEditorWatershed.py”, line 30, in registerEditorEffect
instance.self().register()
AttributeError: ‘NoneType’ object has no attribute ‘register’
Best wishes,
Xie

Can you try with the latest stable release and let us know if the issue still occurs?

Hi,
I installed the newest preview version(4.13.0,2020-10-22). The DICOM data can not be loaded successfully. The error showed as following:
Could not read scalar volume using GDCM approach. Error is: FileFormatError

Loading with imageIOName: DCMTK

Could not read scalar volume using DCMTK approach. Error is: FileFormatError

Could not load: 4: Unnamed Series as a Scalar Volume

Best wishes,
Xie

This indicates that the file is corrupted. If you can upload it somewhere (make sure there is no patient health information in the file) and post the link here then we can confirm.

Hi Lassoan,
After the data was converted into *.nii format, it can be loaded into Slicer correctly and the size of the data was more bigger (448M)than the original data (261M). Here is the link of the data:
Link:https://pan.baidu.com/s/1d8kGMruZ1mGyitUIl3qBFw
PIN:sako
But I am not sure whether you can download it successfully.
Best wishes,
Xie

I could not download the file. The download page was all Chinese, I got it mostly translated in the browser but it wanted me to install something and register an account. Could you upload to anywhere else? Or somebody could help with downloading it and uploading to any file sharing service that allows direct download.

Hi Lassoan,
I think it can be downloaded now for you.


Best wishes,
Xie

Thank you I could open this nifti file and it looks good, but it does not help in determining what was the problem with the original file.

This nifti file uses “float” voxel type, which is the most probably reason why it uses 2x more space than the original (usually “short” type). If memory usage is a concern then you can cast the image back “short” using “Cast scalar volume” module and/or crop it to the relevant region using Crop volume module.

Have you converted from DICOM to nifti using dcm2niix? Maybe it is more tolerant to some DICOM format errors than DCMTK or GDCM (that Slicer uses for DICOM parsing by default). You can choose to use dcm2niix as DICOM image loader in Slicer by installing SlicerDcm2nii extension.

Hi Lassoan,
The data can be loaded into Slicer normally from DICOM using dcm2niix and saved in .nhdr format. But I am not sure about the problem about the data and when the dcm2niix should be chose for data loading.
Best wishes,
Xie