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.80, page 593
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.80: Parameters table for Fuzzy Model estimation.
- Input Positive Vector Data: Ground truth vector data for positive samples
- Input Negative Vector Data: Ground truth vector data for negative samples
- Belief Support: Dempster Shafer study hypothesis to compute belief
- Plausibility Support: Dempster Shafer study hypothesis to compute plausibility
- Criterion: Dempster Shafer criterion (by default (belief+plausibility)/2)
- Weighting: Coefficient between 0 and 1 to promote undetection or false detections (default
0.5)
- initialization model: Initialization model (xml file) to be used. If the xml initialization model
is set, the descriptor list is not used (specified using the option -desclist)
- Descriptor list: List of the descriptors to be used in the model (must be specified to perform
an automatic initialization)
- Maximum number of iterations: Maximum number of optimizer iteration (default 200)
- Optimizer Observer: Activate the optimizer observer
- Output filename: Output model file name (xml file) contains the optimal model to perform
information fusion.
- Load otb application from xml file: Load otb application from xml file
- Save otb application to xml file: Save otb application to xml file
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.