How to fetch output parameters (Python API)
Hello,
When executing the OTB Multivariate Alteration Detector using the Python API:
app = otbApplication.Registry.CreateApplication("MultivariateAlterationDetector")
app.SetParameterString("in1", reference_image_path)
app.SetParameterString("in2", target_image_path)
app.SetParameterString("out", output_image_path)
app.ExecuteAndWriteOutput()
Rho coefficient is printed:
2023-01-11 15:13:02 (INFO) MultivariateAlterationDetector: Rho: 0.0726545
How can I fetch the value of Rho in the Python script?
Edited by Damir Matić