<?xml version="1.0" encoding="UTF-8"?>
<executable>
  <category>Filtering</category>
  <title>Extract Skeleton</title>
  <description><![CDATA[Extract the skeleton of a binary object.  The skeleton can be limited to being a 1D curve or allowed to be a full 2D manifold.  The branches of the skeleton can be pruned so that only the maximal center skeleton is returned.]]></description>
  <version>0.1.0.$Revision: 2104 $(alpha)</version>
  <documentation-url>https://slicer.readthedocs.io/en/latest/user_guide/modules/fiducialregistration.html</documentation-url>
  <license/>
  <contributor>Pierre Seroul (UNC), Martin Styner (UNC), Guido Gerig (UNC), Stephen Aylward (Kitware)</contributor>
  <acknowledgements><![CDATA[The original implementation of this method was provided by ETH Zurich, Image Analysis Laboratory of Profs Olaf Kuebler, Gabor Szekely and Guido Gerig.  Martin Styner at UNC, Chapel Hill made enhancements.  Wrapping for Slicer was provided by Pierre Seroul and Stephen Aylward at Kitware, Inc.]]></acknowledgements>
  <parameters>
    <label>IO</label>
    <description><![CDATA[Input/output parameters]]></description>
    <image type="label">
      <name>InputImageFileName</name>
      <label>Input Image</label>
      <channel>input</channel>
      <index>1</index>
      <description><![CDATA[Input image]]></description>
    </image>
    <image type="label" reference="InputImageFileName">
      <name>OutputImageFileName</name>
      <longflag>outputImage</longflag>
      <label>Output Image</label>
      <channel>output</channel>
      <description><![CDATA[Skeleton of the input image.]]></description>
    </image>
  </parameters>
  <parameters>
    <label>Skeleton</label>
    <description><![CDATA[Skeleton parameters]]></description>
    <string-enumeration>
      <name>SkeletonType</name>
      <longflag>type</longflag>
      <label>Skeleton type</label>
      <description><![CDATA[Type of skeleton to create. 1D extract centerline curve points. 2D extracts medial surface points.]]></description>
      <default>1D</default>
      <element>1D</element>
      <element>2D</element>
    </string-enumeration>
    <boolean>
      <name>FullTree</name>
      <longflag>fullTree</longflag>
      <label>Extract full tree</label>
      <description><![CDATA[Include the full tree in the output, not just the longest branch.]]></description>
      <default>false</default>
    </boolean>
    <integer>
      <name>NumberOfPoints</name>
      <longflag>numPoints</longflag>
      <label>Number Of Points</label>
      <description><![CDATA[Number of points used to represent the skeleton]]></description>
      <default>100</default>
    </integer>
    <file fileExtensions=".txt">
      <name>OutputPointsFileName</name>
      <longflag>pointsFile</longflag>
      <description><![CDATA[Name of the file to store the coordinates of the central (1D) skeleton points]]></description>
      <label>Output points list</label>
      <channel>output</channel>
    </file>
    <pointfile type="curve" coordinateSystem="lps">
      <name>OutputCurveFileName</name>
      <label>Output markups curve</label>
      <description><![CDATA[Centerline points as markups curve]]></description>
      <longflag>curveFile</longflag>
      <channel>output</channel>
    </pointfile>
  </parameters>
</executable>
