Compute Polyline Feature From Image Application

Brief Description

Compute a polyline feature descriptors from an input image which are part of the polyline pixels that verify the FeatureExpression

Tags

Feature Extraction

Long Description

This application computes a polyline feature descriptors from an input image which are part of the polyline pixels that verify the FeatureExpression.

Parameters

- [param] Input Image (-in): An image from which to compute description.

- [param] Vector Data (-vd): Vector data containing the polylines onto which the feature will be computed.

- [param] DEM repository (-dem): path to SRTM repository

- [param] Feature expression (-expr): The feature formula (b1 > 0.3)

- [param] Feature name (-field): The feature name (NONDVI, ROADSA...)

- [param] Output Vector Data (-out): The output vector data containing the features

Limitations

Since it do not rely on streaming process, take care of the size of input image before launching application.

Authors

OTB-Team

See also

Example of use

- Parameters to set value:

- Input Image: NDVI.TIF

- Vector Data: roads_ground_truth.shp

- Feature expression: "(b1 > 0.4)"

- Feature name: NONDVI

- Output Vector Data: PolylineFeatureFromImage_LI_NONDVI_gt.shp

- Command line to execute:

otbcli_ComputePolylineFeatureFromImage -in NDVI.TIF -vd roads_ground_truth.shp -expr "(b1 > 0.4)" -field NONDVI -out PolylineFeatureFromImage_LI_NONDVI_gt.shp