1. 18 Nov, 2010 2 commits
  2. 02 Nov, 2010 19 commits
    • Arthur Crepin-Leblond's avatar
      Fix bug in Qt interface. · 9c0bdaa0
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
      	* scribo/demo/viewer/key_widget.cc
      	* scribo/demo/viewer/viewer.cc
      9c0bdaa0
    • Arthur Crepin-Leblond's avatar
      Fix Segfault bug in Qt interface. · 58691e5c
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * demo/viewer/viewer.cc: Clean vectors when load new picture.
      58691e5c
    • Arthur Crepin-Leblond's avatar
      Small changes in xml_transform. · 99635db0
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * scribo/sandbox/arthur/xml_transform/README
      
              * scribo/sandbox/arthur/xml_transform/image_crop.cc: Delete verbose mode.
              * scribo/sandbox/arthur/xml_transform/main.cc: Small fix.
      99635db0
    • Arthur Crepin-Leblond's avatar
      Files headers change + base64 data hide in xml tree. · e3767ee4
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * scribo/demo/viewer/README,
              * scribo/demo/viewer/browser_widget.cc,
              * scribo/demo/viewer/browser_widget.hh,
              * scribo/demo/viewer/common.hh,
              * scribo/demo/viewer/help_dialog.cc,
              * scribo/demo/viewer/help_dialog.hh,
              * scribo/demo/viewer/image_region.cc,
              * scribo/demo/viewer/image_region.hh,
              * scribo/demo/viewer/image_scene.cc,
              * scribo/demo/viewer/image_scene.hh,
              * scribo/demo/viewer/image_view.cc,
              * scribo/demo/viewer/image_view.hh,
              * scribo/demo/viewer/image_widget.cc,
              * scribo/demo/viewer/image_widget.hh,
              * scribo/demo/viewer/key_widget.cc,
              * scribo/demo/viewer/key_widget.hh,
              * scribo/demo/viewer/main.cc,
              * scribo/demo/viewer/viewer.cc,
              * scribo/demo/viewer/viewer.hh,
              * scribo/demo/viewer/viewer.hxx,
              * scribo/demo/viewer/xml_widget.cc: Change header (add LRDE copyright)
      
              * scribo/demo/viewer/xml_widget.hh: Hide data in base 64 to improve loading speed.
      e3767ee4
    • Arthur Crepin-Leblond's avatar
      Text selectable in Qt interface. · ee3e8dfc
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * scribo/demo/viewer/viewer.cc
      ee3e8dfc
    • Arthur Crepin-Leblond's avatar
      Some changes in XML interface. · d7ea2d35
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * demo/viewer/property_widget.cc,
              * demo/viewer/property_widget.hh,
              * demo/viewer/domitem.cc,
              * demo/viewer/domitem.hh,
              * demo/viewer/dommodel.cc,
              * demo/viewer/dommodel.hh: Delete.
      
              * demo/viewer/Makefile.am
      
              * demo/viewer/browser_widget.cc: Fix, xmlc extension instead of xmle.
      
              * demo/viewer/key_widget.cc,
              * demo/viewer/step_widget.cc,
              * demo/viewer/step_widget.hh,
              * demo/viewer/image_scene.cc,
              * demo/viewer/image_scene.hh,
              * demo/viewer/help_dialog.cc,
              * demo/viewer/image_region.cc,
              * demo/viewer/image_region.hh,
              * demo/viewer/image_region.hxx: Small changes.
      
              * demo/viewer/viewer.cc,
              * demo/viewer/viewer.hh: Add base 64 cropped pictures support, text viewer
              and change XML parsing.
      
              * demo/viewer/xml_widget.cc,
              * demo/viewer/xml_widget.hh: Change widget, tree and attributes are together.
      d7ea2d35
    • Arthur Crepin-Leblond's avatar
      Base 64 support in Qt interface (xmlc extension) · 6d0a92e1
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * scribo/demo/viewer/step_widget.cc
              * scribo/demo/viewer/step_widget.hh
              * scribo/demo/viewer/browser_widget.cc,
              * scribo/demo/viewer/browser_widget.hh: Add .xmlc extension.
      
              * scribo/demo/viewer/image_scene.cc
              * scribo/demo/viewer/viewer.cc,
              * scribo/demo/viewer/viewer.hh: base 64 loading.
      6d0a92e1
    • Arthur Crepin-Leblond's avatar
      Two new features in Qt interface. · 07a17b94
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * demo/viewer/browser_widget.cc,
              * demo/viewer/browser_widget.hh: Add arrows to change image and keep
              XML step.
      
              * demo/viewer/key_widget.cc,
              * demo/viewer/key_widget.hh: Change ListWidget to TreeWidget, Items can be
              disabled/enabled in groups.
      
              * demo/viewer/step_widget.cc,
              * demo/viewer/step_widget.hh: Small changes to keep the step when next/prev.
      	picture is chosen.
      
              * demo/viewer/viewer.cc,
              * demo/viewer/xml_widget.cc: Layout adjustement.
      07a17b94
    • Arthur Crepin-Leblond's avatar
      ChangeLog mistake. · f7ae8c2d
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * scribo/ChangeLog: Move 2010-07-08 entry in...
      	* scribo/sandbox/ChangeLog:...this.
      f7ae8c2d
    • Arthur Crepin-Leblond's avatar
      XML transform program. · 7c0d10c3
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * sandbox/arthur/xml_to_html/xml_to_html.hh,
              * sandbox/arthur/xml_to_html/xml_to_html.cc,
              * sandbox/arthur/xml_to_html/xml_to_html.pro: Remove.
      
              * sandbox/arthur/xml_to_html/README,
      	* sandbox/arthur/xml_to_html/main.cc,
              * sandbox/arthur/xml_to_html/domitem.cc,
              * sandbox/arthur/xml_to_html/domitem.hh,
              * sandbox/arthur/xml_to_html/dommodel.cc,
              * sandbox/arthur/xml_to_html/dommodel.hh: Move to...
      
              * sandbox/arthur/xml_transform/README,
              * sandbox/arthur/xml_transform/main.cc,
              * sandbox/arthur/xml_transform/domitem.cc,
              * sandbox/arthur/xml_transform/domitem.hh,
              * sandbox/arthur/xml_transform/dommodel.cc,
              * sandbox/arthur/xml_transform/dommodel.hh: ...this.
      
              * sandbox/arthur/xml_to_html/patterns/css.css,
              * sandbox/arthur/xml_to_html/patterns/xsl.xsl: Move to...
      
              * sandbox/arthur/xml_transform/templates/html/css.css,
              * sandbox/arthur/xml_transform/templates/html/xsl.xsl: ...this.
      
              * sandbox/arthur/xml_transform/image_crop.cc,
              * sandbox/arthur/xml_transform/loader.cc: New.
      
              * sandbox/arthur/xml_transform/templates/html/html_generator.sh,
              * sandbox/arthur/xml_transform/templates/pdf/line.xsl,
              * sandbox/arthur/xml_transform/templates/pdf/main.xsl,
      	* sandbox/arthur/xml_transform/templates/pdf/main_crop.xsl,
              * sandbox/arthur/xml_transform/templates/pdf/pdf_generator.sh,
      	* sandbox/arthur/xml_transform/templates/pdf/regions.xsl,
              * sandbox/arthur/xml_transform/xml_transform.pro: New.
      7c0d10c3
    • Arthur Crepin-Leblond's avatar
      Small fix in Qt interface. · 11d3d490
      Arthur Crepin-Leblond authored and Guillaume Lazzara's avatar Guillaume Lazzara committed
              * scribo/demo/viewer/viewer.cc,
              * scribo/demo/viewer/image_region.hxx: Disable item click if unchecked in item list.
      
              * scribo/demo/viewer/key_widget.cc,
              * scribo/demo/viewer/key_widget.hh: Add KeyWidget::checkAll.
      11d3d490
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Add scribo-cli script. · af88c258
      Guillaume Lazzara authored
      	* src/Makefile.am: Add new rules to generate scribo-cli.
      
      	* src/scribo-cli.in: New.
      af88c258
    • Guillaume Lazzara's avatar
      Setup what to install with Scribo. · a3034577
      Guillaume Lazzara authored
      	* demo/viewer/Makefile.am: Do not install includes.
      
      	* scribo.mk (utilexecdir): New variable.
      
      	* src/Makefile.am,
      	* src/binarization/Makefile.am: Install usefull binaries in
      	utilexecdir.
      
      	* src/contest/hdibco-2010/Makefile.am,
      	* src/debug/Makefile.am,
      	* src/filter/Makefile.am,
      	* src/misc/Makefile.am,
      	* src/postprocessing/Makefile.am,
      	* src/preprocessing/Makefile.am,
      	* src/primitive/extract/Makefile.am,
      	* src/primitive/find/Makefile.am,
      	* src/primitive/group/Makefile.am,
      	* src/table/Makefile.am,
      	* src/text/Makefile.am: Do not install theses binaries.
      a3034577
    • Guillaume Lazzara's avatar
      Make use of autotroll in demo/review. · a51486d9
      Guillaume Lazzara authored
      	* demo/review/Makefile.am: Make use of autotroll.
      
      	* demo/review/src/mainwindow.cc: Remove useless includes.
      
      	* demo/review/src/mainwindow.hh: Update include.
      
      	* demo/review/review.pro: Remove since useless.
      a51486d9
    • Guillaume Lazzara's avatar
      Install Scribo headers in include/scribo. · 656656d2
      Guillaume Lazzara authored
      	* Makefile.am: Update call to generate_dist_headers.sh.
      
      	* headers.mk: Regen.
      656656d2
    • Guillaume Lazzara's avatar
      4f559a7a
    • Guillaume Lazzara's avatar
      5ced6bdf
    • Guillaume Lazzara's avatar
      Re-enable 'table' directory in SUBDIRS. · 97355165
      Guillaume Lazzara authored
      	* src/Makefile.am,
      	* tests/Makefile.am (SUBDIRS): Add table.
      
      	* src/table/Makefile.am,
      	* tests/table/Makefile.am: Disable tests.
      97355165
  3. 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
  4. 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
  5. 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
  6. 22 Oct, 2010 2 commits