KMeansClassification
otbcli_KMeansClassification
Unsupervised KMeans image classification
Learning
Unsupervised KMeans image classification
ParameterRaster
in
Input Image
Input image to classify.
False
OutputRaster
out
Output Image
Output image containing the class indexes.
ParameterNumber
ram
Available RAM (Mb)
Available memory for processing (in MB)
128
ParameterRaster
vm
Validity Mask
Validity mask. Only non-zero pixels will be used to estimate KMeans modes.
True
ParameterNumber
ts
Training set size
Size of the training set (in pixels).
100
ParameterNumber
nc
Number of classes
Number of modes, which will be used to generate class membership.
5
ParameterNumber
maxit
Maximum number of iterations
Maximum number of iterations for the learning step.
1000
ParameterNumber
ct
Convergence threshold
Convergence threshold for class centroid (L2 distance, by default 0.0001).
0.0001
OutputFile
outmeans
Centroid filename
Output text file containing centroid positions