
* scribo/primitive/extract/lines_h_single.hh: Fix an invalid function name. * scribo/text/extract_paragraphs_hdoc.hh: Remove useless inline keyword. * scribo/toolchain/text_in_doc_preprocess.hh: Fix argument name. --- scribo/ChangeLog | 12 ++++++++++++ scribo/scribo/primitive/extract/lines_h_single.hh | 6 +++--- scribo/scribo/text/extract_paragraphs_hdoc.hh | 5 ++--- scribo/scribo/toolchain/text_in_doc_preprocess.hh | 2 +- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index 3bdcd00..5c0905a 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,5 +1,17 @@ 2013-03-20 Guillaume Lazzara <z@lrde.epita.fr> + Small fixes. + + * scribo/primitive/extract/lines_h_single.hh: Fix an invalid + function name. + + * scribo/text/extract_paragraphs_hdoc.hh: Remove useless inline + keyword. + + * scribo/toolchain/text_in_doc_preprocess.hh: Fix argument name. + +2013-03-20 Guillaume Lazzara <z@lrde.epita.fr> + * scribo/binarization/sauvola_ms.hh: Add a new overload and preconditions. diff --git a/scribo/scribo/primitive/extract/lines_h_single.hh b/scribo/scribo/primitive/extract/lines_h_single.hh index c3e5794..ab262ab 100644 --- a/scribo/scribo/primitive/extract/lines_h_single.hh +++ b/scribo/scribo/primitive/extract/lines_h_single.hh @@ -1,5 +1,5 @@ -// Copyright (C) 2009, 2010, 2011, 2012 EPITA Research and Development -// Laboratory (LRDE) +// Copyright (C) 2009, 2010, 2011, 2012, 2013 EPITA Research and +// Development Laboratory (LRDE) // // This file is part of Olena. // @@ -71,7 +71,7 @@ namespace scribo */ template <typename I, typename N, typename V> component_set<mln_ch_value(I,V)> - lines_v_single(const Image<I>& input, + lines_h_single(const Image<I>& input, const Neighborhood<N>& nbh, const V& nlines, unsigned min_line_length, float w_h_ratio); diff --git a/scribo/scribo/text/extract_paragraphs_hdoc.hh b/scribo/scribo/text/extract_paragraphs_hdoc.hh index a7ba0b8..cc379cb 100644 --- a/scribo/scribo/text/extract_paragraphs_hdoc.hh +++ b/scribo/scribo/text/extract_paragraphs_hdoc.hh @@ -1,4 +1,4 @@ -// Copyright (C) 2010, 2011, 2012 EPITA Research and Development +// Copyright (C) 2010, 2011, 2012, 2013 EPITA Research and Development // Laboratory (LRDE) // // This file is part of Olena. @@ -64,10 +64,10 @@ namespace scribo { /*! \brief Extract paragraph in old documents. + \ingroup grptext */ template <typename L> - inline paragraph_set<L> extract_paragraphs_hdoc(line_set<L>& lines, const image2d<bool>& input); @@ -1275,7 +1275,6 @@ namespace scribo template <typename L> - inline paragraph_set<L> extract_paragraphs_hdoc(line_set<L>& lines, const image2d<bool>& input) diff --git a/scribo/scribo/toolchain/text_in_doc_preprocess.hh b/scribo/scribo/toolchain/text_in_doc_preprocess.hh index 881f0d5..d6c7dc5 100644 --- a/scribo/scribo/toolchain/text_in_doc_preprocess.hh +++ b/scribo/scribo/toolchain/text_in_doc_preprocess.hh @@ -127,7 +127,7 @@ namespace scribo */ template <typename I> mln_ch_value(I,bool) - text_in_doc_preprocess(const Image<I>& input_, unsigned lambda, + text_in_doc_preprocess(const Image<I>& input, unsigned lambda, double k2, double k3, double k4, bool enable_fg_bg, Image<I>& fg, bool enable_deskew, bool verbose); -- 1.7.2.5