Thresholding and Otsu’s Method for Image Segmentation

How do we segment certain parts of the image?