Polygon Class Statistics

Brief Description

Computes statistics on a training polygon set.

Tags

Learning

Long Description

The application processes a set of geometries intended for training (they should have a field giving the associated class). The geometries are analyzed against a support image to compute statistics :
- number of samples per class
- number of samples per geometry
An optional raster mask can be used to discard samples. Different types of geometry are supported : polygons, lines, points. The behaviour is different for each type of geometry :
- polygon: select pixels whose center is inside the polygon
- lines : select pixels intersecting the line
- points : select closest pixel to the point

Parameters

Limitations

None

Authors

OTB-Team

See also

Example of use