VectorDataDSValidation¶
Vector data validation based on the fusion of features using Dempster-Shafer evidence theory framework.
Description¶
This application validates or unvalidate the studied samples using the Dempster-Shafer theory.
Parameters¶
Input Vector Data -in vectorfile
Mandatory
Input vector data to validate
Descriptors model filename -descmod filename [dtype]
Mandatory
Fuzzy descriptors model (xml file)
Belief Support -belsup string1 string2...
Mandatory
Dempster Shafer study hypothesis to compute belief
Plausibility Support -plasup string1 string2...
Mandatory
Dempster Shafer study hypothesis to compute plausibility
Output Vector Data -out vectorfile
Mandatory
Output VectorData containing only the validated samples
Criterion -cri string
Default value: ((Belief + Plausibility)/2.)
Dempster Shafer criterion (by default (belief+plausibility)/2)
Criterion threshold -thd float
Default value: 0.5
Criterion threshold (default 0.5)
Load parameters from XML -inxml filename.xml
Load application parameters from an XML file.
Save parameters to XML -outxml filename.xml
Save application parameters to an XML file.
Examples¶
From the command-line:
otbcli_VectorDataDSValidation -in cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp -belsup cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp -descmod DSFuzzyModel.xml -out VectorDataDSValidation.shp
From Python:
import otbApplication
app = otbApplication.Registry.CreateApplication("VectorDataDSValidation")
app.SetParameterString("in", "cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp")
app.SetParameterStringList("belsup", ['cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp'])
app.SetParameterString("descmod", "DSFuzzyModel.xml")
app.SetParameterString("out", "VectorDataDSValidation.shp")
app.ExecuteAndWriteOutput()
Limitations¶
None.