added Leptonica image binarization