<root>
  <key>HaralickTextureExtraction</key>
  <exec>otbcli_HaralickTextureExtraction</exec>
  <longname>Haralick Texture Extraction</longname>
  <group>Feature Extraction</group>
  <description>Computes textures on every pixel of the input image selected channel</description>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
    <key>in</key>
    <name>Input Image</name>
    <description>The input image to compute the features on.</description>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>channel</key>
    <name>Selected Channel</name>
    <description>The selected channel index</description>
    <minValue />
    <maxValue />
    <default>1</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_RAM">ParameterNumber</parameter_type>
    <key>ram</key>
    <name>Available RAM (Mb)</name>
    <description>Available memory for processing (in MB)</description>
    <minValue />
    <maxValue />
    <default>128</default>
    <optional>True</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>parameters.xrad</key>
    <name>X Radius</name>
    <description>X Radius</description>
    <minValue />
    <maxValue />
    <default>2</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>parameters.yrad</key>
    <name>Y Radius</name>
    <description>Y Radius</description>
    <minValue />
    <maxValue />
    <default>2</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>parameters.xoff</key>
    <name>X Offset</name>
    <description>X Offset</description>
    <minValue />
    <maxValue />
    <default>1</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>parameters.yoff</key>
    <name>Y Offset</name>
    <description>Y Offset</description>
    <minValue />
    <maxValue />
    <default>1</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>parameters.min</key>
    <name>Image Minimum</name>
    <description>Image Minimum</description>
    <minValue />
    <maxValue />
    <default>0</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>parameters.max</key>
    <name>Image Maximum</name>
    <description>Image Maximum</description>
    <minValue />
    <maxValue />
    <default>255</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>parameters.nbbin</key>
    <name>Histogram number of bin</name>
    <description>Histogram number of bin</description>
    <minValue />
    <maxValue />
    <default>8</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
    <key>texture</key>
    <name>Texture Set Selection</name>
    <description>Choice of The Texture Set</description>
    <options>
      <choices>
        <choice>simple</choice>
        <choice>advanced</choice>
        <choice>higher</choice>
      </choices>
    </options>
    <default>0</default>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_OutputImage">OutputRaster</parameter_type>
    <key>out</key>
    <name>Output Image</name>
    <description>Output image containing the selected texture features.</description>
    <hidden />
  </parameter>
</root>
