Documentation of output parameters in application examples
Output parameters don't appear in the doc of Python examples. The example of EndmemberNumberEstimation
is
import otbApplication
app = otbApplication.Registry.CreateApplication("EndmemberNumberEstimation")
app.SetParameterString("in", "cupriteSubHsi.tif")
app.SetParameterString("algo","vd")
app.SetParameterFloat("algo.vd.far", 1.0E-3)
app.ExecuteAndWriteOutput()
An extra line could be added :
print(app.GetParameterDouble("number"))
The examples are generated from the application by this script