View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004108||Slicer4||Core: MRML||public||2015-12-14 13:53||2015-12-14 15:46|
|Product Version||Slicer 4.5.0-1|
|Target Version||Fixed in Version|
|Summary||0004108: 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:
|Steps To Reproduce|
|Tags||No tags attached.|
|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|