Difference between revisions of "Documentation/4.0/SlicerApplication/StructureSets"

From Slicer Wiki
Jump to: navigation, search
Line 18: Line 18:
 
=Notes=
 
=Notes=
  
* Identifying structureset images
+
# Identifying structureset images
** For now, I just assume that any vector image is a structureset image
+
## For now, I just assume that any vector image is a structureset image
  
* Loading structureset images
+
# Loading structureset images
** Images, when loaded, are sent to vtkMRMLVolumeArchetypeStorageNode::ReadData(), which decides whether the file has a scalar or vector image
+
## Images, when loaded, are sent to vtkMRMLVolumeArchetypeStorageNode::ReadData(), which decides whether the file has a scalar or vector image
** The type of the MRML node created is vtkMRMLVectorVolumeNode
+
## The type of the MRML node created is vtkMRMLVectorVolumeNode
** Ref: Libs/MRML/Core/vtkMRMLVolumeArchetypeStorageNode.cxx
+
## Ref: Libs/MRML/Core/vtkMRMLVolumeArchetypeStorageNode.cxx
** A vtkMRMLVectorVolumeDisplayNode is attached to the storage node
+
## A vtkMRMLVectorVolumeDisplayNode is attached to the storage node
  
 
# Is an image a labelmap?
 
# Is an image a labelmap?
Line 31: Line 31:
 
## vtkMRMLScalarVolumeNode::SetLabelMap()
 
## vtkMRMLScalarVolumeNode::SetLabelMap()
  
* Displaying overlapping contours
+
# Labelmap display
 +
## This is apparently a function of the XML file, not the image
 +
## vtkMRMLScalarVolumeNode::SetLabelMap()
 +
 
 +
# Displaying overlapping contours

Revision as of 21:24, 27 March 2012

Home < Documentation < 4.0 < SlicerApplication < StructureSets

These are Greg's development notes. Beware of inaccurate and misleading information below.


Introduction

The term "structure set" is used in RT to denote a set of structures (labels) which are attached to an image. The goal of this project is to improve Slicer so it can handle overlapping structures. The following is a rough list of required functionality:

  1. Identify structureset images at load time
  2. Load structureset images
  3. Display overlapping contours in structure set
  4. Editor can switch between labelmap and structureset representation
  5. Modify editor GUI to make easier selecting current structure
  6. Save structureset images

Notes

  1. Identifying structureset images
    1. For now, I just assume that any vector image is a structureset image
  1. Loading structureset images
    1. Images, when loaded, are sent to vtkMRMLVolumeArchetypeStorageNode::ReadData(), which decides whether the file has a scalar or vector image
    2. The type of the MRML node created is vtkMRMLVectorVolumeNode
    3. Ref: Libs/MRML/Core/vtkMRMLVolumeArchetypeStorageNode.cxx
    4. A vtkMRMLVectorVolumeDisplayNode is attached to the storage node
  1. Is an image a labelmap?
    1. This is apparently a function of the XML file, not the image
    2. vtkMRMLScalarVolumeNode::SetLabelMap()
  1. Labelmap display
    1. This is apparently a function of the XML file, not the image
    2. vtkMRMLScalarVolumeNode::SetLabelMap()
  1. Displaying overlapping contours