<?xml version="1.0" encoding="UTF-8"?>
<executable>
  <category>Filtering</category>
  <title>Threshold Scalar Volume</title>
  <description><![CDATA[<p>Threshold an image.</p><p>Set image values to a user-specified outside value if they are below, above, or between simple threshold values.</p><p>ThresholdAbove: The values greater than or equal to the threshold value are set to OutsideValue.</p><p>ThresholdBelow: The values less than or equal to the threshold value are set to OutsideValue.</p><p>ThresholdOutside: The values outside the range Lower-Upper are set to OutsideValue.</p>]]></description>
  <version>0.1.0.$Revision: 2104 $(alpha)</version>
  <documentation-url>https://slicer.readthedocs.io/en/latest/user_guide/modules/thresholdscalarvolume.html</documentation-url>
  <license/>
  <contributor>Nicole Aucoin (SPL, BWH), Ron Kikinis (SPL, BWH), Julien Finet (Kitware)</contributor>
  <acknowledgements><![CDATA[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.]]></acknowledgements>
  <parameters>
    <label>IO</label>
    <description><![CDATA[Input/output parameters]]></description>
    <image>
      <name>InputVolume</name>
      <label>Input Volume</label>
      <channel>input</channel>
      <index>0</index>
      <description><![CDATA[Input volume]]></description>
    </image>
    <image reference="InputVolume">
      <name>OutputVolume</name>
      <label>Output Volume</label>
      <channel>output</channel>
      <index>1</index>
      <description><![CDATA[Thresholded input volume]]></description>
    </image>
  </parameters>
  <parameters>
    <label>Filter Settings</label>
    <string-enumeration>
      <name>ThresholdType</name>
      <label>Threshold Type</label>
      <description><![CDATA[What kind of threshold to perform. If Outside is selected, uses Upper and Lower values. If Below is selected, uses the ThresholdValue, if Above is selected, uses the ThresholdValue.]]></description>
      <longflag>--thresholdtype</longflag>
      <default>Outside</default>
      <element>Below</element>
      <element>Above</element>
      <element>Outside</element>
    </string-enumeration>
    <float>
      <name>ThresholdValue</name>
      <label>Threshold Value</label>
      <flag>-t</flag>
      <longflag>--threshold</longflag>
      <description><![CDATA[Threshold value]]></description>
      <default>128</default>
    </float>
    <float>
      <name>Lower</name>
      <label>Lower</label>
      <flag>-l</flag>
      <longflag>--lower</longflag>
      <description><![CDATA[Lower threshold value]]></description>
      <default>1</default>
    </float>
    <float>
      <name>Upper</name>
      <label>Upper</label>
      <flag>-u</flag>
      <longflag>--upper</longflag>
      <description><![CDATA[Upper threshold value]]></description>
      <default>200</default>
    </float>
    <float>
      <name>OutsideValue</name>
      <label>Outside Value</label>
      <flag>-v</flag>
      <longflag>--outsidevalue</longflag>
      <description><![CDATA[Set the voxels to this value if they fall outside the threshold range]]></description>
      <default>0</default>
    </float>
    <boolean>
      <name>Negate</name>
      <label>Negate Threshold</label>
      <flag>-n</flag>
      <longflag>--negate</longflag>
      <description><![CDATA[Swap the outside value with the inside value.]]></description>
      <default>false</default>
    </boolean>
  </parameters>
</executable>
