Robust automated thresholding of SAR imagery for open-water detection