I used the otbcli_RadiometricIndices function, inputting a hypercube that I created with the different Sentinel-2 images corresponding to each band. I’m looking to make a mask for the water so I used -list Water:NDWI (I also tested with NDWI2).
Unfortunately, the image created at the output is all black. I don’t understand how this function works and what the values to put in the different channels (R, V, B, NIR and MIR) correspond to.
Could you help me understand how this function works and how I can successfully make a mask using radiometric indices of interest?
Thank you in advance.