Dynamic Thresholding Image