olena-2.0-124-g73e6122 Fix invalid default options.

* src/binarization/sauvola_ms_split.cc: Here. --- scribo/ChangeLog | 6 ++++++ scribo/src/binarization/sauvola_ms_split.cc | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index 8bb4e87..6d3ed82 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,5 +1,11 @@ 2012-08-22 Guillaume Lazzara <z@lrde.epita.fr> + Fix invalid default options. + + * src/binarization/sauvola_ms_split.cc: Here. + +2012-08-22 Guillaume Lazzara <z@lrde.epita.fr> + Provide original algorithms without approximations. * scribo/binarization/internal/local_threshold_core.hh, diff --git a/scribo/src/binarization/sauvola_ms_split.cc b/scribo/src/binarization/sauvola_ms_split.cc index 21915e9..0430beb 100644 --- a/scribo/src/binarization/sauvola_ms_split.cc +++ b/scribo/src/binarization/sauvola_ms_split.cc @@ -58,9 +58,9 @@ static const scribo::debug::opt_data opt_desc[] = { "all-k", "Sauvola's formulae parameter. Set it globally for all scales.", "<value>", 0, 1, "0.34" }, - { "k2", "Sauvola's formulae parameter", "<value>", 0, 1, "0.20" }, - { "k3", "Sauvola's formulae parameter", "<value>", 0, 1, "0.30" }, - { "k4", "Sauvola's formulae parameter", "<value>", 0, 1, "0.50" }, + { "k2", "Sauvola's formulae parameter", "<value>", 0, 1, 0 }, + { "k3", "Sauvola's formulae parameter", "<value>", 0, 1, 0 }, + { "k4", "Sauvola's formulae parameter", "<value>", 0, 1, 0 }, { "min-ntrue", "The number of components in which a site must be set to 'True' in" " order to be set to 'True' in the output (Possible values: 1, 2, 3).", -- 1.7.2.5
participants (1)
-
Guillaume Lazzara