Cannot get the output statistics of ComputeImagesStatistics
Currently, the application ComputeImagesStatistics only prints the mean and standard deviation and can optionally save the result inside an XML.
I would like to be able to get the result in Python, as it is possible in ReadImageInfo, something such as:
stats = otbApplication.Registry.CreateApplication('ComputeImagesStatistics')
stats.SetParameterStringList('il', ['image.tif'])
stats.Execute()
mean = stats.GetParameterFloat('mean')