Multi-scale Grid-based Sauvola Method (OpenExecutable)

For benchmarking purposes, the executable of various methods introduced in [Farrahi2010] are provided here. As the smart part of the code may change over time, please refer to the smart version. The outputs and scores of these methods against several public datasets are also provided. Please cite [Farrahi2010], if you use this code or data in your benchmarks.

[Farrahi2010] R. Farrahi Moghaddam, M. Cheriet, A multi-scale framework for adaptive binarization of degraded document images, Pattern Recognition 43, (2010) 2186-2198. DOI: 10.1016/j.patcog.2009.12.024


OpenExecutable

1. The Grid-based Sauvola Method (Download) (167)

Syntax:

Smart mode:  Gb_Sauvola_Binarization input_filename output_filename
Manual mode (TBD): Gb_Sauvola_Binarization input_filename output_filename k R G_s
    where: k and R are the Sauvola parameters, and G_s is the grid scale.

Please note that the grid-based Sauvola method only uses the Sauvola equation without any postprocessing.

2. The Multi-scale Grid-based Sauvola Method (Download) (144)

Syntax:

Smart mode:  MsGb_Sauvola_Binarization input_filename output_filename
Manual mode (TBD): MsGb_Sauvola_Binarization input_filename output_filename k R G_s s_h s_l w_s
    where: k and R are the Sauvola parameters, G_s is the grid scale, s_h and s_l are highest and lowest scales, and w_s is the stroke width.

3. The Recursive Grid-based Sauvola Method

4. The Recursive Multi-scale Grid-based Sauvola Method


Outputs and Scores

1. The Grid-based Sauvola Method

Dataset Recall Precision F-measure (± std) FM1 (± std) PSNR DRD MPM Outputs Samples
DIBCO'09 0.9104 0.8661 88.17 (± 6.607) 89.65 (± 4.967) 17.42 3.761 0.3845 Outputs (35) Samples
H-DIBCO'10 0.7844 0.9331 84.65 (± 4.323) 85.40 (± 3.833) 17.44 4.523 0.7667 Outputs (16) Samples
DIBCO'11 0.8476 0.8636 84.46 (± 8.375) 85.62 (± 7.233) 16.38 3.300 0.9082 Outputs (15) Samples
H-DIBCO'12 0.8150 0.9233 85.60 (± 6.744) 87.14 (± 3.661) 17.76 4.853 0.7878 Outputs (15) Samples

2. The Multi-scale Grid-based Sauvola Method

Dataset Recall Precision F-measure (± std) FM1 (± std) PSNR DRD MPM Outputs Samples
DIBCO'09 0.9381 0.8583 89.26 (± 6.072) 90.56 (± 4.760) 17.77 3.618 0.3067 Outputs (14) Samples
H-DIBCO'10 0.8038 0.9223 85.22 (± 5.494) 86.38 (± 4.356) 17.62 4.765 0.7293 Outputs (12) Samples
DIBCO'11 0.8694 0.8412 84.15 (± 9.135) 85.26 (± 8.277) 16.32 4.782 1.724 Outputs (14) Samples
H-DIBCO'12 0.8535 0.9104 87.54 (± 4.528) 88.16 (± 4.052) 18.19 4.735 1.116 Outputs (14) Samples

3. The Recursive Grid-based Sauvola Method

4. The Recursive Multi-scale Grid-based Sauvola Method


The executable requires Matlab 2012a MCR (7.17). You can download it from this folder:

Matlab 2012a MCR (7.17) (link 1)


Outputs and Scores of Related Sauvola-based Methods

1.Sauvola MS_k Method [Lazzara2013]

Dataset Recall Precision F-measure (± std) FM1 (± std) PSNR DRD MPM Outputs Samples
DIBCO'09 0.8841 0.7637 78.08 (± 18.498) 82.24 (± 13.80) 15.24 14.08 4.529 Outputs Samples
H-DIBCO'10 0.5297 0.8367 61.17 (± 25.33) 70.95 (± 11.78) 14.72 9.510 1.820 Outputs Samples
DIBCO'11 0.7937 0.8393 79.31 (± 11.71) 80.71 (± 10.66) 15.33 8.156 11.46 Outputs Samples
H-DIBCO'12 0.6656 0.8810 69.56 (± 18.32) 72.56 (± 15.07) 15.12 10.37 2.784 Outputs Samples

2.Sauvola MS_kx Method[Lazzara2013]

Dataset Recall Precision F-measure (± std) FM1 (± std) PSNR DRD MPM Outputs Samples
DIBCO'09 0.9519 0.6921 76.85 (± 20.28) 80.93 (± 16.60) 14.52 18.52 8.953 Outputs Samples
H-DIBCO'10 0.7711 0.8839 80.03 (± 9.269) 81.95 (± 7.442) 16.36 6.896 3.410 Outputs Samples
DIBCO'11 0.8979 0.7508 79.70 (± 12.69) 81.20 (± 11.58) 14.91 11.67 20.32 Outputs Samples
H-DIBCO'12 0.84865 0.8273 81.19 (± 8.697) 82.47 (± 7.561) 16.26 8.790 5.331 Outputs Samples

[Lazzara2013] G. Lazzara and T. Géraud, Efficient multiscale Sauvola’s binarization, IJDAR, Accepted, (2013). DOI: 10.xxxx/xxxxxxxxxxx


AttachmentSize
out-HDIBCO12-Gb_Sauvola_012OCT10-121017.zip411.31 KB
out-HDIBCO12-MsGb_Sauvola_012OCT11-121017.zip286.62 KB
out-HDIBCO10-Gb_Sauvola_012OCT10-121017.zip167.09 KB
out-HDIBCO10-MsGb_Sauvola_012OCT11-121017.zip120.01 KB
out-DIBCO11-Gb_Sauvola_012OCT10-121017.zip329.77 KB
out-DIBCO11-MsGb_Sauvola_012OCT11-121017.zip217.23 KB
out-DIBCO09-Gb_sauvola_Farrahi2010_paper.zip124.8 KB
out-DIBCO09-MsGb_sauvola_Farrahi2010_paper.zip120.83 KB
MsGb_Sauvola_Binarization_012NOV20.zip2.22 MB
Gb_Sauvola_Binarization_012NOV20.zip2.22 MB
ericssonlogo
inocybelogo
canalogo
cienalogo
Civimetrix Telecom logo
mitacslogo
risq logo
nserclogo
promptlogo
ecolepolytechniquelogo
University of Torontologo
frqntlogo
uqlogo
MDEIE logo
cfilogo
ciraiglogo