added otsu binarization