https://csh970605.github.io/posts/Thresholding/
Thresholding in image - SeHoon