Sauvola local image thresholding

Version 1.4.0.0 (6.33 KB) by Jan Motl
Sauvola binarization method is well suited for ill illuminated or stained documents.
4.9K Downloads
Updated 8 May 2013

View License

The implemented Sauvola method uses integral images for fast computation of the threshold function.

The Sauvola method is described in:

J. Sauvola and M. Pietikainen, Adaptive document image binarization, Pattern Recognition 33, 2000. - http://www.mediateam.oulu.fi/publications/pdf/24.pdf

The modification which uses integral images providing a 20-fold speedup (according to the paper) is described in this paper:

F. Shafait, D. Keysers, and T. M. Breuel, Efficient implementation of local adaptive thresholding techniques using integral images, Document Recognition and Retrieval XV, 2008 - http://www.dfki.uni-kl.de/~shafait/papers/Shafait-efficient-binarization-SPIE08.pdf

A paper evaluating binarization methods:

P. Stathis, E. Kavallieratou and N. Papamarkos - An Evaluation Technique for Binarization Algorithms, Journal of Universal Computer Science, 2008, - http://www.papamarkos.gr/uploaded-files/An%20Evaluation%20Technique%20for%20Binarization%20Algorithms.pdf

Cite As

Jan Motl (2024). Sauvola local image thresholding (https://www.mathworks.com/matlabcentral/fileexchange/40266-sauvola-local-image-thresholding), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4.0.0

Link corrected

1.3.0.0

Improved parameter checking.

1.2.0.0

Typo.

1.1.0.0

Typo.

1.0.0.0