MultiImageSamplingRate
otbcli_MultiImageSamplingRate
Multi-image sampling rate estimation
Learning
Compute sampling rate for an input set of images.
ParameterMultipleInput
il
Input statistics
List of statistics files for each input image.
False
OutputFile
out
Output sampling rates
Output filename storing sampling rates (CSV format with class name, required samples, total samples, and rate). The given filename will be used with a suffix to indicate the corresponding input index (for instance: rates.csv will give rates_1.csv, rates_2.csv, ...).
ParameterSelection
strategy
Sampling strategy
byclass
constant
smallest
percent
total
all
2
False
ParameterMultipleInput
strategy.byclass.in
Number of samples by class
Number of samples by class (CSV format with class name in 1st column and required samples in the 2nd).In the case of the custom multi-image mode, several inputs may be given for each image.
False
ParameterString
strategy.constant.nb
Number of samples for all classes
Number of samples for all classes.In the case of the custom multi-image mode, several values can be given for each image.
False
ParameterString
strategy.percent.p
The percentage(s) to use
The percentage(s) to use In the case of the custom multi-image mode, several values can be given for each image.
False
ParameterString
strategy.total.v
The number of samples to generate
The number of samples to generateIn the case of the custom multi-image mode, several values can be given for each image.
False
ParameterSelection
mim
Multi-Image Mode
proportional
equal
custom
0
False