View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Sauvola local image thresholding

5.0 | 4 ratings Rate this file 57 Downloads (last 30 days) File Size: 6.33 KB File ID: #40266 Version: 1.4
image thumbnail

Sauvola local image thresholding


Jan Motl (view profile)


11 Feb 2013 (Updated )

Sauvola binarization method is well suited for ill illuminated or stained documents.

| Watch this File

File Information

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. -

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 -

A paper evaluating binarization methods:

P. Stathis, E. Kavallieratou and N. Papamarkos - An Evaluation Technique for Binarization Algorithms, Journal of Universal Computer Science, 2008, -

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
17 Nov 2016 Tu Nguyen Anh

14 Jul 2016 Gabor

Gabor (view profile)

Thank you so much!
All your set of adaptive thresholding scripts is amazing.
Great work. It's very appreciated.

06 Feb 2016 mohamed abu eita

Hi i want to run this code on matlab 2015 but not run

Comment only
18 Mar 2015 sara

sara (view profile)

I have ImageJ software which has a adaptive thresholding tools and sauvola's method, But I didnt get the same results!

can anyone please tell me why the results is different??

15 Jan 2015 sara

sara (view profile)

I do appreciated you for what you have done, your codes are great, thanks a lot and again.

22 Feb 2013 1.1


22 Feb 2013 1.2


18 Mar 2013 1.3

Improved parameter checking.

08 May 2013 1.4

Link corrected

Contact us