1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
|
<root>
<key>Segmentation-meanshift</key>
<exec>otbcli_Segmentation</exec>
<longname>Segmentation (meanshift)</longname>
<group>Segmentation</group>
<description>Performs segmentation of an image, and output either a raster or a vector file. In vector mode, large input datasets are supported.</description>
<parameter>
<parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
<key>in</key>
<name>Input Image</name>
<description>The input image to segment</description>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
<key>filter</key>
<name>Segmentation algorithm</name>
<description>Choice of segmentation algorithm (mean-shift by default)</description>
<options>
<choices>
<choice>meanshift</choice>
</choices>
</options>
<default>0</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
<key>filter.meanshift.spatialr</key>
<name>Spatial radius</name>
<description>Spatial radius of the neighborhood.</description>
<minValue />
<maxValue />
<default>5</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
<key>filter.meanshift.ranger</key>
<name>Range radius</name>
<description>Range radius defining the radius (expressed in radiometry unit) in the multispectral space.</description>
<minValue />
<maxValue />
<default>15</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
<key>filter.meanshift.thres</key>
<name>Mode convergence threshold</name>
<description>Algorithm iterative scheme will stop if mean-shift vector is below this threshold or if iteration number reached maximum number of iterations.</description>
<minValue />
<maxValue />
<default>0.1</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
<key>filter.meanshift.maxiter</key>
<name>Maximum number of iterations</name>
<description>Algorithm iterative scheme will stop if convergence hasn't been reached after the maximum number of iterations.</description>
<minValue />
<maxValue />
<default>100</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
<key>filter.meanshift.minsize</key>
<name>Minimum region size</name>
<description>Minimum size of a region (in pixel unit) in segmentation. Smaller clusters will be merged to the neighboring cluster with the closest radiometry. If set to 0 no pruning is done.</description>
<minValue />
<maxValue />
<default>100</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
<key>mode</key>
<name>Processing mode</name>
<description>Choice of processing mode, either raster or large-scale.</description>
<options>
<choices>
<choice>vector</choice>
</choices>
</options>
<default>0</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_OutputVectorData">OutputVector</parameter_type>
<key>mode.vector.out</key>
<name>Output vector file</name>
<description>The output vector file or database (name can be anything understood by OGR)</description>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Choice">ParameterSelection</parameter_type>
<key>mode.vector.outmode</key>
<name>Writing mode for the output vector file</name>
<description>This allows one to set the writing behaviour for the output vector file. Please note that the actual behaviour depends on the file format.</description>
<options>
<choices>
<choice>ulco</choice>
<choice>ovw</choice>
<choice>ulovw</choice>
<choice>ulu</choice>
</choices>
</options>
<default>0</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_InputImage">ParameterRaster</parameter_type>
<key>mode.vector.inmask</key>
<name>Mask Image</name>
<description>Only pixels whose mask value is strictly positive will be segmented.</description>
<optional>True</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Empty">ParameterBoolean</parameter_type>
<key>mode.vector.neighbor</key>
<name>8-neighbor connectivity</name>
<description>Activate 8-Neighborhood connectivity (default is 4).</description>
<default>True</default>
<optional>True</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Empty">ParameterBoolean</parameter_type>
<key>mode.vector.stitch</key>
<name>Stitch polygons</name>
<description>Scan polygons on each side of tiles and stitch polygons which connect by more than one pixel.</description>
<default>True</default>
<optional>True</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
<key>mode.vector.minsize</key>
<name>Minimum object size</name>
<description>Objects whose size is below the minimum object size (area in pixels) will be ignored during vectorization.</description>
<minValue />
<maxValue />
<default>1</default>
<optional>True</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Float">ParameterNumber</parameter_type>
<key>mode.vector.simplify</key>
<name>Simplify polygons</name>
<description>Simplify polygons according to a given tolerance (in pixel). This option allows reducing the size of the output file or database.</description>
<minValue />
<maxValue />
<default>0.1</default>
<optional>True</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_String">ParameterString</parameter_type>
<key>mode.vector.layername</key>
<name>Layer name</name>
<description>Name of the layer in the vector file or database (default is Layer).</description>
<default>layer</default>
<multiline />
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_String">ParameterString</parameter_type>
<key>mode.vector.fieldname</key>
<name>Geometry index field name</name>
<description>Name of the field holding the geometry index in the output vector file or database.</description>
<default>DN</default>
<multiline />
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
<key>mode.vector.tilesize</key>
<name>Tiles size</name>
<description>User defined tiles size for tile-based segmentation. Optimal tile size is selected according to available RAM if null.</description>
<minValue />
<maxValue />
<default>1024</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_Int">ParameterNumber</parameter_type>
<key>mode.vector.startlabel</key>
<name>Starting geometry index</name>
<description>Starting value of the geometry index field</description>
<minValue />
<maxValue />
<default>1</default>
<optional>False</optional>
</parameter>
<parameter>
<parameter_type source_parameter_type="ParameterType_StringList">ParameterString</parameter_type>
<key>mode.vector.ogroptions</key>
<name>OGR options for layer creation</name>
<description>A list of layer creation options in the form KEY=VALUE that will be passed directly to OGR without any validity checking. Options may depend on the file format, and can be found in OGR documentation.</description>
<default />
<multiline />
<optional>True</optional>
</parameter>
</root>
|