otbcli_KMeansClassification(1) OTB KMeansClassification application


This is the KMeansClassification application, version 5.2.0 Unsupervised KMeans image classification

Complete documentation: http://www.orfeo-toolbox.org/Applications/KMeansClassification.html


-progress <boolean>
Report progress

 -in       <string>         Input Image  (mandatory)
 -out      <string> [pixel] Output Image  [pixel=uint8/uint16/int16/uint32/int32/float/double] (default value is uint8) (mandatory)

<int32> Available RAM (Mb) (optional, off by default, default value is 128)
<string> Validity Mask (optional, off by default)
<int32> Training set size (optional, on by default, default value is 100)
<int32> Number of classes (mandatory, default value is 5)
<int32> Maximum number of iterations (optional, on by default, default value is 1000)
<float> Convergence threshold (optional, on by default, default value is 0.0001)
-outmeans <string>
Centroid filename (optional, off by default)
<int32> set user defined seed (optional, off by default)
<string> Load otb application from xml file (optional, off by default)


otbcli_KMeansClassification -in QB_1_ortho.tif -ts 1000 -nc 5 -maxit 1000 -ct 0.0001 -out ClassificationFilterOutput.tif