* scribo/binarization/internal/local_threshold_core.hh: Add a
missing include.
* scribo/debug/logger.hh: Fix attributes initialization order.
* scribo/text/paragraphs_closing.hh: Fix a warning related to an
unused-variable.
---
scribo/ChangeLog | 12 ++++++++++++
.../binarization/internal/local_threshold_core.hh | 1 +
scribo/scribo/debug/logger.hh | 4 ++--
scribo/scribo/text/paragraphs_closing.hh | 4 ++--
4 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 6982e6b..e0f9201 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,17 @@
2012-05-22 Guillaume Lazzara <z(a)lrde.epita.fr>
+ Small fixes in Scribo.
+
+ * scribo/binarization/internal/local_threshold_core.hh: Add a
+ missing include.
+
+ * scribo/debug/logger.hh: Fix attributes initialization order.
+
+ * scribo/text/paragraphs_closing.hh: Fix a warning related to an
+ unused-variable.
+
+2012-05-22 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Add a better support for different k values in Sauvola Multiscale.
* scribo/scribo/binarization/internal/sauvola_ms_functor.hh,
diff --git a/scribo/scribo/binarization/internal/local_threshold_core.hh
b/scribo/scribo/binarization/internal/local_threshold_core.hh
index 7589499..1ab7385 100644
--- a/scribo/scribo/binarization/internal/local_threshold_core.hh
+++ b/scribo/scribo/binarization/internal/local_threshold_core.hh
@@ -44,6 +44,7 @@
# include <scribo/util/integral_sum_sum2_functor.hh>
# include <scribo/util/compute_sub_domains.hh>
+# include <scribo/debug/logger.hh>
# ifdef SCRIBO_LOCAL_THRESHOLD_DEBUG
# include <scribo/binarization/internal/local_threshold_debug.hh>
# include <mln/io/pgm/save.hh>
diff --git a/scribo/scribo/debug/logger.hh b/scribo/scribo/debug/logger.hh
index cac2770..95bfeb3 100644
--- a/scribo/scribo/debug/logger.hh
+++ b/scribo/scribo/debug/logger.hh
@@ -243,8 +243,8 @@ namespace scribo
: level_(None),
verbose_mode_(Mute),
default_verbose_mode_(Low),
- stream_(std::cerr),
- verbose_prefix_("LOG: ")
+ verbose_prefix_("LOG: "),
+ stream_(std::cerr)
{
// Magick::InitializeMagick(0);
}
diff --git a/scribo/scribo/text/paragraphs_closing.hh
b/scribo/scribo/text/paragraphs_closing.hh
index 476c14e..9dd28d2 100644
--- a/scribo/scribo/text/paragraphs_closing.hh
+++ b/scribo/scribo/text/paragraphs_closing.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.
@@ -207,7 +207,7 @@ namespace scribo
const paragraph_info<L>& current_par = parset(p);
const mln::util::array<line_id_t>& line_ids = current_par.line_ids();
- line_id_t last_id = line_ids[0];
+ //line_id_t last_id = line_ids[0];
for_all_elements(i, line_ids)
{
const line_id_t& line_id = line_ids(i);
--
1.7.2.5
Show replies by date