Changing thresholding back to THRESH_BINARY