apply image thresholding effects like simple thresholding, inverse thresholding, Othsu's thresholding and adaptive thres