1. 03 Jun, 2010 1 commit
    • Guillaume Lazzara's avatar
      Improve line detection. · b8aaebae
      Guillaume Lazzara authored
      	* primitive/extract/lines_h_pattern.hh,
      	* primitive/extract/lines_v_pattern.hh: Use reconstruction
      	algorithm.
      
      	* primitive/extract/lines_pattern.hh: Add a fast implementation.
      b8aaebae
  2. 15 Mar, 2010 1 commit
    • Guillaume Lazzara's avatar
      Small fixes. · 2d5c9e76
      Guillaume Lazzara authored
      	* binarization/sauvola_ms.hh: Add a missing include.
      
      	* binarization/sauvola_threshold.hh: Remove debug and useless
      	comments.
      
      	* preprocessing/unskew.hh: Fix invalid guards.
      
      	* primitive/extract/components.hh: Fill image extension.
      
      	* primitive/extract/lines_pattern.hh: Adjust and fill image
      	extension.
      
      	* primitive/extract/lines_v_thick.hh: Fix traces.
      2d5c9e76
  3. 03 Nov, 2009 1 commit
  4. 28 Sep, 2009 1 commit
    • Guillaume Lazzara's avatar
      Small fixes in Scribo. · bcf2ae48
      Guillaume Lazzara authored
      	* binarization/sauvola.hh: Fix an invalid precondition.
      
      	* filter/objects_size_ratio.hh: Add a "using namespace".
      
      	* primitive/extract/lines_h_pattern.hh,
      	* primitive/extract/lines_v_pattern.hh: Add a parameter.
      
      	* primitive/extract/lines_pattern.hh: Add a todo.
      
      	* tests/unit_test/unit-tests.mk: Regen.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4557 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bcf2ae48
  5. 25 Aug, 2009 1 commit
    • 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
  6. 23 Jun, 2009 1 commit
    • Guillaume Lazzara's avatar
      6Update Scribo. · 5dd0a841
      Guillaume Lazzara authored
      	* extract/lines_discontinued.hh: remove. Useless.
      
      	* extract/primitive/lines_discontinued.hh: enlarge the window used to
      	dilate.
      
      	* extract/primitive/lines_h_pattern.hh,
      	* extract/primitive/lines_pattern.hh,
      	* extract/primitive/lines_v_pattern.hh: new line extraction algorithm.
      
      	* headers.mk: remove lines_discontinued.hh from this list.
      
      	* preprocessing/unskew.hh: fix wrong angle computation.
      
      	* src/extract/primitive/find_discontinued_lines.cc,
      	* table/extract.hh: use the new line extraction algorithm.
      
      	* src/preprocess.cc: call scribo::preprocess.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4183 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5dd0a841