printing otsu threshold