* scribo/binarization/sauvola_ms.hh,
* scribo/binarization/sauvola_ms_split.hh: Here.
---
scribo/ChangeLog | 7 +++++++
scribo/scribo/binarization/sauvola_ms.hh | 4 ++--
scribo/scribo/binarization/sauvola_ms_split.hh | 6 +++---
3 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 521ad29..50431e3 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,12 @@
2012-08-23 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Fix call to sauvola_ms.
+
+ * scribo/binarization/sauvola_ms.hh,
+ * scribo/binarization/sauvola_ms_split.hh: Here.
+
+2012-08-23 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Make use of new logger features.
* src/binarization/global_threshold.cc,
diff --git a/scribo/scribo/binarization/sauvola_ms.hh
b/scribo/scribo/binarization/sauvola_ms.hh
index 5f0f963..3d04629 100644
--- a/scribo/scribo/binarization/sauvola_ms.hh
+++ b/scribo/scribo/binarization/sauvola_ms.hh
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010, 2011 EPITA Research and Development
+// Copyright (C) 2009, 2010, 2011, 2012 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
@@ -1047,7 +1047,7 @@ namespace scribo
integral_t integral_sum_sum_2;
mln_ch_value(I,bool)
- output = sauvola_ms(exact(input_1_), w_1, s, K, integral_sum_sum_2);
+ output = sauvola_ms(input_1_, w_1, s, K, integral_sum_sum_2);
trace::exiting("scribo::binarization::sauvola_ms");
return output;
diff --git a/scribo/scribo/binarization/sauvola_ms_split.hh
b/scribo/scribo/binarization/sauvola_ms_split.hh
index cbef524..ff16a4e 100644
--- a/scribo/scribo/binarization/sauvola_ms_split.hh
+++ b/scribo/scribo/binarization/sauvola_ms_split.hh
@@ -107,9 +107,9 @@ namespace scribo
bin_t r_b, g_b, b_b;
- r_b = impl::generic::sauvola_ms(r_i, w_1, s, K);
- g_b = impl::generic::sauvola_ms(g_i, w_1, s, K);
- b_b = impl::generic::sauvola_ms(b_i, w_1, s, K);
+ r_b = sauvola_ms(r_i, w_1, s, K);
+ g_b = sauvola_ms(g_i, w_1, s, K);
+ b_b = sauvola_ms(b_i, w_1, s, K);
border::resize(r_b, input_1.border());
border::resize(g_b, input_1.border());
--
1.7.2.5