Stochastic Natural Thresholding Algorithms