Commit 399b665a authored by Julien Malik's avatar Julien Malik

BUG: missing file in last commit

parent db5a9d0b
import otbApplication
import sys
RadiometricIndices = otbApplication.Registry.CreateApplication('RadiometricIndices')
RadiometricIndices.SetParameterString("in", sys.argv[1])
RadiometricIndices.SetParameterString("out", sys.argv[2])
RadiometricIndices.SetParameterInt("channels.red", 3)
RadiometricIndices.SetParameterInt("channels.green", 2)
RadiometricIndices.SetParameterInt("channels.nir", 4)
RadiometricIndices.SetParameterStringList("list",
["Vegetation:NDVI","Vegetation:RVI","Vegetation:IPVI"])
print RadiometricIndices.GetParameterStringList("list")
RadiometricIndices.ExecuteAndWriteOutput()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment