SampleSelection otbcli_SampleSelection Sample Selection Learning Selects samples from a training vector data set. ParameterRaster in InputImage Support image that will be classified False ParameterRaster mask InputMask Validity mask (only pixels corresponding to a mask value greater than 0 will be used for statistics) True ParameterFile vec Input vectors Input geometries to analyse False OutputFile out Output vectors Output resampled geometries ParameterFile instats Input Statistics Input file storing statistics (XML format) False OutputFile outrates Output rates Output rates (CSV formatted) ParameterSelection sampler Sampler type Type of sampling (periodic, pattern based, random) periodic random 0 False ParameterNumber sampler.periodic.jitter Jitter amplitude Jitter amplitude added during sample selection (0 = no jitter) 0 True ParameterSelection strategy Sampling strategy byclass constant smallest all 2 False ParameterFile 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. False ParameterNumber strategy.constant.nb Number of samples for all classes Number of samples for all classes 0 False ParameterString field Field Name Name of the field carrying the class name in the input vectors. class True ParameterNumber layer Layer Index Layer index to read in the input vector file. 0 True ParameterNumber ram Available RAM (Mb) Available memory for processing (in MB) 128 True ParameterNumber rand set user defined seed Set specific seed. with integer value. 0 True