A review on global binarization algorithms for degraded document images