Despite the great prosperity and fast development of image segmentation technology, threshold selection method is still the best choice in many practical applications. The state-of-the-art threshold selection methods perform poorly in segmenting many images with different modalities, such as the magnetic resonance images, cell images, and laser line images. Thus, it is desirable to come up with a more robust method that could segment images with different modalities with the optimum accuracy. To this end, the method should be flexible and its parameters should be adjustable for different types of images. In this paper, we propose to compute the threshold based on the slope difference distribution, which is computed from the image histogram ...