Water surface mapping sentinel-1 otsu threshold not working
Below is the code I use to determine the surface area of water for the Ban Chat dam in Vietnam. However, the Otsu algorithm gives a threshold value that is much too high (towards positive), causing the quantity to be vastly overestimated. How can I modify this code to determine a sufficient Otsu threshold?