Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
31d67263
Commit
31d67263
authored
Aug 23, 2012
by
Guillaume Lazzara
Browse files
Fix call to sauvola_ms.
* scribo/binarization/sauvola_ms.hh, * scribo/binarization/sauvola_ms_split.hh: Here.
parent
56f4535e
Changes
3
Hide whitespace changes
Inline
Side-by-side
scribo/ChangeLog
View file @
31d67263
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.
...
...
scribo/scribo/binarization/sauvola_ms.hh
View file @
31d67263
// 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
;
...
...
scribo/scribo/binarization/sauvola_ms_split.hh
View file @
31d67263
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment