4.6.3 Fuzzy Model estimation

Estimate feature fuzzy model parameters using 2 vector data (ground truth samples and wrong samples).

Detailed description

Estimate feature fuzzy model parameters using 2 vector data (ground truth samples and wrong samples).

Parameters

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





Parameter key

Parameter type

Parameter description




psin

Input vector data

Input Positive Vector Data

nsin

Input vector data

Input Negative Vector Data

belsup

String list

Belief Support

plasup

String list

Plausibility Support

cri

String

Criterion

wgt

Float

Weighting

initmod

Input File name

initialization model

desclist

String list

Descriptor list

maxnbit

Int

Maximum number of iterations

optobs

Boolean

Optimizer Observer

out

Output File name

Output filename

inxml

XML input parameters file

Load otb application from xml file

outxml

XML output parameters file

Save otb application to xml file











Table 4.82: Parameters table for Fuzzy Model estimation.

Example

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

otbcli_DSFuzzyModelEstimation -psin cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp -nsin cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp -belsup "ROADSA" -plasup "NONDVI" "ROADSA" "NOBUIL" -initmod Dempster-Shafer/DSFuzzyModel_Init.xml -maxnbit 4 -optobs true -out DSFuzzyModelEstimation.xml

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 DSFuzzyModelEstimation application 
DSFuzzyModelEstimation = otbApplication.Registry.CreateApplication("DSFuzzyModelEstimation") 
 
# The following lines set all the application parameters: 
DSFuzzyModelEstimation.SetParameterString("psin", "cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_gt.shp") 
 
DSFuzzyModelEstimation.SetParameterString("nsin", "cdbTvComputePolylineFeatureFromImage_LI_NOBUIL_wr.shp") 
 
DSFuzzyModelEstimation.SetParameterStringList("belsup", ['"ROADSA"']) 
 
DSFuzzyModelEstimation.SetParameterStringList("plasup", ['"NONDVI"', '"ROADSA"', '"NOBUIL"']) 
 
DSFuzzyModelEstimation.SetParameterString("initmod", "Dempster-Shafer/DSFuzzyModel_Init.xml") 
 
DSFuzzyModelEstimation.SetParameterInt("maxnbit", 4) 
 
DSFuzzyModelEstimation.SetParameterString("optobs","1") 
 
DSFuzzyModelEstimation.SetParameterString("out", "DSFuzzyModelEstimation.xml") 
 
# The following line execute the application 
DSFuzzyModelEstimation.ExecuteAndWriteOutput()

Limitations

None.

Authors

This application has been written by OTB-Team.