From Slicer Wiki
Revision as of 13:09, 21 January 2013 by Pieper (talk | contribs)
Jump to: navigation, search
Home < Documentation < Nightly < Modules < ModelToLabelMap

Introduction and Acknowledgements

Title: Model To Label Map
Author(s)/Contributor(s): Nicole Aucoin (SPL, BWH), Xiaodong Tao (GE)
Acknowledgements: This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149.

Information on NA-MIC can be obtained from the NA-MIC website.
Author: Nicole Aucoin, SPL
Contact: Nicole Aucoin, <email></email>

Surgical Planning Laboratory  

Module Description

Intersects an input model with an reference volume and produces an output label map. The algorithm uses flood fill from the model's center of mass, open models or ones with multiple pieces will not work well. The label map is constrained to be unsigned char, so the input label value is only valid in the range 0-255.

Use Cases

  • This module may be thought of as the inverse of Marching Cubes (Model Maker module), except that only the surface points are set in the label map, not the interior.
  • It is useful if you only have a surface model and wish to do volumetric processing on an image





  • Settings: Parameter settings
    • Sample distance (sampleDistance): Determines how finely the surface is sampled. Used for the distance argument in the vtkPolyDataPointSampler.
    • Label value (labelValue): The unsigned char label value to use in the output label map.
  • IO: Input/output
    • Input Volume (InputVolume): Input volume
    • Model (surface): Input model
    • Output Volume (OutputVolume): Unsigned char label map volume

List of parameters generated transforming this XML file using this XSL file. To update the URL of the XML file, edit this page.

Input/Output panels. This module takes three input: Input Volume is the reference volume. Model is the surface model from whose interior is to be labeled as foreground, and Output Volume is the output label map. Output Volume has the same image parameters (size, resolution, orientation, etc) as Input Volume.
Parameters panels. Since surface can be very sparsely triangulated, this module first resamples the input surface model in an appropriate resolution. The parameter Sample Distance controls how fine the surface is sampled. The ballpark value for this parameter is the smallest size of voxels (in mm) in Input Volume.

Similar Modules




Information for Developers