1. 10 Aug, 2010 2 commits
    • Guillaume Lazzara's avatar
      Remove deprecated references to object_image. · cb1501f5
      Guillaume Lazzara authored
      	* core/object_image.hh: Remove.
      
      	* filter/object_groups_size_ratio.hh,
      	* filter/object_links_bbox_w_ratio.hh,
      	* filter/object_links_left_aligned.hh,
      	* filter/object_links_right_aligned.hh,
      	* primitive/extract/lines_h_thick_and_single.hh,
      	* primitive/extract/lines_v_thick_and_single.hh,
      	* primitive/link/internal/find_several_links.hh,
      	* primitive/link/internal/link_several_dmax_base.hh,
      	* primitive/link/with_single_up_link.hh,
      	* src/debug/show_links_left_right_links_validation.cc,
      	* src/primitive/find/find_discontinued_lines.cc,
      	* src/primitive/find/find_pattern_lines.cc,
      	* tests/filter/small_and_large_bboxes.cc,
      	* src/primitive/group/group_from_double_link_filter_non_aligned.cc:
      	Remove include of object_image.hh.
      cb1501f5
    • Guillaume Lazzara's avatar
      Fix compilation of Scribo tools. · c05d4df5
      Guillaume Lazzara authored
      	* src/debug/show_links_bbox_overlap.cc,
      	* src/debug/show_links_center_aligned.cc,
      	* src/debug/show_links_non_h_aligned.cc,
      	* src/debug/show_links_several_right.cc,
      	* 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_left_dmax_ratio.cc,
      	* src/debug/show_links_single_right.cc,
      	* src/debug/show_links_single_right_dmax_ratio.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,
      	* src/debug/show_objects_large.cc,
      	* src/debug/show_objects_large_small.cc,
      	* src/debug/show_objects_small.cc,
      	* src/debug/show_objects_thick.cc,
      	* src/debug/show_objects_thin.cc,
      	* src/filter/objects_large.cc,
      	* src/filter/objects_small.cc,
      	* src/filter/objects_thick.cc,
      	* src/filter/objects_thin.cc,
      	* src/filter/objects_with_holes.cc,
      	* src/filter/objects_with_holes_pgm.cc,
      	* src/preprocessing/preprocess.cc,
      	* src/preprocessing/split_bg_fg.cc,
      	* src/preprocessing/unskew.cc,
      	* src/primitive/extract/extract_discontinued_hlines.cc,
      	* src/primitive/extract/extract_discontinued_lines.cc,
      	* src/primitive/extract/extract_discontinued_vlines.cc,
      	* src/primitive/extract/extract_thick_hlines.cc,
      	* src/primitive/extract/extract_thick_vlines.cc,
      	* src/primitive/find/find_discontinued_lines.cc,
      	* src/primitive/find/find_single_lines.cc,
      	* src/primitive/find/find_thick_and_single_lines.cc,
      	* src/primitive/find/find_thick_lines.cc,
      	* src/primitive/group/Makefile.am,
      	* src/primitive/group/group_from_double_link.cc,
      	* src/primitive/group/group_from_double_several_links.cc,
      	* src/primitive/group/group_from_several_left_links.cc,
      	* src/primitive/group/group_from_single_link.cc,
      	* src/table/erase.cc,
      	* src/text/cleantxt.cc: Here.
      c05d4df5
  2. 28 Sep, 2009 1 commit
    • Guillaume Lazzara's avatar
      Cleanup scribo/src directory. · dcccb9f5
      Guillaume Lazzara authored
      	* src/text/Makefile.am,
      	* src/Makefile.am,
      	* src/filter/Makefile.am,
      	* src/table/Makefile.am,
      	* src/preprocessing/Makefile.am: Add new targets.
      
      	* src/dmap.cc,
      	* src/extract/Makefile.am,
      	* src/extract/Makefile.am,
      	* src/extract/primitive/Makefile.am,
      	* src/extract/primitive/Makefile.am,
      	* src/extract/primitive/extract_discontinued_hlines.cc,
      	* src/extract/primitive/extract_discontinued_lines.cc,
      	* src/extract/primitive/extract_discontinued_vlines.cc,
      	* src/extract/primitive/extract_thick_hlines.cc,
      	* src/extract/primitive/extract_thick_vlines.cc,
      	* src/extract/primitive/find_discontinued_lines.cc,
      	* src/extract/primitive/find_pattern_lines.cc,
      	* src/extract/primitive/find_single_lines.cc,
      	* src/extract/primitive/find_thick_and_single_lines.cc,
      	* src/extract/primitive/find_thick_lines.cc,
      	* src/filter/large_objects.cc,
      	* src/filter/small_objects.cc,
      	* src/filter/thick_objects.cc,
      	* src/filter/thin_objects.cc,
      	* src/morpho.cc,
      	* src/negate.cc,
      	* src/preprocess.cc,
      	* src/recognition.cc,
      	* src/rectangularity.cc,
      	* src/superpose.cc,
      	* src/table_rebuild_opening.cc,
      	* src/table_rebuild_rank.cc,
      	* src/text/grouping/Makefile.am,
      	* src/text/grouping/group_from_double_link.cc,
      	* src/text/grouping/group_from_double_link_filter_non_aligned.cc,
      	* src/text/grouping/group_from_double_several_links.cc,
      	* src/text/grouping/group_from_graph.cc,
      	* src/text/grouping/group_from_several_graph.cc,
      	* src/text/grouping/group_from_several_left_links.cc,
      	* src/text/grouping/group_from_single_link.cc: Move ...
      
      	* src/filter/objects_large.cc,
      	* src/filter/objects_small.cc,
      	* src/filter/objects_thick.cc,
      	* src/filter/objects_thin.cc,
      	* src/misc/Makefile.am,
      	* src/misc/dmap.cc,
      	* src/misc/morpho.cc,
      	* src/misc/negate.cc,
      	* src/misc/rectangularity.cc,
      	* src/misc/superpose.cc,
      	* src/preprocessing/preprocess.cc,
      	* src/primitive/Makefile.am,
      	* src/primitive/extract/Makefile.am,
      	* src/primitive/extract/extract_discontinued_hlines.cc,
      	* src/primitive/extract/extract_discontinued_lines.cc,
      	* src/primitive/extract/extract_discontinued_vlines.cc,
      	* src/primitive/extract/extract_thick_hlines.cc,
      	* src/primitive/extract/extract_thick_vlines.cc,
      	* src/primitive/find/Makefile.am,
      	* src/primitive/find/find_discontinued_lines.cc,
      	* src/primitive/find/find_pattern_lines.cc,
      	* src/primitive/find/find_single_lines.cc,
      	* src/primitive/find/find_thick_and_single_lines.cc,
      	* src/primitive/find/find_thick_lines.cc,
      	* src/primitive/group/Makefile.am,
      	* src/primitive/group/group_from_double_link.cc,
      	* src/primitive/group/group_from_double_link_filter_non_aligned.cc,
      	* src/primitive/group/group_from_double_several_links.cc,
      	* src/primitive/group/group_from_graph.cc,
      	* src/primitive/group/group_from_rag.cc,
      	* src/primitive/group/group_from_several_graph.cc,
      	* src/primitive/group/group_from_several_left_links.cc,
      	* src/primitive/group/group_from_single_link.cc,
      	* src/table/rebuild_opening.cc,
      	* src/table/rebuild_rank.cc,
      	* src/text/recognition.cc: ... here.
      
      	* src/table_old.cc: Remove.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4559 4aad255d-cdde-0310-9447-f3009e2ae8c0
      dcccb9f5
  3. 25 Aug, 2009 3 commits
    • Guillaume Lazzara's avatar
      Rename filters. · 2ace11e4
      Guillaume Lazzara authored
      	* filter/all.hh: Update includes.
      
      	* filter/large_objects.hh,
      	* filter/small_object_groups.hh,
      	* filter/small_objects.hh,
      	* filter/thick_objects.hh,
      	* filter/thin_objects.hh
      	* fun/v2b/small_objects_filter.hh: Move ...
      
      	* filter/object_groups_small.hh,
      	* filter/objects_large.hh,
      	* filter/objects_small.hh,
      	* filter/objects_thick.hh,
      	* filter/objects_thin.hh,
      	* fun/v2b/objects_small_filter.hh: ... here.
      
      	* src/filter/large_objects.cc,
      	* src/filter/small_objects.cc,
      	* src/filter/thick_objects.cc,
      	* src/filter/thin_objects.cc,
      	* src/preprocess.cc,
      	* src/recognition.cc,
      	* src/text/grouping/group_from_double_link.cc,
      	* src/text/grouping/group_from_double_several_links.cc,
      	* src/text/grouping/group_from_rag.cc,
      	* src/text_in_photo.cc,
      	* src/thin_bboxes.cc,
      	* tests/filter/small_and_large_bboxes.cc: Update function calls
      	and includes.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4402 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2ace11e4
    • Guillaume Lazzara's avatar
      Mass renaming/cleanup in Scribo. · 446669f3
      Guillaume Lazzara authored
      	* extract/primitive/canvas.hh,
      	* extract/primitive/cells.hh,
      	* extract/primitive/lines_discontinued.hh,
      	* extract/primitive/lines_h_discontinued.hh,
      	* extract/primitive/lines_h_pattern.hh,
      	* extract/primitive/lines_h_single.hh,
      	* extract/primitive/lines_h_thick.hh,
      	* extract/primitive/lines_pattern.hh,
      	* extract/primitive/lines_thick.hh,
      	* extract/primitive/lines_v_discontinued.hh,
      	* extract/primitive/lines_v_pattern.hh,
      	* extract/primitive/lines_v_single.hh,
      	* extract/primitive/lines_v_thick.hh,
      	* extract/primitive/objects.hh,
      	* text/grouping/group_from_double_link.hh,
      	* text/grouping/group_from_graph.hh,
      	* text/grouping/group_from_single_link.hh,
      	* text/grouping/group_with_graph.hh,
      	* text/grouping/group_with_rag.hh,
      	* text/grouping/group_with_several_graphes.hh,
      	* text/grouping/group_with_several_left_links.hh,
      	* text/grouping/group_with_several_right_links.hh,
      	* text/grouping/group_with_single_left_link.hh,
      	* text/grouping/group_with_single_right_link.hh,
      	* text/grouping/internal/find_graph_link.hh,
      	* text/grouping/internal/find_root.hh,
      	* text/grouping/internal/have_link_valid.hh,
      	* text/grouping/internal/init_link_array.hh,
      	* text/grouping/internal/init_link_array.hh,
      	* text/grouping/internal/is_link_valid.hh,
      	* text/grouping/internal/update_link_array.hh: Move...
      
      	* primitive/extract/canvas.hh,
      	* primitive/extract/cells.hh,
      	* primitive/extract/lines_discontinued.hh,
      	* primitive/extract/lines_h_discontinued.hh,
      	* primitive/extract/lines_h_pattern.hh,
      	* primitive/extract/lines_h_single.hh,
      	* primitive/extract/lines_h_thick.hh,
      	* primitive/extract/lines_pattern.hh,
      	* primitive/extract/lines_thick.hh,
      	* primitive/extract/lines_v_discontinued.hh,
      	* primitive/extract/lines_v_pattern.hh,
      	* primitive/extract/lines_v_single.hh,
      	* primitive/extract/lines_v_thick.hh,
      	* primitive/extract/objects.hh,
      	* primitive/group/from_double_link.hh,
      	* primitive/group/from_graph.hh,
      	* primitive/group/from_single_link.hh,
      	* primitive/internal/find_graph_link.hh,
      	* primitive/internal/find_root.hh,
      	* primitive/internal/have_link_valid.hh,
      	* primitive/internal/init_link_array.hh,
      	* primitive/internal/is_link_valid.hh,
      	* primitive/internal/update_graph_link.hh,
      	* primitive/link/with_graph.hh,
      	* primitive/link/with_rag.hh,
      	* primitive/link/with_several_graphes.hh,
      	* primitive/link/with_several_left_links.hh,
      	* primitive/link/with_several_right_links.hh,
      	* primitive/link/with_single_left_link.hh,
      	* primitive/link/with_single_right_link.hh: ... here.
      
      	* text/all.hh,
      	* all.hh: Update includes.
      
      	* draw/bounding_box_links.hh
      	* filter/large_objects.hh
      	* filter/small_object_groups.hh
      	* filter/thick_objects.hh
      	* filter/thin_objects.hh
      	* src/extract/primitive/extract_discontinued_hlines.cc
      	* src/extract/primitive/extract_discontinued_lines.cc
      	* src/extract/primitive/extract_discontinued_vlines.cc
      	* src/extract/primitive/extract_thick_hlines.cc
      	* src/extract/primitive/extract_thick_vlines.cc
      	* src/extract/primitive/find_discontinued_lines.cc
      	* src/extract/primitive/find_single_lines.cc
      	* src/extract/primitive/find_thick_lines.cc
      	* src/filter/large_objects.cc
      	* src/filter/small_objects.cc
      	* src/filter/thick_objects.cc
      	* src/filter/thin_objects.cc
      	* src/recognition.cc
      	* src/table/erase.cc
      	* src/table_rebuild_opening.cc
      	* src/table_rebuild_rank.cc
      	* src/text/grouping/group_from_double_link.cc
      	* src/text/grouping/group_from_double_several_links.cc
      	* src/text/grouping/group_from_graph.cc
      	* src/text/grouping/group_from_rag.cc
      	* src/text/grouping/group_from_several_graph.cc
      	* src/text/grouping/group_from_several_left_links.cc
      	* src/text/grouping/group_from_single_link.cc
      	* src/text_in_photo.cc
      	* table/extract.hh
      	* table/internal/repair_lines.hh
      	* tests/filter/small_and_large_bboxes.cc
      	* tests/table/extract_lines_with_rank.cc
      	* text/extract_lines.hh: Update function calls and includes.
      
      	* filter/small_objects.hh: Update function calls and includes, and
      	use a functor.
      
      	* fun/v2b/small_objects_filter.hh: New filter functor.
      
      	* tests/unit_test/unit-tests.mk,
      	* headers.mk: Regen.
      
      	* make/influence_zone_graph.hh: Fix wrong namespace.
      
      	* primitive/group/apply.hh: New routine.
      
      	* primitive/link/all.hh,
      	* primitive/group/all.hh: New.
      
      
      	* text/grouping/internal/all.hh,
      	* text/grouping/internal/find_left_link.hh,
      	* text/grouping/internal/find_right_link.hh,
      	* text/grouping/internal/init_link_array.hh,
      	* text/grouping/internal/update_graph_link.hh: Move...
      
      	* primitive/internal/all.hh,
      	* primitive/internal/find_left_link.hh,
      	* primitive/internal/find_right_link.hh,
      	* primitive/internal/init_link_array.hh,
      	* primitive/internal/update_graph_link.hh: ... here.
      
      	* primitive/link/merge_double_link.hh: New routine.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4401 4aad255d-cdde-0310-9447-f3009e2ae8c0
      446669f3
    • Guillaume Lazzara's avatar
      Move example files. · 1c7b91ad
      Guillaume Lazzara authored
      	* src/Makefile.am: update.
      
      	* src/text/Makefile.am,
      	* src/text/grouping/Makefile.am: New.
      
      	* src/extract_text_double_link.cc,
      	* src/extract_text_double_several_links.cc,
      	* src/extract_text_graph.cc,
      	* src/extract_text_several_graph.cc,
      	* src/extract_text_several_left_links.cc,
      	* src/extract_text_single_link.cc: Move...
      
      	* src/text/grouping/group_from_double_link.cc,
      	* src/text/grouping/group_from_double_several_links.cc,
      	* src/text/grouping/group_from_graph.cc,
      	* src/text/grouping/group_from_several_graph.cc,
      	* src/text/grouping/group_from_several_left_links.cc,
      	* src/text/grouping/group_from_single_link.cc: ... here.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4386 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1c7b91ad
  4. 03 Jul, 2009 1 commit
    • Guillaume Lazzara's avatar
      Update Scribo. · 171c5729
      Guillaume Lazzara authored
      	* src/extract_text_double_link.cc: Improve usage output and add new
      	parameters to be passed as arguments.
      
      	* src/recognition.cc: Add a new program argument.
      
      	* text/clean.hh: Disable cleaning for now.
      
      	* text/recognition.hh: may store the recognized text into a file.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4233 4aad255d-cdde-0310-9447-f3009e2ae8c0
      171c5729
  5. 11 Jun, 2009 1 commit
    • Guillaume Lazzara's avatar
      Fix Scribo · e2b7e14d
      Guillaume Lazzara authored
      	* core/all.hh
      	* debug/all.hh
      	* text/all.hh
      	* filter/all.hh
      	* table/all.hh
      
      	* demo/Makefile.am
      	* src/Makefile.am
      	* src/extract/primitive/Makefile.am
      
      	* core/erase_bboxes.hh: move...
      	* core/erase_objects.hh: ...here.
      
      	* debug/save_textbboxes_image.hh: move...
      	* debug/save_bboxes_image.hh: ...here.
      
      	* debug/save_label_image.hh,
      	* debug/save_linked_bboxes_image.hh,
      	* debug/save_linked_textbboxes_image.hh,
      	* debug/usage.hh,
      	* extract/lines_discontinued.hh,
      	* extract/primitive/canvas.hh,
      	* extract/primitive/cells.hh,
      	* extract/primitive/lines_discontinued.hh,
      	* filter/small_objects.hh,
      	* filter/thin_objects.hh,
      	* make/influence_zone_graph.hh,
      	* src/binarization/simple.cc,
      	* src/extract/primitive/extract_discontinued_hlines.cc,
      	* src/extract/primitive/extract_discontinued_lines.cc,
      	* src/extract/primitive/extract_discontinued_vlines.cc,
      	* src/extract/primitive/extract_thick_hlines.cc,
      	* src/extract/primitive/extract_thick_vlines.cc,
      	* src/extract/primitive/find_discontinued_lines.cc,
      	* src/extract_text_double_link.cc,
      	* src/extract_text_double_several_links.cc,
      	* src/extract_text_graph.cc,
      	* src/extract_text_several_graph.cc,
      	* src/extract_text_several_left_links.cc,
      	* src/extract_text_single_link.cc,
      	* src/morpho.cc,
      	* src/negate.cc,
      	* src/preprocess.cc,
      	* src/preprocessing/unskew.cc,
      	* src/recognition.cc,
      	* src/superpose.cc,
      	* src/table/erase.cc,
      	* src/table/extract.cc,
      	* src/table_rebuild_opening.cc,
      	* src/table_rebuild_rank.cc,
      	* src/text_in_photo.cc,
      	* src/thin_bboxes.cc,
      	* table/align_lines_horizontaly.hh,
      	* table/align_lines_verticaly.hh,
      	* table/connect_horizontal_lines.hh,
      	* table/connect_vertical_lines.hh,
      	* table/erase.hh,
      	* table/extract.hh,
      	* table/internal/align_lines.hh,
      	* table/internal/connect_lines.hh,
      	* table/internal/repair_lines.hh,
      	* table/rebuild.hh,
      	* table/repair_horizontal_lines.hh,
      	* table/repair_vertical_lines.hh,
      	* tests/filter/small_and_large_bboxes.cc,
      	* tests/preprocessing/unskew.cc,
      	* tests/table/extract_lines_with_rank.cc,
      	* tests/table/repair_lines.cc,
      	* text/clean.hh,
      	* text/extract_lines.hh,
      	* text/grouping/group_from_double_link.hh,
      	* text/grouping/group_from_graph.hh,
      	* text/grouping/group_from_single_link.hh,
      	* text/grouping/group_with_graph.hh,
      	* text/grouping/group_with_several_graphes.hh,
      	* text/grouping/group_with_several_right_links.hh,
      	* text/grouping/internal/find_graph_link.hh,
      	* text/grouping/internal/find_right_link.hh,
      	* text/grouping/internal/update_graph_link.hh,
      	* text/grouping/internal/update_link_array.hh: fix compilation.
      	  - Add missing includes.
      	  - Use object image.
      
      	* tests/unit_test/build_unit_test.sh: do not use some files for unit
      	tests.
      
      	* tests/unit_test/unit-tests.mk: update list.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4098 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e2b7e14d
  6. 09 Jun, 2009 1 commit
    • Guillaume Lazzara's avatar
      Update license headers in Scribo. · f25c091f
      Guillaume Lazzara authored
      	* Makefile.am,
      	* scribo.mk,
      	* src/binarization/Makefile.am,
      	* src/extract/Makefile.am,
      	* src/extract/primitive/Makefile.am,
      	* src/Makefile.am,
      	* src/filter/Makefile.am,
      	* src/preprocessing/Makefile.am,
      	* src/table/Makefile.am,
      	* tests/Makefile.am,
      	* tests/filter/Makefile.am,
      	* tests/preprocessing/Makefile.am,
      	* tests/table/Makefile.am,
      	* tests/text/Makefile.am,
      	* tests/unit_test/Makefile.am: add missing headers.
      
      	* all.hh,
      	* binarization/simple.hh,
      	* core/all.hh,
      	* core/central_sites.hh,
      	* core/erase_bboxes.hh,
      	* core/macros.hh,
      	* core/object_image.hh,
      	* debug/all.hh,
      	* debug/save_label_image.hh,
      	* debug/save_linked_textbboxes_image.hh,
      	* debug/save_table_image.hh,
      	* debug/save_textbboxes_image.hh,
      	* debug/usage.hh,
      	* draw/all.hh,
      	* draw/bounding_box_links.hh,
      	* draw/bounding_boxes.hh,
      	* extract/primitive/canvas.hh,
      	* extract/primitive/cells.hh,
      	* extract/primitive/lines_discontinued.hh,
      	* extract/primitive/lines_h_discontinued.hh,
      	* extract/primitive/lines_h_thick.hh,
      	* extract/primitive/lines_thick.hh,
      	* extract/primitive/lines_v_discontinued.hh,
      	* extract/primitive/lines_v_thick.hh,
      	* extract/primitive/objects.hh,
      	* filter/all.hh,
      	* filter/large_objects.hh,
      	* filter/small_objects.hh,
      	* filter/thick_objects.hh,
      	* filter/thin_objects.hh,
      	* make/all.hh,
      	* make/debug_filename.hh,
      	* make/influence_zone_graph.hh,
      	* make/text.hh,
      	* preprocessing/all.hh,
      	* preprocessing/unskew.hh,
      	* src/binarization/simple.cc,
      	* src/dmap.cc,
      	* src/extract/primitive/extract_discontinued_hlines.cc,
      	* src/extract/primitive/extract_discontinued_vlines.cc,
      	* src/extract/primitive/extract_thick_hlines.cc,
      	* src/extract/primitive/extract_thick_vlines.cc,
      	* src/extract_text_double_link.cc,
      	* src/extract_text_double_several_links.cc,
      	* src/extract_text_graph.cc,
      	* src/extract_text_several_graph.cc,
      	* src/extract_text_several_left_links.cc,
      	* src/extract_text_single_link.cc,
      	* src/filter/large_objects.cc,
      	* src/filter/small_objects.cc,
      	* src/filter/thick_objects.cc,
      	* src/filter/thin_objects.cc,
      	* src/morpho.cc,
      	* src/negate.cc,
      	* src/preprocessing/unskew.cc,
      	* src/recognition.cc,
      	* src/rectangularity.cc,
      	* src/superpose.cc,
      	* src/table/erase.cc,
      	* src/table/extract.cc,
      	* src/table_old.cc,
      	* src/table_rebuild_opening.cc,
      	* src/table_rebuild_rank.cc,
      	* src/text_in_photo.cc,
      	* src/thin_bboxes.cc,
      	* table/align_lines_horizontaly.hh,
      	* table/align_lines_verticaly.hh,
      	* table/all.hh,
      	* table/connect_horizontal_lines.hh,
      	* table/connect_vertical_lines.hh,
      	* table/erase.hh,
      	* table/extract.hh,
      	* table/internal/align_lines.hh,
      	* table/internal/all.hh,
      	* table/internal/connect_lines.hh,
      	* table/internal/repair_lines.hh,
      	* table/rebuild.hh,
      	* table/repair_horizontal_lines.hh,
      	* table/repair_vertical_lines.hh,
      	* test.cc,
      	* tests/filter/small_and_large_bboxes.cc,
      	* tests/preprocessing/unskew.cc,
      	* tests/table/extract_lines_with_rank.cc,
      	* tests/table/repair_lines.cc,
      	* text/all.hh,
      	* text/clean.hh,
      	* text/extract_lines.hh,
      	* text/grouping/all.hh,
      	* text/grouping/group_from_double_link.hh,
      	* text/grouping/group_from_graph.hh,
      	* text/grouping/group_from_single_link.hh,
      	* text/grouping/group_with_graph.hh,
      	* text/grouping/group_with_several_graphes.hh,
      	* text/grouping/group_with_several_left_links.hh,
      	* text/grouping/group_with_several_right_links.hh,
      	* text/grouping/group_with_single_left_link.hh,
      	* text/grouping/group_with_single_right_link.hh,
      	* text/grouping/internal/all.hh,
      	* text/grouping/internal/find_graph_link.hh,
      	* text/grouping/internal/find_left_link.hh,
      	* text/grouping/internal/find_right_link.hh,
      	* text/grouping/internal/find_root.hh,
      	* text/grouping/internal/init_link_array.hh,
      	* text/grouping/internal/is_link_valid.hh,
      	* text/grouping/internal/update_graph_link.hh,
      	* text/grouping/internal/update_link_array.hh,
      	* text/recognition.hh,
      	* util/all.hh,
      	* util/text.hh: update license header.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4051 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f25c091f
  7. 22 May, 2009 1 commit
  8. 07 May, 2009 1 commit
    • Thierry Geraud's avatar
      Fix missing updates about debug colorize. · 486e3827
      Thierry Geraud authored
      	* scribo/debug/save_label_image.hh,
      	* scribo/src/extract_text_single_link.cc,
      	* scribo/src/extract_text_graph.cc,
      	* scribo/src/morpho.cc,
      	* scribo/src/table_rebuild_rank.cc,
      	* scribo/src/extract_text_several_left_links.cc,
      	* scribo/src/table_rebuild_opening.cc,
      	* scribo/src/extract_text_several_graph.cc,
      	* scribo/src/dmap.cc,
      	* scribo/src/table_extract.cc,
      	* scribo/src/extract_text_double_link.cc,
      	* scribo/src/extract_text_double_several_links.cc,
      	* scribo/src/photo_basic.cc,
      	* scribo/table/internal/repair_lines.hh,
      	* scribo/demat.hh,
      	* icdar/2009/dibco/quasi.cc,
      	* icdar/2009/dibco/svg.1.binarization.cc,
      	* icdar/2009/dibco/svg.2.binarization.cc,
      	* icdar/2009/dibco/svg.3.binarization.cc,
      	* icdar/2009/dibco/binarization.cc,
      	* icdar/2009/hsc/icdar2ppm.hh,
      	* icdar/2009/hsc/input_to_words_dat.cc,
      	* icdar/2009/hsc/dummy_input_to_words_dat.cc,
      	* icdar/2009/hsc/input_to_lines_dat.cc,
      	* icdar/2009/hsc/input_to_ws.hh,
      	* icdar/2009/hsc/first_attempts/boxes.cc,
      	* icdar/2009/hsc/first_attempts/exec/iz_lines.cc,
      	* icdar/2009/hsc/first_attempts/exec/relabel_lines.cc,
      	* icdar/2009/hsc/first_attempts/main.cc,
      	* icdar/2009/hsc/input_to_wsl.cc,
      	* icdar/2009/hsc/old_input_to_lines.cc,
      	* icdar/2009/hsc/ws_to_wsl.hh,
      	* fabien/igr/seg_fixed.cc,
      	* fabien/igr/graph.cc,
      	* fabien/igr/nbasins_finder.cc,
      	* fabien/bin/dumpl32_to_colorize.cc,
      	* inim/2010/boxes/boxes.cc,
      	* theo/color/filter_blen_rgb_edges.cc,
      	* lazzara/igr/igr-biggest-comp.cc,
      	* lazzara/igr/igr.cc,
      	* lazzara/igr/igr-cloud.cc,
      	* edwin/inim/inim.cc:
      	Fix missing updates about debug colorize.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3778 4aad255d-cdde-0310-9447-f3009e2ae8c0
      486e3827
  9. 24 Mar, 2009 1 commit
    • Guillaume Lazzara's avatar
      Update Scribo's code. · 1a934244
      Guillaume Lazzara authored
      	* scribo/Makefile: add new targets.
      
      	* scribo/debug/save_linked_textbboxes_image.hh,
      	* scribo/debug/save_table_image.hh,
      	* scribo/debug/save_textbboxes_image.hh: improve outputs.
      
      	* scribo/draw/bounding_box_links.hh: draw mass centers.
      
      	* scribo/filter/small_components.hh: add an assertion.
      
      	* scribo/src/extract_text_double_link.cc,
      	* scribo/src/extract_text_double_several_links.cc,
      	* scribo/src/extract_text_multiple_links.cc,
      	* scribo/src/extract_text_single_link.cc: cleanup small components.
      
      	* scribo/src/extract_text_several_left_links.cc,
      	* scribo/src/extract_text_several_multiple_links,
      	* scribo/src/rectangularity.cc,
      	* scribo/src/table_erase.cc,
      	* scribo/src/table_rebuild_opening.cc,
      	* scribo/src/table_rebuild_rank.cc: new sample code.
      
      	* scribo/table/align_lines_horizontaly.hh,
      	* scribo/table/align_lines_verticaly.hh: fix compilation issues.
      
      	* scribo/table/erase.hh: fix traces.
      
      	* scribo/table/extract.hh,
      	* scribo/table/extract_lines_with_opening.hh,
      	* scribo/table/extract_lines_with_rank.hh: update prototypes.
      
      	* scribo/table/rebuild.hh: use for_all_elements instead of
      	for_all_components.
      
      	* scribo/text/grouping/group_from_double_link.hh: fix wrong
      	link validation.
      
      	* scribo/text/grouping/group_with_multiple_links.hh,
      	* scribo/text/grouping/group_with_single_left_link.hh,
      	* scribo/text/grouping/group_with_single_right_link.hh: refactor code...
      
      	* scribo/text/grouping/internal/find_left_graph_link.hh,
      	* scribo/text/grouping/internal/find_left_link.hh,
      	* scribo/text/grouping/internal/find_right_link.hh: ... here.
      
      	* scribo/text/grouping/internal/update_link_array.hh: fix wrong
      	conditions.
      
      	* scribo/text/grouping/group_with_several_left_links.hh,
      	* scribo/text/grouping/group_with_several_multiple_links.hh,
      	* scribo/text/grouping/group_with_several_right_links.hh: new variants
      	using three anchors instead of one to find the left/right neighbors.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3570 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1a934244
  10. 19 Mar, 2009 1 commit
    • Guillaume Lazzara's avatar
      Update Scribo's code. · 0fdaf359
      Guillaume Lazzara authored
      	* scribo/Makefile: add new targets.
      
      	* scribo/core/central_sites.hh,
      	* scribo/core/component_bboxes.hh: add more assertions.
      
      	* scribo/text/recognition.hh,
      	* scribo/text/grouping/internal/find_root.hh,
      	* scribo/text/grouping/internal/init_link_array.hh,
      	* scribo/text/grouping/group_from_double_link.hh,
      	* scribo/text/grouping/group_from_multiple_links.hh,
      	* scribo/text/grouping/group_from_single_link.hh,
      	* scribo/text/grouping/group_with_multiple_links.hh,
      	* scribo/text/grouping/group_with_single_left_link.hh,
      	* scribo/text/grouping/group_with_single_right_link.hh,
      	* scribo/text/extract_bboxes.hh,
      	* scribo/src/extract_text_double_link.cc,
      	* scribo/src/extract_text_multiple_links.cc,
      	* scribo/src/extract_text_single_link.cc,
      	* scribo/debug/save_linked_textbboxes_image.hh,
      	* scribo/debug/save_table_image.hh,
      	* scribo/debug/save_textbboxes_image.hh,
      	* scribo/draw/bounding_box_links.hh,
      	* scribo/draw/bounding_boxes.hh: make use of util::text.
      
      	* scribo/filter/large_components.hh,
      	* scribo/filter/small_components.hh,
      	* scribo/filter/thin_bboxes.hh: new filters.
      
      	* scribo/make/debug_filename.hh: improve.
      
      	* scribo/make/text.hh: Construct a text class.
      
      	* scribo/src/dmap.cc,
      	* scribo/src/morpho.cc,
      	* scribo/src/table_extract.cc,
      	* scribo/src/table_rebuild.cc,
      	* scribo/src/thin_bboxes.cc: new sample code.
      
      	* scribo/src/table.cc: fix include.
      
      	* scribo/table/internal/align_lines.hh,
      	* scribo/table/align_lines_horizontaly.hh,
      	* scribo/table/align_lines_verticaly.hh,
      	* scribo/table/connect_horizontal_lines.hh,
      	* scribo/table/connect_vertical_lines.hh: add more parameters.
      
      	* scribo/table/extract.hh: new routine to extract document tables.
      
      	* scribo/table/extract_lines_with_opening.hh: new routine to extract
      	document tables.
      
      	* scribo/table/extract_lines_with_rank.hh: fix missing bbox.enlarge.
      
      	* scribo/table/internal/connect_lines.hh: make it compile.
      
      	* scribo/table/internal/repair_lines.hh: make it work.
      
      	* scribo/table/rebuild.hh: new routine to rebuild document tables.
      
      	* scribo/core/erase_bboxes.hh,
      	* scribo/table/repair_horizontal_lines.hh: revamp.
      
      	* scribo/tests/filter/small_and_large_bboxes.cc,
      	* scribo/tests/table/extract_lines_with_rank.cc,
      	* scribo/tests/table/repair_lines.cc: new tests.
      
      	* scribo/text/extract_lines.hh: new routine to extract text
      	automatically.
      
      	* scribo/text/grouping/internal/update_link_array.hh,
      	* scribo/text/grouping/internal/update_link_graph.hh: fix conditions.
      
      	* scribo/util/text.hh: new object to represent text components.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3551 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0fdaf359
  11. 10 Mar, 2009 1 commit
    • Guillaume Lazzara's avatar
      Split Scribo's code into several routines. · cf9a6da9
      Guillaume Lazzara authored
      	* scribo/Makefile: update include path.
      
      	* scribo/core/central_sites.hh,
      	* scribo/core/component_bboxes.hh,
      	* scribo/core/erase_bboxes.hh,
      	* scribo/core/macros.hh,
      	* scribo/debug/save_label_image.hh,
      	* scribo/debug/save_linked_textbboxes_image.hh,
      	* scribo/debug/save_table_image.hh,
      	* scribo/debug/save_textbboxes_image.hh,
      	* scribo/draw/bounding_box_links.hh,
      	* scribo/draw/bounding_boxes.hh,
      	* scribo/make/debug_filename.hh,
      	* scribo/make/influence_zone_graph.hh,
      	* scribo/table/align_lines_horizontaly.hh,
      	* scribo/table/align_lines_verticaly.hh,
      	* scribo/table/connect_horizontal_lines.hh,
      	* scribo/table/connect_vertical_lines.hh,
      	* scribo/table/erase.hh,
      	* scribo/table/extract_lines_with_rank.hh,
      	* scribo/table/internal/align_lines.hh,
      	* scribo/table/internal/connect_lines.hh,
      	* scribo/table/internal/repair_lines.hh,
      	* scribo/table/repair_horizontal_lines.hh,
      	* scribo/table/repair_vertical_lines.hh,
      	* scribo/text/extract_bboxes.hh,
      	* scribo/text/grouping/group_from_double_link.hh,
      	* scribo/text/grouping/group_from_multiple_links.hh,
      	* scribo/text/grouping/group_from_single_link.hh,
      	* scribo/text/grouping/group_with_multiple_links.hh,
      	* scribo/text/grouping/group_with_single_left_link.hh,
      	* scribo/text/grouping/group_with_single_right_link.hh,
      	* scribo/text/grouping/internal/find_root.hh,
      	* scribo/text/grouping/internal/init_link_array.hh,
      	* scribo/text/grouping/internal/update_link_array.hh,
      	* scribo/text/grouping/internal/update_link_graph.hh,
      	* scribo/text/recognition.hh: new routines.
      
      	* scribo/photo.cc,
      	* scribo/table.cc: move...
      	* scribo/src/photo.cc,
      	* scribo/src/table.cc: ... here.
      
      	* scribo/src/extract_text_double_link.cc,
      	* scribo/src/extract_text_multiple_links.cc,
      	* scribo/src/extract_text_single_link.cc: new small test related to
      	text extraction.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3504 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cf9a6da9