Gravar-mail: A Robust Parameter-free Thresholding Method for Image Segmentation