|
| 1 | +<root> |
| 2 | + <key>Convert</key> |
| 3 | + <exec>otbcli_Convert</exec> |
| 4 | + <longname>Image Conversion</longname> |
| 5 | + <group>Image Manipulation</group> |
| 6 | + <description>Convert an image to a different format, eventually rescaling the data and/or changing the pixel type.</description> |
| 7 | + <parameter> |
| 8 | + <parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type> |
| 9 | + <key>in</key> |
| 10 | + <name>Input image</name> |
| 11 | + <description>Input image</description> |
| 12 | + <optional>False</optional> |
| 13 | + </parameter> |
| 14 | + <parameter> |
| 15 | + <parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type> |
| 16 | + <key>type</key> |
| 17 | + <name>Rescale type</name> |
| 18 | + <description>Transfer function for the rescaling</description> |
| 19 | + <options> |
| 20 | + <choices> |
| 21 | + <choice>none</choice> |
| 22 | + <choice>linear</choice> |
| 23 | + <choice>log2</choice> |
| 24 | + </choices> |
| 25 | + </options> |
| 26 | + <default>0</default> |
| 27 | + </parameter> |
| 28 | + <parameter> |
| 29 | + <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type> |
| 30 | + <key>type.linear.gamma</key> |
| 31 | + <name>Gamma correction factor</name> |
| 32 | + <description>Gamma correction factor</description> |
| 33 | + <minValue /> |
| 34 | + <maxValue /> |
| 35 | + <default>1</default> |
| 36 | + </parameter> |
| 37 | + <parameter> |
| 38 | + <parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type> |
| 39 | + <key>mask</key> |
| 40 | + <name>Input mask</name> |
| 41 | + <description>The masked pixels won't be used to adapt the dynamic (the mask must have the same dimensions as the input image)</description> |
| 42 | + <optional>True</optional> |
| 43 | + </parameter> |
| 44 | + <parameter> |
| 45 | + <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type> |
| 46 | + <key>hcp.high</key> |
| 47 | + <name>High Cut Quantile</name> |
| 48 | + <description>Quantiles to cut from histogram high values before computing min/max rescaling (in percent, 2 by default)</description> |
| 49 | + <minValue /> |
| 50 | + <maxValue /> |
| 51 | + <default>2</default> |
| 52 | + </parameter> |
| 53 | + <parameter> |
| 54 | + <parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type> |
| 55 | + <key>hcp.low</key> |
| 56 | + <name>Low Cut Quantile</name> |
| 57 | + <description>Quantiles to cut from histogram low values before computing min/max rescaling (in percent, 2 by default)</description> |
| 58 | + <minValue /> |
| 59 | + <maxValue /> |
| 60 | + <default>2</default> |
| 61 | + </parameter> |
| 62 | + <parameter> |
| 63 | + <parameter_type source_parameter_type="ParameterType_OutputImage">OutputRaster</parameter_type> |
| 64 | + <key>out</key> |
| 65 | + <name>Output Image</name> |
| 66 | + <description>Output image</description> |
| 67 | + <hidden /> |
| 68 | + </parameter> |
| 69 | + <parameter> |
| 70 | + <parameter_type source_parameter_type="ParameterType_RAM">ParameterNumber</parameter_type> |
| 71 | + <key>ram</key> |
| 72 | + <name>Available RAM (Mb)</name> |
| 73 | + <description>Available memory for processing (in MB)</description> |
| 74 | + <minValue /> |
| 75 | + <maxValue /> |
| 76 | + <default>128</default> |
| 77 | + </parameter> |
| 78 | +</root> |
0 commit comments