<root>
  <key>FusionOfClassifications-majorityvoting</key>
  <exec>otbcli_FusionOfClassifications</exec>
  <longname>FusionOfClassifications (majorityvoting)</longname>
  <group>Learning</group>
  <description>Fuses several classifications maps of the same image on the basis of class labels.</description>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_InputImageList">ParameterMultipleInput</parameter_type>
    <key>il</key>
    <name>Input classifications</name>
    <description>List of input classification maps to fuse. Labels in each classification image must represent the same class.</description>
    <datatype />
    <optional>False</optional>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
    <key>method</key>
    <name>Fusion method</name>
    <description>Selection of the fusion method and its parameters.</description>
    <options>
      <choices>
        <choice>majorityvoting</choice>
        </choices>
    </options>
    <default>0</default>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>nodatalabel</key>
    <name>Label for the NoData class</name>
    <description>Label for the NoData class. Such input pixels keep their NoData label in the output image and are not handled in the fusion process. By default, 'nodatalabel = 0'.</description>
    <minValue />
    <maxValue />
    <default>0</default>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
    <key>undecidedlabel</key>
    <name>Label for the Undecided class</name>
    <description>Label for the Undecided class. Pixels with more than 1 fused class are marked as Undecided. Please note that the Undecided value must be different from existing labels in the input classifications. By default, 'undecidedlabel = 0'.</description>
    <minValue />
    <maxValue />
    <default>0</default>
  </parameter>
  <parameter>
    <parameter_type source_parameter_type="ParameterType_OutputImage">OutputRaster</parameter_type>
    <key>out</key>
    <name>The output classification image</name>
    <description>The output classification image resulting from the fusion of the input classification images.</description>
    <hidden />
  </parameter>
</root>
