adaptive thresholding using the integral image .
Survey over image thresholding techniques and quantitative performance evaluation