Difference between revisions of "Documentation/Nightly/Modules/ModelToLabelMap"

From Slicer Wiki
Jump to: navigation, search
(Prepend documentation/versioncheck template. See http://na-mic.org/Mantis/view.php?id=2887)
Line 1: Line 1:
 +
<noinclude>{{documentation/versioncheck}}</noinclude>
 
<!-- ---------------------------- -->
 
<!-- ---------------------------- -->
 
{{documentation/{{documentation/version}}/module-header}}
 
{{documentation/{{documentation/version}}/module-header}}

Revision as of 07:52, 14 June 2013

Home < Documentation < Nightly < Modules < ModelToLabelMap

For the stable Slicer documentation, visit the 4.10 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.


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

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 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

N/A

References

N/A

Information for Developers