Commit f72b46cd authored by Manuel Grizonnet's avatar Manuel Grizonnet

BUG: add setparametertype for ndvi in exercise3

parent d8a59186
......@@ -65,6 +65,7 @@ if __name__ == "__main__":
# Declare the input list : the first element is declared alone (im1 = Red-B4)
application2.AddParameterStringList("il",str(d["input_path"] + d["B4_image"]))
application2.SetParameterString("out", "ndvi_mask.tif")
application2.SetParameterOutputImagePixelType("out", otbApplication.ImagePixelType_uint8)
# ---
......
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