Documentation/Nightly/Modules/ModelToLabelMap

From SlicerWiki
Jump to: navigation, search
Home < Documentation < Nightly < Modules < ModelToLabelMap

For the stable Slicer documentation, visit the 4.6 page.


Introduction and Acknowledgements

Title: Model To Label Map
Author(s)/Contributor(s): Nicole Aucoin (SPL, BWH), Xiaodong Tao (GE)
License:
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.
Contact: Nicole Aucoin,

Information on NA-MIC can be obtained from the NA-MIC website.

Surgical Planning Laboratory  
NA-MIC  
NAC  


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

Tutorials

N/A

Panels

Parameters:

  • 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 as input: Input Volume as the reference volume. Model is the surface model from whose interior is to be labeled. The output of this module is Output Volume, the output label map. Output Volume has the same image parameters (size, resolution, orientation, etc) as Input Volume. The model needs to be closed or else the output volume will be flooded.
Parameters panels. Since the surface can be very sparsely triangulated, this module first resamples the input surface model in an appropriate resolution. The parameter Sample Distance controls how finely the surface is sampled. The ballpark value for this parameter is the smallest size of voxels (in mm) in Input Volume. The parameter Label Value lets the user pick which value will be written into the output label map.

Similar Modules

References

N/A

Information for Developers