Global thresholding techniques (e.g. Otsu thresholding) are used when the background is uniform.But in cases where different parts of a document have different backgrounds or foregrounds vary in darkness, local thresholding methods can be very useful. The Bernsen’s local thresholding method is a widely used local thresholding method. This blog entry is about java implementation of this method.
Jun 17, 13