Documentation/Nightly/Developers/Tutorials/MigrationGuide/Slicer

From Slicer Wiki
Revision as of 04:08, 30 August 2017 by JChris.FillionR (talk | contribs) (Created page with " ===MRML: Slicer 4.5: Introduction of vtkMRMLLabelMapVolumeNode=== Before <tt>vtkMRMLScalarVolumeNode</tt> was used for both scalar and label map volumes and the LabelMap cu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation < Nightly < Developers < Tutorials < MigrationGuide < Slicer


MRML: Slicer 4.5: Introduction of vtkMRMLLabelMapVolumeNode

Before vtkMRMLScalarVolumeNode was used for both scalar and label map volumes and the LabelMap custom MRML node attribute was used for distinguishing between them (0=scalar; 1=label map volume).

This made conversion between labelmap/scalar volumes very easy but made it difficult to customize behavior, display, processing of segmentation information.

Now a new vtkMRMLLabelMapVolumeNode class is used for storing segmentation information (still using vtkMRMLScalarVolume used as base class for backward compatibility; but in the future the base class may be changed to reflect that segmentation can be represented in various ways, not just as volumes).

References: