Commit 31d67263 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Fix call to sauvola_ms.

	* scribo/binarization/sauvola_ms.hh,
	* scribo/binarization/sauvola_ms_split.hh: Here.
parent 56f4535e
2012-08-23 Guillaume Lazzara <z@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@lrde.epita.fr>
Make use of new logger features.
......
// 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;
......
......@@ -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());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment