1. 02 Nov, 2010 6 commits
  2. 28 Oct, 2010 3 commits
    • Guillaume Lazzara's avatar
      Small fixes in Scribo · bcad23e4
      Guillaume Lazzara authored
      	* scribo/binarization/global_threshold.hh: Add a fixme.
      
      	* scribo/binarization/global_threshold_auto.hh: Make the result
      	consistent with other binarization methods.
      
      	* scribo/preprocessing/deskew.hh: Use mln_min(V) as background
      	value anymore.
      
      	* src/preprocessing/preprocess.cc: Do not negate anymore. Don't
      	pass const nlabel value.
      bcad23e4
    • Guillaume Lazzara's avatar
      Add tests for objects filtering routines. · e313ea20
      Guillaume Lazzara authored
      	* tests/filter/Makefile.am: Add targets.
      
      	* tests/filter/components_large.cc,
      	* tests/filter/components_small.cc: New.
      
      	* tests/filter/small_and_large_bboxes.cc: Remove. Depracted.
      e313ea20
    • Guillaume Lazzara's avatar
      Fix objects filtering routines. · 8022d3d0
      Guillaume Lazzara authored
      	* scribo/filter/objects_large.hh: Add an overload.
      
      	* scribo/filter/objects_small.hh: Fix undefined variable.
      
      	* scribo/fun/v2b/objects_large_filter.hh,
      	* scribo/fun/v2b/objects_small_filter.hh: Correctly count the non
      	filtered object.
      8022d3d0
  3. 26 Oct, 2010 8 commits
    • Guillaume Lazzara's avatar
      Change return value for background in filtering functions. · 66683946
      Guillaume Lazzara authored
      	* scribo/filter/objects_h_thick.hh,
      	* scribo/filter/objects_h_thin.hh,
      	* scribo/filter/objects_size_ratio.hh,
      	* scribo/filter/objects_small.hh,
      	* scribo/filter/objects_thick.hh,
      	* scribo/filter/objects_thin.hh,
      	* scribo/filter/objects_v_thick.hh,
      	* scribo/filter/objects_v_thin.hh: Here.
      
      	* scribo/fun/v2b/objects_large_filter.hh,
      	* scribo/fun/v2b/objects_small_filter.hh: Here. Count the non
      	filtered objects.
      66683946
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Rename examples. · e03994db
      Guillaume Lazzara authored
      	* src/binarization/Makefile.am: Rename targets.
      
      	* src/binarization/fg_sauvola_ms.cc,
      	* src/binarization/ppm_fg_sauvola_ms.cc: Rename as...
      
      	* src/binarization/ppm_sauvola_ms_fg.cc,
      	* src/binarization/sauvola_ms_fg.cc: ...this.
      e03994db
    • Guillaume Lazzara's avatar
      headers.mk: Regen. · fb411ccc
      Guillaume Lazzara authored
      fb411ccc
    • Guillaume Lazzara's avatar
      Add a preprocessing toolchain. · ab11b69b
      Guillaume Lazzara authored
      	* scribo/toolchain/text_in_doc_preprocess.hh: New.
      
      	* src/text_in_doc_preprocess.cc: Make use of this new toolchain.
      ab11b69b
    • Guillaume Lazzara's avatar
      Fix namespace ambiguities. · f3d71b38
      Guillaume Lazzara authored
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/binarization/sauvola_threshold_image.hh,
      	* scribo/preprocessing/deskew.hh,
      	* scribo/subsampling/integral_single_image.hh: Add mln:: prefix.
      f3d71b38
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Support for Tesseract 2.x and 3.x in Scribo. · 2eafecb0
      Guillaume Lazzara authored
      	* scribo/text/recognition.hh: Use the correct code depending on
      	Tesseract version.
      
      	* scribo/toolchain/nepomuk/text_extraction.hh: Add few comments
      	about how to handle Tesseract versions.
      
      	* src/Makefile.am,
      	* src/text/Makefile.am,
      	* src/toolchain/nepomuk/Makefile.am,
      	* tests/toolchain/nepomuk/Makefile.am: Add path to config.h.
      
      	* 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: Include config.h
      2eafecb0
  4. 25 Oct, 2010 6 commits
    • Guillaume Lazzara's avatar
      Cleanup files. · 677cf61d
      Guillaume Lazzara authored
      	* scribo/debug/usage.hh,
      	* scribo/text/recognition.hh: Remove useless comments.
      677cf61d
    • Guillaume Lazzara's avatar
      Add a new example. · a912c618
      Guillaume Lazzara authored
      	* src/Makefile.am: Add toolchain subdir.
      
      	* src/toolchain/Makefile.am,
      	* src/toolchain/nepomuk/Makefile.am,
      	* src/toolchain/nepomuk/text_extraction.cc: New.
      a912c618
    • Guillaume Lazzara's avatar
      df42e566
    • Guillaume Lazzara's avatar
      Update tests in Scribo. · c24234ae
      Guillaume Lazzara authored
      	* tests/binarization/global_threshold.cc,
      	* tests/binarization/local_threshold.cc,
      	* tests/primitive/link/merge_double_link.cc: Fix tests.
      
      	* tests/core/Makefile.am: Add a new test.
      
      	* tests/core/line_info.cc: New.
      
      	* tests/filter/small_and_large_bboxes.cc: Remove useless arguments.
      
      	* tests/img/pixels.pbm: Update.
      c24234ae
    • Guillaume Lazzara's avatar
      Small fixes in Scribo · c5f99a53
      Guillaume Lazzara authored
      	* scribo/core/line_info.hh: Fix invalid extended bboxes.
      
      	* src/text_in_doc_preprocess.cc: Do not invert data anymore.
      
      	* tests/filter/objects_with_holes.cc: Remove useless arguments.
      c5f99a53
    • Guillaume Lazzara's avatar
      Add a new test for primitive::link::merge_double_link. · 74fe4647
      Guillaume Lazzara authored
      	* tests/img/pixels.pbm: New test image.
      
      	* tests/Makefile.am (SUBDIRS): add primitive directory.
      
      	* tests/primitive/Makefile.am,
      	* tests/primitive/link/Makefile.am,
      	* tests/primitive/link/merge_double_link.cc: New.
      74fe4647
  5. 22 Oct, 2010 3 commits
  6. 21 Oct, 2010 4 commits
    • Guillaume Lazzara's avatar
      Small fixes in Scribo · 9c95965d
      Guillaume Lazzara authored
      	* scribo/primitive/link/compute.hh: Update doc.
      
      	* scribo/primitive/link/internal/link_single_dmax_base.hh
      	(start_point_): Remove useless overload.
      
      	* scribo/primitive/link/with_single_left_link_dmax_ratio.hh:
      	Remove useless template parameter.
      
      	* scribo/text/merging.hh: Disable debug.
      
      	* scribo/toolchain/nepomuk/text_extraction.hh: Enable denoising
      	and reduce Sauvola's window size.
      9c95965d
    • Guillaume Lazzara's avatar
      Fix issues with object_links and ignored components. · 87288fed
      Guillaume Lazzara authored
      	* scribo/filter/object_links_bbox_overlap.hh,
      	* scribo/filter/object_links_bbox_ratio.hh,
      	* scribo/filter/object_links_non_aligned_simple.hh,
      	* scribo/primitive/link/merge_double_link.hh: Ignore invalid links.
      87288fed
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Make use of value::next routine in Scribo. · b63755a6
      Guillaume Lazzara authored
      	* scribo/core/component_set.hh,
      	* scribo/core/line_set.hh,
      	* scribo/core/object_links.hh,
      	* scribo/debug/highlight_text_area.hh,
      	* scribo/filter/object_groups_with_holes.hh,
      	* scribo/filter/objects_with_holes.hh,
      	* scribo/postprocessing/fill_object_holes.hh,
      	* scribo/table/internal/align_lines.hh: Use value::next to replace
      	evil casts.
      b63755a6
  7. 11 Oct, 2010 1 commit
    • Guillaume Lazzara's avatar
      Fix namespace ambiguities. · 396cb068
      Guillaume Lazzara authored
      	* scribo/binarization/internal/first_pass_functor.hh,
      	* scribo/binarization/sauvola_threshold_image.hh,
      	* scribo/subsampling/integral_single_image.hh: Add mln:: prefix.
      396cb068
  8. 24 Aug, 2010 2 commits
  9. 13 Aug, 2010 1 commit
  10. 12 Aug, 2010 2 commits
  11. 11 Aug, 2010 2 commits
    • Guillaume Lazzara's avatar
      Fix warnings with g++-4.1 in Scribo. · b265090a
      Guillaume Lazzara authored
      	* scribo/binarization/internal/first_pass_functor.hh,
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/binarization/sauvola_threshold_image.hh,
      	* scribo/binarization/sauvola_threshold_image_debug.hh,
      	* scribo/postprocessing/fill_object_holes.hh,
      	* scribo/preprocessing/deskew.hh,
      	* scribo/primitive/extract/lines_pattern.hh,
      	* scribo/subsampling/bilinear.hh,
      	* scribo/subsampling/integral_single_image.hh,
      	* scribo/text/clean_inplace.hh,
      	* src/debug/show_links_several_right_overlap.cc,
      	* src/debug/show_links_single_down.cc,
      	* src/debug/show_links_single_down_left_aligned.cc,
      	* src/debug/show_links_single_down_right_aligned.cc,
      	* src/debug/show_links_single_left.cc,
      	* src/debug/show_links_single_right.cc,
      	* src/debug/show_links_single_up.cc,
      	* src/debug/show_links_single_up_left_aligned.cc,
      	* src/debug/show_links_single_up_right_aligned.cc: explicitly
      	convert to a specific type when necessary.
      b265090a
    • Guillaume Lazzara's avatar
      Regen headers.mk and unit-tests.mk in Scribo. · be773a94
      Guillaume Lazzara authored
      	* headers.mk,
      	* tests/unit_test/unit-tests.mk: Regen.
      be773a94
  12. 10 Aug, 2010 2 commits
    • Guillaume Lazzara's avatar
      Update READMEs. · 3c2ce9bb
      Guillaume Lazzara authored
      	* README,
      	* src/README: Add few details about the content.
      3c2ce9bb
    • Guillaume Lazzara's avatar
      Update Scribo include paths. · d34c8dd4
      Guillaume Lazzara authored
      	* Makefile.am,
      	* tests/unit_test/Makefile.am: Fix path of generated header list.
      
      	* src/text_in_picture.cc,
      	* src/text_recognition_in_picture.cc,
      	* tests/filter/objects_with_holes.cc,
      	* tests/filter/small_and_large_bboxes.cc,
      	* tests/preprocessing/crop.cc,
      	* tests/preprocessing/crop_without_localization.cc,
      	* tests/preprocessing/deskew.cc,
      	* tests/preprocessing/rotate_90.cc,
      	* tests/table/extract_lines_with_rank.cc,
      	* tests/table/repair_lines.cc,
      	* tests/toolchain/nepomuk/text_extraction.cc: Fix path to data.hh.
      
      	* demo/demat/demat.pro,
      	* demo/wizard/wizard.pro,
      	* scribo.mk,
      	* tests/tests.mk: Set correct path to Scribo includes.
      
      	* headers.mk,
      	* tests/unit_test/unit-tests.mk: Regen.
      d34c8dd4