結果 : image segmentation using thresholding python code