View Issue Details

IDProjectCategoryView StatusLast Update
0003297Slicer4Core: Usabilitypublic2013-08-15 04:42
Reporterliuy5Assigned Topieper 
Status assignedResolutionopen 
Product VersionSlicer 4.2.2-1 
Target VersionFixed in Version 
Summary0003297: unable to import .nhdr and .raw pair using MultiVolumeImporter

I am having trouble to use the multivolume importer.

What I have is couple dozes of .nhdr and .raw file pairs. Each pair is one 3D image. These images could be successfully loaded in Slicer using standard Open Data feature.

However, when using multivolume importer, each .nhdr file and each .raw is treated as a single image file and importing would fail as .raw files simply can not be loaded:

Traceback (most recent call last):
File "/home/yliu/Imaging/slicer/Slicer-4.2.0-2013-08-09-linux-amd64/lib/Slicer-4.2/qt-scripted-modules/", line 220, in onImportButtonClicked
frameImageArray = vtk.util.numpy_support.vtk_to_numpy(frameImage.GetPointData().GetScalars())
AttributeError: 'NoneType' object has no attribute 'GetPointData'
Processing frame 0: DCE_Test_092710_3D_12Sl_Dyn22s_AP_TR9_TE3_SENSE_8_1_T0.nhdr
Processing frame 1: DCE_Test_092710_3D_12Sl_Dyn22s_AP_TR9_TE3_SENSE_8_1_T0.raw
ERROR: In /home/kitware/Dashboards/Nightly/Slicer4/Libs/MRML/Core/vtkMRMLVolumeArchetypeStorageNode.cxx, line 367
vtkMRMLVolumeArchetypeStorageNode (0x66b33d0): ReadData: Cannot read file as a volume of type Volume[fullName = DCE_Test_092710_3D_12Sl_Dyn22s_AP_TR9_TE3_SENSE_8_1_T0.raw]
Number of files listed in the node = 0.
File reader says it was able to read 1 files.
File reader used the archetype file name of DCE_Test_092710_3D_12Sl_Dyn22s_AP_TR9_TE3_SENSE_8_1_T0.raw [reader 0th file name = DCE_Test_092710_3D_12Sl_Dyn22s_AP_TR9_TE3_SENSE_8_1_T0.raw]

Could this be fixed so I can import my 4D volume into Slicer?

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-08-15 04:42 liuy5 New Issue
2013-08-15 04:42 liuy5 Status new => assigned
2013-08-15 04:42 liuy5 Assigned To => pieper