ComputeOGRLayersFeaturesStatistics
Brief Description
Compute statistics of the features in a set of OGR Layers
Tags
Segmentation
Long Description
Compute statistics (mean and standard deviation) of the features in a set of OGR Layers, and write them in an XML file. This XML file can then be used by the training application.
Parameters
Vector Data (inshp): Name of the input shapefile
Output XML file (outstats): XML file containing mean and variance of each feature.
Feature (feat): List of features to consider for statistics.
Load otb application from xml file (inxml): Load otb application from xml file
Save otb application to xml file (outxml): Save otb application to xml file
Limitations
Experimental. For now only shapefiles are supported.
Authors
David Youssefi during internship at CNES
See also
OGRLayerClassifier,TrainVectorClassifier
Example of use
inshp: vectorData.shp
outstats: results.xml
feat: perimeter
otbcli_ComputeOGRLayersFeaturesStatistics -inshp vectorData.shp -outstats results.xml -feat perimeter