1. 30 Jun, 2014 1 commit
  2. 27 Jun, 2014 1 commit
    • Roland Levillain's avatar
      Address compiler warnings in Scribo. · d92a1e52
      Roland Levillain authored
      	* scribo/debug/logger.hh
      	(scribo::debug::internal::logger_::log) [!SCRIBO_NDEBUG]:
      	Avoid warnings about unused arguments in non-debug mode.
      	* scribo/layout/xy_cut.hh
      	(scribo::layout::internal::compute_hist_info_h)
      	(scribo::layout::internal::compute_hist_info_v):
      	Use `def::coord' instead of `int' as coordinate type, to avoid
      	comparisons between signed and unsigned values.
      	* src/misc/rectangularity.cc (main)
      	* tests/binarization/global_threshold.cc (main)
      	* tests/layout/xy_cut.cc (main):
      	Avoid warnings about unused arguments.
      	* tests/core/object_groups.cc (main): Likewise.
      	Use `unsigned' instead of `int' as count/id type, to avoid
      	comparisons between signed and unsigned values.
      d92a1e52
  3. 26 Jun, 2014 1 commit
  4. 25 Jun, 2014 2 commits
  5. 24 Jun, 2014 1 commit
  6. 20 Jun, 2014 3 commits
  7. 19 Jun, 2014 1 commit
    • Roland Levillain's avatar
      Do not use mln_VAR in Scribo. · f303e006
      Roland Levillain authored
      	* scribo/debug/text_areas_image.hh,
      	* src/misc/dmap.cc,
      	* src/misc/morpho.cc,
      	* src/misc/rectangularity.cc,
      	* src/primitive/group/group_from_rag.cc:
      	Here.
      	* scribo/filter/objects_with_holes.hh,
      	* scribo/table/internal/repair_lines.hh,
      	* src/text_recognition_in_picture.cc:
      	Do not include mln/core/var.hh.
      f303e006
  8. 18 Jun, 2014 1 commit
  9. 17 Jun, 2014 1 commit
  10. 31 Mar, 2014 1 commit
    • Roland Levillain's avatar
      Scribo: Improve scribo-cli's `--version' option. · c75b4cfe
      Roland Levillain authored
      	* src/scribo-cli.in: Move the shebang to the first line.
      	(version): Do not hard-code the version number
      	in scribo-cli.
      	Rephrase the copyright owner for uniformity reasons.
      	* src/Makefile.am (do_subst): Also substitute PACKAGE_VERSION.
      c75b4cfe
  11. 13 Feb, 2014 1 commit
  12. 13 Sep, 2013 1 commit
    • Roland Levillain's avatar
      Scribo: Define flags in proper Makefile helpers. · c87f745e
      Roland Levillain authored
      	* common.mk (AM_CPPFLAGS): Remove -I$(top_builddir)/scribo and
      	I$(top_builddir)/milena.
      	Include this file...
      	* doc/Makefile.am: ...here.
      	(AM_CPPFLAGS): Remove.
      	* tests/tests.mk (AM_CPPFLAGS): Add -I$(top_builddir)/scribo.
      c87f745e
  13. 12 Sep, 2013 2 commits
    • Roland Levillain's avatar
      Scribo: Remove `return 0;' statements at end of main(). · a7557b64
      Roland Levillain authored
      	* src/text_in_picture.cc,
      	* src/text_recognition_in_picture.cc,
      	* tests/convert/base64.cc,
      	* tests/estim/font_boldness.cc,
      	* tests/estim/font_color.cc,
      	* tests/toolchain/nepomuk/text_extraction.cc,
      	* tests/util/component_precise_outline.cc:
      	Here.
      a7557b64
    • Roland Levillain's avatar
      Exercise the multi-scale Sauvola binarization with a TIFF image. · 28316a4e
      Roland Levillain authored
      	* tests/img/lena.tiff: New.
      	Generated from Milena's lena.pgm using ImageMagick's convert.
      	* tests/Makefile.am (EXTRA_DIST): Add img/lena.tiff.
      	* tests/binarization/sauvola_ms_tiff.cc: New test.
      	* tests/binarization/sauvola_ms_tiff.ref.pbm: New reference output
      	image.
      	* tests/binarization/Makefile.am (check_PROGRAMS) [HAVE_TIFF]:
      	Add sauvola_ms_tiff.
      	(sauvola_ms_tiff_CPPFLAGS, sauvola_ms_tiff_LDFLAGS) [HAVE_TIFF]:
      	New.
      	(EXTRA_DIST): Add sauvola_ms_tiff.ref.pbm.
      28316a4e
  14. 11 Sep, 2013 2 commits
  15. 10 Sep, 2013 1 commit
  16. 09 Sep, 2013 1 commit
    • Roland Levillain's avatar
      Scribo: Do not look for headers in the build tree uselessly. · e61d93d2
      Roland Levillain authored
      	* doc/Makefile.am (AM_CPPFLAGS): Remove Scribo's build dir from
      	the file inclusion path.
      	* src/Makefile.am
      	(pbm_text_in_doc_CPPFLAGS, text_recognition_in_picture_CPPFLAGS)
      	* src/contest/DAE-2011/Makefile.am
      	(content_in_hdoc_dae_CPPFLAGS, content_in_hdoc_dae_CPPFLAGS)
      	* src/contest/hbr-2013/Makefile.am (content_in_hdoc_hbr_CPPFLAGS)
      	* src/contest/hdlac-2011/Makefile.am (content_in_hdoc_hdlac_CPPFLAGS)
      	* src/contest/hnla-2013/Makefile.am (content_in_hdoc_hnla_CPPFLAGS)
      	* src/text/Makefile.am
      	(pbm_lines_recognition_CPPFLAGS, pbm_recognition_CPPFLAGS)
      	* src/toolchain/nepomuk/Makefile.am (text_extraction_CPPFLAGS)
      	* tests/toolchain/nepomuk/Makefile.am (text_extraction_CPPFLAGS):
      	Remove -I$(top_builddir).
      	* src/pbm_text_in_doc.cc,
      	* src/text/pbm_lines_recognition.cc
      	* src/text/pbm_recognition.cc
      	* src/text_recognition_in_picture.cc
      	* src/toolchain/nepomuk/text_extraction.cc
      	* tests/toolchain/nepomuk/text_extraction.cc
      	[HAVE_CONFIG_H]: Do not include config.h.
      e61d93d2
  17. 30 Aug, 2013 2 commits
  18. 27 Aug, 2013 5 commits
  19. 26 Aug, 2013 2 commits
    • Roland Levillain's avatar
      b1efc3e8
    • Roland Levillain's avatar
      Improve the generation of Doxyfiles in Scribo. · 8f094c6d
      Roland Levillain authored
      	* doc/Makefile.am (edit)
      	($(srcdir)/user-refman.stamp)
      	($(srcdir)/devel-refman.stamp):
      	Use `[@]' instead of `\@' for portability reasons.
      	(ID): New (empty).
      	(edit_devel): Prevent configure from expanding @builddir@.
      	Christen the product as ``Developer documentation''.
      	($(DOXYFILE_USER), $(DOXYFILE_DEVEL)): Do not depend on $Id$ from
      	ChangeLog.
      	* doc/Doxyfile.in (PROJECT_NUMBER): Reintegrate @ID@ to the
      	project number, even if it is not yet set.
      8f094c6d
  20. 23 Aug, 2013 2 commits
  21. 31 Jul, 2013 1 commit
  22. 30 Jul, 2013 3 commits
    • Roland Levillain's avatar
      Fix resizing code in toolchain::internal::text_in_picture_functor. · 215777f7
      Roland Levillain authored
      	* scribo/toolchain/internal/text_in_picture_functor.hh
      	(text_in_picture_functor<I>::get_factor): New precondition: ensure
      	argument `max_dim_size', used as denominator, is non null.
      	(text_in_picture_functor<I>::operator()): Do not resize the image
      	if `max_dim_size' is null.
      	Some cosmetic changes.
      215777f7
    • Roland Levillain's avatar
      Add missing `mln' namespace qualifiers. · 28582ba9
      Roland Levillain authored
      	* scribo/filter/object_groups_with_holes.hh
      	(scribo::filter::impl::generic::object_groups_with_holes)
      	* scribo/primitive/regroup/from_single_left_link.hh
      	(regroup::from_single_left_link(const object_groups<L>&, unsigned)):
      	Here.
      28582ba9
    • Roland Levillain's avatar
      Move to-be-installed header files from src/ to scribo/. · 77cc306a
      Roland Levillain authored
      	* src/afp/components.hh,
      	* src/afp/link.hh,
      	* src/afp/regroup.hh:
      	Move files...
      	* scribo/afp/components.hh,
      	* scribo/afp/link.hh,
      	* scribo/afp/regroup.hh:
      	...here, as they are included by other files located under
      	scribo/, and therefore should be installed as well.
      	* scribo/toolchain/internal/text_in_picture_functor.hh,
      	* src/text_recognition_in_picture.cc:
      	Adjust.
      	* headers.mk,
      	* tests/unit_test/unit-tests.mk:
      	Regen.
      77cc306a
  23. 29 Jul, 2013 1 commit
  24. 25 Jun, 2013 3 commits