DSFuzzyModelEstimation - 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 [1] presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is DSFuzzyModelEstimation .
[1] | Table: Parameters table for Fuzzy Model estimation. |
Parameter Key | Parameter Name | Parameter Type |
---|---|---|
psin | Input Positive Vector Data | Input vector data |
nsin | Input Negative Vector Data | Input vector data |
belsup | Belief Support | String list |
plasup | Plausibility Support | String list |
cri | Criterion | String |
wgt | Weighting | Float |
initmod | initialization model | Input File name |
desclist | Descriptor list | String list |
maxnbit | Maximum number of iterations | Int |
optobs | Optimizer Observer | Boolean |
out | Output filename | Output File name |
inxml | Load otb application from xml file | XML input parameters file |
outxml | Save otb application to xml file | XML output parameters file |
- 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.