Difference between revisions of "Modules:PolyDatToLabelMap-Documentation-3.6"

From Slicer Wiki
Jump to: navigation, search
Line 64: Line 64:
 
Usage:
 
Usage:
 
<pre>
 
<pre>
 +
./PolyDataToLabelmap --help
 +
 +
USAGE:
 +
 +
  ./PolyDataToLabelmap  [--returnparameterfile <std::string>]
 +
                        [--processinformationaddress <std::string>]
 +
                        [--xml] [--echo] [--distance <float>] [--]
 +
                        [--version] [-h] <std::string> <std::string>
 +
                        <std::string>
 +
 +
 +
Where:
 +
 +
  --returnparameterfile <std::string>
 +
    Filename in which to write simple return parameters (int, float,
 +
    int-vector, etc.) as opposed to bulk return parameters (image,
 +
    geometry, transform, measurement, table).
 +
 +
  --processinformationaddress <std::string>
 +
    Address of a structure to store process information (progress, abort,
 +
    etc.). (default: 0)
 +
 +
  --xml
 +
    Produce xml description of command line arguments (default: 0)
 +
 +
  --echo
 +
    Echo the command line arguments (default: 0)
 +
 +
  --distance <float>
 +
    Sample distance (default: 1)
 +
 +
  --,  --ignore_rest
 +
    Ignores the rest of the labeled arguments following this flag.
 +
 +
  --version
 +
    Displays version information and exits.
 +
 +
  -h,  --help
 +
    Displays usage information and exits.
 +
 +
  <std::string>
 +
    (required)  Input volume
 +
 +
  <std::string>
 +
    (required)  Model
 +
 +
  <std::string>
 +
    (required)  The label volume
 +
 +
 +
  Description: Intersects an input model with an reference volume and
 +
  produces an output label map.
 +
 +
  Author(s): Nicole Aucoin 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.
 
</pre>
 
</pre>
  

Revision as of 01:25, 30 April 2010

Home < Modules:PolyDatToLabelMap-Documentation-3.6

Return to Slicer 3.6 Documentation

Module Name

PolyData to LabelMap

GUI panel
Surface model and label map

General Information

Module Type & Category

Type: CLI

Category: Surface Models

Authors, Collaborators & Contact

  • Author: Xiaodong Tao and Nicole Aucoin
  • Contact: taox at research.ge.com

Module Description

This module creates a label map of the interior of an input model within a reference volume. The module first label voxels that intersects the surface as foreground, then use a flood fill to label all interior.

Usage

Examples, Use Cases & Tutorials

  • This module may be thought of as the inverse of Marching Cubes.
  • A command line example:

Quick Tour of Features and Use

  • Input/Output panels:
Input/Output panels
  • Parameters panel:
Parameters Parameters

Development

Dependencies

This module depends only on the core "Volumes" module of slice for data IO.

Known bugs

None.

Usability issues

None.

Source code & documentation

Source Code: PolyDataToLabelmap.cxx

XML Description: PolyDataToLabelmap.xml

Test: PolyDataToLabelmapTest.cxx

Usage:

./PolyDataToLabelmap --help

USAGE: 

   ./PolyDataToLabelmap  [--returnparameterfile <std::string>]
                         [--processinformationaddress <std::string>]
                         [--xml] [--echo] [--distance <float>] [--]
                         [--version] [-h] <std::string> <std::string>
                         <std::string>


Where: 

   --returnparameterfile <std::string>
     Filename in which to write simple return parameters (int, float,
     int-vector, etc.) as opposed to bulk return parameters (image,
     geometry, transform, measurement, table).

   --processinformationaddress <std::string>
     Address of a structure to store process information (progress, abort,
     etc.). (default: 0)

   --xml
     Produce xml description of command line arguments (default: 0)

   --echo
     Echo the command line arguments (default: 0)

   --distance <float>
     Sample distance (default: 1)

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   --version
     Displays version information and exits.

   -h,  --help
     Displays usage information and exits.

   <std::string>
     (required)  Input volume

   <std::string>
     (required)  Model

   <std::string>
     (required)  The label volume


   Description: Intersects an input model with an reference volume and
   produces an output label map.

   Author(s): Nicole Aucoin 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.

More Information

Acknowledgment

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 the National Centers for Biomedical Computing can be obtained from National Centers for Biomedical Computing.

References