<root>
  <key>Rescale</key>
  <exec>otbcli_Rescale</exec>
  <longname>Rescale Image</longname>
  <group>Image Manipulation</group>
  <description>Rescale the image between two given values.</description>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
    <key>in</key>
    <name>Input Image</name>
    <description>The image to scale.</description>
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_OutputImage">OutputRaster</parameter_type>
    <key>out</key>
    <name>Output Image</name>
    <description>The rescaled image filename.</description>
    <hidden />
  </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>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>outmin</key>
    <name>Output min value</name>
    <description>Minimum value of the output image.</description>
    <minValue />
    <maxValue />
    <default>0</default>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
    <key>outmax</key>
    <name>Output max value</name>
    <description>Maximum value of the output image.</description>
    <minValue />
    <maxValue />
    <default>255</default>
  </parameter>
</root>
