4.6.13 Vector Data validation

Vector data validation based on the fusion of features using Dempster-Shafer evidence theory framework.

Detailed description

This application validates or unvalidate the studied samples using the Dempster-Shafer theory.

Parameters

This section describes in details the parameters available for this application. Table 4.102, page 655 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is VectorDataDSValidation.





Parameter key

Parameter type

Parameter description




in

Input vector data

Input Vector Data

descmod

Input File name

Descriptors model filename

belsup

String list

Belief Support

plasup

String list

Plausibility Support

cri

String

Criterion

thd

Float

Criterion threshold

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











Table 4.102: Parameters table for Vector Data validation.

Example

To run this example in command-line, use the following:

otbcli_VectorDataDSValidation -in cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp -belsup cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp -descmod DSFuzzyModel.xml -out VectorDataDSValidation.shp

To run this example from Python, use the following code snippet:

#!/usr/bin/python 
 
# Import the otb applications package 
import otbApplication 
 
# The following line creates an instance of the VectorDataDSValidation application 
VectorDataDSValidation = otbApplication.Registry.CreateApplication("VectorDataDSValidation") 
 
# The following lines set all the application parameters: 
VectorDataDSValidation.SetParameterString("in", "cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp") 
 
VectorDataDSValidation.SetParameterStringList("belsup", ['cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp']) 
 
VectorDataDSValidation.SetParameterString("descmod", "DSFuzzyModel.xml") 
 
VectorDataDSValidation.SetParameterString("out", "VectorDataDSValidation.shp") 
 
# The following line execute the application 
VectorDataDSValidation.ExecuteAndWriteOutput()

Limitations

None.

Authors

This application has been written by OTB-Team.

See also

These additional ressources can be useful for further information: