This application compute for each studied polyline, contained in the input VectorData, the chosen descriptors.
The first step in the classifier fusion based validation is to compute, for each studied polyline, the chosen descriptors.
This section describes in details the parameters available for this application. Table 4.80, page 611 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is ComputePolylineFeatureFromImage.
Parameter key | Parameter type |
Parameter description |
in | Input image |
Input Image |
vd | Input vector data |
Vector Data |
elev | Group |
Elevation management |
elev.dem | Directory |
DEM directory |
elev.geoid | Input File name |
Geoid File |
elev.default | Float |
Default elevation |
expr | String |
Feature expression |
field | String |
Feature name |
out | Output vector data |
Output Vector Data |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
Input Image An image to compute the descriptors on.
Vector Data Vector data containing the polylines where the features will be computed.
Elevation management This group of parameters allows managing elevation values. Supported formats are SRTM, DTED or any geotiff. DownloadSRTMTiles application could be a useful tool to list/download tiles related to a product.
Feature expression The feature formula (b1 <0.3) where b1 is the standard name of input image first band
Feature name The field name corresponding to the feature codename (NONDVI, ROADSA...)
Output Vector Data The output vector data containing polylines with a new field
Load otb application from xml file Load otb application from xml file
Save otb application to xml file Save otb application to xml file
To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
Since it does not rely on streaming process, take care of the size of input image before launching application.
This application has been written by OTB-Team.