This is the basic thresholding method, where you can specify the low and high threshold values that will select the pixels to segment.