Added Bronsons thresholding method