View Issue Details

IDProjectCategoryView StatusLast Update
0004108Slicer4Core: MRMLpublic2015-12-14 15:46
Reporteralexis.giraultAssigned Toalexis.girault 
Status assignedResolutionopen 
Product VersionSlicer 4.5.0-1 
Target VersionFixed in Version 
Summary0004108: Slicer does not handle the I/O of Volumes with multiple attributes

In Slicer, scalar volumes are represented as vtkMRMLScalarVolumeNode. This class wraps a vtkImageData, which can hold multiple arrays of scalars (or other), even though only one is displayed (the 'ActiveScalar').

When loading an mha, nrrd, or vtk (structured points) volume, only one scalar will be loaded in the vtkMRMLScalarVolumeNode, whose name will be set to 'ImageScalars'.

When opening one of those multiple-scalar volumes in Paraview, it is possible to select which array/attribute to make active. In 3D Slicer, it IS possible to create such files in python: Slicer core can handle a change of active scalars in the 2D Views, and display the different attributes for only one volume node, even though saving those volumes would result in only the active scalar attribute being included.

Those issues can also be found when using a CLI module that needs to receive or pass those kinds of multi-scalar volumes.

Changes needed would be:

  • Updating the reader/writer to allow loading and saving of multi-scalar volumes
  • Updating the Volumes Module to allow for a selection of the active scalar within a list of the existing attributes
Steps To Reproduce
  • Load file with multiple attributes as a Volume
  • Check node information in Data Module
  • Compare with options in Paraview
TagsNo tags attached.


has duplicate 0004107 closedalexy Slicer does not handle the I/O of Volumes with multiple attributes 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-12-14 13:53 alexis.girault New Issue
2015-12-14 13:53 alexis.girault Status new => assigned
2015-12-14 13:53 alexis.girault Assigned To => alexy
2015-12-14 13:56 jcfr Relationship added has duplicate 0004107
2015-12-14 15:46 jcfr Assigned To alexy => alexis.girault