Figure 4:
Global Thresholding using Otsu’s method