1. 15 Mar, 2010 1 commit
    • Guillaume Lazzara's avatar
      Cleanup and avoid warnings in Sauvola related files. · ca034dd5
      Guillaume Lazzara authored
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/binarization/sauvola_threshold.hh,
      	* scribo/canvas/integral_browsing.hh,
      	* scribo/src/binarization/sauvola_ms.cc,
      	* scribo/src/binarization/sauvola_pgm.cc,x
      	* scribo/subsampling/integral_single_image.hh: Cleanup and avoir
      	warnings.
      ca034dd5
  2. 03 Nov, 2009 1 commit
    • Guillaume Lazzara's avatar
      Small fixes in Scribo. · f97abc33
      Guillaume Lazzara authored
      	* debug/decision_image.hh: Fix precondition.
      
      	* filter/object_links_bbox_h_ratio.hh,
      	* filter/objects_thick.hh,
      	* primitive/internal/have_link_valid.hh,
      	* primitive/internal/is_link_valid.hh: Fix doc.
      
      	* filter/object_links_bbox_ratio.hh: Fix doc and invert ratio.
      
      	* filter/object_links_bottom_aligned.hh: Fix doc and use a float
      	angle value.
      
      	* filter/object_links_non_aligned.hh: Use absolute values.
      
      	* filter/object_links_non_aligned_simple.hh: Add special cases.
      
      	* filter/object_links_non_h_aligned.hh: Fix call to an underlying
      	routine.
      
      	* filter/objects_small.hh,
      	* filter/objects_thin.hh,
      	* filter/objects_v_thin.hh,
      	* primitive/extract/lines_discontinued.hh,
      	* primitive/extract/lines_h_single.hh,
      	* primitive/extract/lines_h_thick_and_single.hh,
      	* primitive/extract/lines_thick.hh,
      	* primitive/extract/lines_v_discontinued.hh,
      	* primitive/extract/lines_v_single.hh,
      	* primitive/extract/lines_v_thick_and_single.hh,
      	* primitive/internal/is_invalid_link.hh,
      	* src/multi_scale/find_lines.cc,
      	* src/primitive/group/group_from_rag.cc,
      	* src/table/rebuild_opening.cc,
      	* src/table/rebuild_rank.cc,
      	* text/clean.hh: Avoid warnings.
      
      	* primitive/internal/find_left_link.hh,
      	* primitive/internal/find_right_link.hh,
      	* primitive/internal/update_link_array.hh: Make the routine return
      	a value.
      
      	* src/binarization/sauvola.cc,
      	* src/binarization/sauvola_pgm.cc: Fix call to Sauvola's algorithm.
      
      	* src/primitive/group/group_from_graph.cc,
      	* src/primitive/group/group_from_several_graph.cc: Change
      	arguments values while calling with_several_graphes.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4704 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f97abc33
  3. 28 Aug, 2009 1 commit
  4. 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
  5. 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
  6. 28 May, 2009 1 commit
    • Guillaume Lazzara's avatar
      Update samples in Scribo. · ea52bddd
      Guillaume Lazzara authored
      	* src/Makefile.am,
      	* src/extract/Makefile.am,
      	* src/extract/primitive/Makefile.am,
      	* src/filter/Makefile.am,
      	* src/preprocessing/Makefile.am,
      	* src/table/Makefile.am: update build system.
      
      	* src/binarization/simple.cc,
      	* src/dmap.cc,
      	* src/extract_text_single_link.cc,
      	* src/recognition.cc:
      	  Make them standalone programs
      	  - Improve 'usage' output,
      	  - cleanup includes
      	  - add a header.
      
      	* 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/filter/large_objects.cc,
      	* src/filter/small_objects.cc,
      	* src/filter/thick_objects.cc,
      	* src/filter/thin_objects.cc,
      	* src/negate.cc,
      	* src/preprocessing/unskew.cc,
      	* src/superpose.cc: new samples.
      
      	* src/table_erase.cc,
      	* src/table_extract.cc: move...
      
      	* src/table/erase.cc,
      	* src/table/extract.cc: ... here.
      	  Make them standalone programs:
      	  - Improve 'usage' output,
      	  - cleanup includes
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3911 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ea52bddd
  7. 22 May, 2009 1 commit
  8. 30 Mar, 2009 1 commit