1. 07 Mar, 2013 3 commits
    • Guillaume Lazzara's avatar
      Add standard support for OCR output in PAGE format. · 60618b0d
      Guillaume Lazzara authored
      	* scribo/io/xml/internal/page_xml_visitor.hh: Here.
      60618b0d
    • Guillaume Lazzara's avatar
      Fix sauvola_ms test. · 609f8023
      Guillaume Lazzara authored
      	* tests/binarization/sauvola_ms.cc,
      	* tests/binarization/sauvola_ms.ref.pbm,
      	* tests/binarization/sauvola_ms_weven_hodd.ref.pbm,
      	* tests/binarization/sauvola_ms_wodd_heven.ref.pbm,
      	* tests/binarization/sauvola_ms_wodd_hodd.ref.pbm: Make use of
      	reference files in test.
      609f8023
    • Guillaume Lazzara's avatar
      Fix compilation issues. · 3272d151
      Guillaume Lazzara authored
      	* scribo/binarization/local_threshold.hh,
      	* scribo/core/central_sites.hh,
      	* scribo/debug/save_table_image.hh,
      	* scribo/filter/object_groups_with_holes.hh,
      	* scribo/fun/v2b/objects_large_filter.hh,
      	* scribo/make/influence_zone_graph.hh,
      	* scribo/postprocessing/fill_object_holes.hh: Fix namespace
      	ambiguities.
      
      	* scribo/toolchain/text_in_doc_preprocess.hh: Fix arguments.
      
      	* scribo/toolchain/internal/text_in_doc_preprocess_functor.hh,
      	* scribo/util/integral_sub_sum_sum2_functor.hh: Use namespace mln.
      
      	* scribo/util/compute_sub_domains.hh,
      	* scribo/util/integral_sum_sum2_functor.hh,
      	* scribo/util/integral_sum_sum2_global_min_functor.hh,
      	* src/contest/hdibco-2010/sauvola_ms_hdibco.cc: Add missing
      	include.
      
      	* scribo/io/img/save.hh: Use box2d constructor.
      3272d151
  2. 06 Mar, 2013 6 commits
    • Guillaume Lazzara's avatar
      Rename point_at_index and index_of_point. · a3c4e92a
      Guillaume Lazzara authored
      	* scribo/binarization/internal/niblack_functor_fast.hh,
      	* scribo/binarization/internal/niblack_threshold_functor.hh,
      	* scribo/binarization/internal/sauvola_functor.hh,
      	* scribo/binarization/internal/sauvola_threshold_functor.hh,
      	* scribo/binarization/internal/singh_functor.hh,
      	* scribo/binarization/internal/wolf_functor_fast.hh,
      	* scribo/binarization/sauvola_ms.hh,
      	* scribo/util/init_integral_image.hh,
      	* scribo/util/integral_sub_sum_sum2_functor.hh: Here.
      a3c4e92a
    • Guillaume Lazzara's avatar
      Merge branch 'papers/lazzara.13.ijdar' into unstable/scribo · 18a13882
      Guillaume Lazzara authored
      Conflicts:
      	milena/tests/unit_test/unit-tests.mk
      	scribo/sandbox/ChangeLog
      	scribo/scribo/binarization/otsu_threshold.hh
      	scribo/scribo/debug/logger.hh
      	scribo/scribo/text/paragraphs_closing.hh
      	scribo/scribo/toolchain/text_in_doc_preprocess.hh
      	scribo/src/binarization/Makefile.am
      	scribo/src/binarization/otsu.cc
      	scribo/tests/binarization/Makefile.am
      	scribo/tests/unit_test/unit-tests.mk
      18a13882
    • Guillaume Lazzara's avatar
      45129d3f
    • Guillaume Lazzara's avatar
      Add tests for lines_*_pattern routines. · 46fe9117
      Guillaume Lazzara authored
      	* tests/primitive/extract/Makefile.am: New targets.
      
      	* tests/primitive/extract/lines_h_pattern.cc,
      	* tests/primitive/extract/lines_h_pattern.ref.pbm,
      	* tests/primitive/extract/lines_v_pattern.cc,
      	* tests/primitive/extract/lines_v_pattern.ref.pbm: New.
      46fe9117
    • Guillaume Lazzara's avatar
      Fix wrong line reconstruction with lines_*_pattern routines. · 6e2cefa4
      Guillaume Lazzara authored
      	* scribo/primitive/extract/lines_h_pattern.hh,
      	* scribo/primitive/extract/lines_v_pattern.hh: Here.
      6e2cefa4
    • Guillaume Lazzara's avatar
      Add more tests for lines_*_discontinued routines. · 4e4b1150
      Guillaume Lazzara authored
      	* tests/primitive/extract/Makefile.am: New targets.
      
      	* tests/primitive/extract/lines_h_discontinued.cc,
      	* tests/primitive/extract/lines_v_discontinued.cc: New.
      4e4b1150
  3. 05 Mar, 2013 5 commits
  4. 01 Mar, 2013 3 commits
  5. 28 Feb, 2013 2 commits
  6. 27 Feb, 2013 1 commit
  7. 26 Feb, 2013 8 commits
    • Guillaume Lazzara's avatar
      tests/unit_test/unit-tests.mk: Update. · 69a8bfc3
      Guillaume Lazzara authored
      69a8bfc3
    • Guillaume Lazzara's avatar
      tests/unit_test/unit-tests.mk: Update. · aca68d9d
      Guillaume Lazzara authored
      aca68d9d
    • Guillaume Lazzara's avatar
      Fix call to text_in_doc_preprocess(). · 94d54581
      Guillaume Lazzara authored
      	* src/content_in_hdoc.cc,
      	* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
      	* src/non_text_components.cc,
      	* src/text_in_doc_preprocess.cc: Here.
      94d54581
    • Guillaume Lazzara's avatar
      Fix various warnings. · 6c791fef
      Guillaume Lazzara authored
      	* scribo/binarization/otsu_threshold.hh: Fix comparisons between
      	different types.
      
      	* scribo/io/xml/load.hh: Convert to float.
      
      	* scribo/text/paragraphs_closing.hh,
      	* scribo/text/recognition.hh,
      	* src/afp/components.hh: Remove unused variables.
      
      	* src/binarization/otsu.cc: Silent warning.
      
      	* src/misc/morpho.cc: Check number of arguments.
      6c791fef
    • Guillaume Lazzara's avatar
      common.mk: Fix include paths order. · ab034432
      Guillaume Lazzara authored
      ab034432
    • Guillaume Lazzara's avatar
      tests/data.hh.in: Rename guards. · e27c410b
      Guillaume Lazzara authored
      e27c410b
    • Guillaume Lazzara's avatar
      Fix a warning. · 096f3277
      Guillaume Lazzara authored
      	* mln/canvas/labeling/sorted.hh,
      	* mln/canvas/labeling/video.hh: Remove unused attribute.
      096f3277
    • Guillaume Lazzara's avatar
      Merge branch 'next' into unstable/scribo · 4d0f7e21
      Guillaume Lazzara authored
      Conflicts:
      	ChangeLog
      	configure.ac
      	milena/ChangeLog
      	milena/apps/papers/levillain.09.ismm/graph.cc
      	milena/doc/examples/tuto4_genericity_and_algorithms.cc
      	milena/mln/canvas/browsing/diagonal2d.hh
      	milena/mln/io/plot/save.hh
      	milena/mln/labeling/value_and_compute.hh
      	milena/mln/morpho/watershed/topological.hh
      	milena/mln/registration/icp.hh
      	milena/mln/subsampling/antialiased.hh
      	milena/mln/util/object_id.hh
      	milena/tests/core/alias/point1d.cc
      	milena/tests/data/Makefile.am
      	milena/tests/literal/Makefile.am
      	milena/tests/unit_test/unit-tests.mk
      	scribo/ChangeLog
      	scribo/scribo/text/recognition.hh
      	scribo/scribo/toolchain/text_in_doc_preprocess.hh
      	scribo/src/Makefile.am
      	scribo/src/binarization/Makefile.am
      	scribo/tests/binarization/Makefile.am
      	scribo/tests/unit_test/unit-tests.mk
      4d0f7e21
  8. 18 Feb, 2013 12 commits
    • Antoine Froger's avatar
      Merge branch Antoine Froger's work into unstable/scribo. · a6aaffe8
      Antoine Froger authored
      Conflicts:
      	.gitignore
      a6aaffe8
    • Antoine Froger's avatar
      Remove working directories. · 8c22f856
      Antoine Froger authored
      	* NotePad/NotePad.pro,
      	* NotePad/main.cpp,
      	* NotePad/notepad.cpp,
      	* NotePad/notepad.h,
      	* NotePad/notepad.ui,
      	* NotePad/test.ppm,
      	* Test/Test.pro,
      	* Test/Test.pro.user,
      	* Test/main.cpp,
      	* Test/test.cpp,
      	* Test/test.h,
      	* Test/test.ui,
      	* Test2/Test2.pro,
      	* Test2/Test2.pro.user,
      	* Test2/Test2.pro.user.1.3,
      	* Test2/customgraphicsview.cpp,
      	* Test2/customgraphicsview.h,
      	* Test2/debug.xml,
      	* Test2/main.cpp,
      	* Test2/picture.cpp,
      	* Test2/picture.h,
      	* Test2/region.h,
      	* Test2/selectionitem.cpp,
      	* Test2/selectionitem.h,
      	* Test2/test2.cpp,
      	* Test2/test2.h,
      	* Test2/test2.ui,
      	* Test2/xml.cpp,
      	* Test2/xml.h,
      	* TestInterface/GScribo.pro,
      	* TestInterface/GScribo.pro.user,
      	* TestInterface/config.h,
      	* TestInterface/dir.h,
      	* TestInterface/main.cpp,
      	* TestInterface/mainwindow.cpp,
      	* TestInterface/mainwindow.h,
      	* TestInterface/mainwindow.ui,
      	* TestInterface/polygonitem.cpp,
      	* TestInterface/polygonitem.h,
      	* TestInterface/preprocess.cpp,
      	* TestInterface/preprocess.h,
      	* TestInterface/process.cpp,
      	* TestInterface/process.h,
      	* TestInterface/progressdialog.cpp,
      	* TestInterface/progressdialog.h,
      	* TestInterface/runner.cpp,
      	* TestInterface/runner.h,
      	* TestInterface/scene.cpp,
      	* TestInterface/scene.h,
      	* TestInterface/selection.cpp,
      	* TestInterface/selection.h,
      	* TestInterface/xml.cpp,
      	* TestInterface/xml.h,
      	* XmlParser/XmlParser.pro,
      	* XmlParser/XmlParser.pro.user,
      	* XmlParser/XmlParser.pro.user.1.3,
      	* XmlParser/configs.h,
      	* XmlParser/dir.h,
      	* XmlParser/main.cpp,
      	* XmlParser/mainwindow.cpp,
      	* XmlParser/mainwindow.h,
      	* XmlParser/mainwindow.ui,
      	* XmlParser/polygonitem.cpp,
      	* XmlParser/polygonitem.h,
      	* XmlParser/preprocess.cpp,
      	* XmlParser/preprocess.h,
      	* XmlParser/process.cpp,
      	* XmlParser/process.h,
      	* XmlParser/progressdialog.cpp,
      	* XmlParser/progressdialog.h,
      	* XmlParser/region.h,
      	* XmlParser/runner.cpp,
      	* XmlParser/runner.h,
      	* XmlParser/scene.cpp,
      	* XmlParser/scene.h,
      	* XmlParser/selection.cpp,
      	* XmlParser/selection.h,
      	* XmlParser/toolbar.cpp,
      	* XmlParser/toolbar.h,
      	* XmlParser/xml.cpp,
      	* XmlParser/xml.h,
      	* XmlTree/XmlTree.pro,
      	* XmlTree/XmlTree.pro.user,
      	* XmlTree/XmlTree.pro.user.1.3,
      	* XmlTree/configs.h,
      	* XmlTree/main.cpp,
      	* XmlTree/mainwindow.cpp,
      	* XmlTree/mainwindow.h,
      	* XmlTree/mainwindow.ui,
      	* XmlTree/polygonitem.cpp,
      	* XmlTree/polygonitem.h,
      	* XmlTree/region.h,
      	* XmlTree/treeview.h,
      	* XmlTree/variantpointer.h,
      	* XmlTree/xml.cpp,
      	* XmlTree/xml.h,
      	* XmlTree/xmldelegate.cpp,
      	* XmlTree/xmldelegate.h,
      	* XmlTree/xmlitem.cpp,
      	* XmlTree/xmlitem.h,
      	* XmlTree/xmlmodel.cpp,
      	* XmlTree/xmlmodel.h,
      	* XmlTree/xmlproxy.cpp,
      	* XmlTree/xmlproxy.h,
      	* XmlTree/xmlwidget.cpp,
      	* XmlTree/xmlwidget.h: Remove.
      8c22f856
    • Antoine Froger's avatar
      * .gitignore: New. · d4d136fc
      Antoine Froger authored
      d4d136fc
    • Antoine Froger's avatar
      Fix some little bugs. · 4a16753e
      Antoine Froger authored
      * mainwindow.cpp: Set all temporary windows (such like progress dialog) as Qt::Dialog to avoid the title main window changement,
      Disable/ Enable the exportation if the xml file has been recognized or not,
      Exportation do not work due to the source program.
      * xml.cpp: Create a function "recognized" which check if the current xml file has been recognized by the OCR.
      * graphicsview.cpp: Enlarge the zoom.
      4a16753e
    • Antoine Froger's avatar
      Segmentation works. Recognition do not work correctly, do not know if it is... · 2ed6b8ec
      Antoine Froger authored
      Segmentation works. Recognition do not work correctly, do not know if it is related to this computer specifically. Some tests to do.
      
      * runner.cpp,
      * graphicsview.cpp,
      * main.cpp,
      * mainwindow.cpp,
      * mainwindow.h,
      * xml.cpp: Save the xml path when it is loaded.
      2ed6b8ec
    • Antoine Froger's avatar
      Fix segmentation chain problems. · 732dd999
      Antoine Froger authored
      * runner.cpp: Try to fix segmentations problem,
      * configs.h,
      * regionwidget.cpp,
      * TODO.
      732dd999
    • Antoine Froger's avatar
      Reimplement the toolchain segmentation but do not compile due to tesseract. · 44d0803f
      Antoine Froger authored
      * runner.cpp,
      * scene.cpp,
      * configs.h,
      * main.cpp,
      * mainwindow.cpp,
      * minwindow.h.
      44d0803f
    • Antoine Froger's avatar
      Fix little bugs on attributes model. · caa88441
      Antoine Froger authored
      * attributesmodel.h: Create a function to clean the content of the model when no items are selected or a new scene is loaded,
      * xmlwidget.cpp.
      caa88441
    • Antoine Froger's avatar
      Allow the user to print the segmentation. · 18236f19
      Antoine Froger authored
      * scene.cpp: Creation of the function "selectAll" to select all items in the scene,
      * mainwindow.cpp: User can now have a previsualization of the printing and print in a dialog,
      * xmlview.cpp.
      18236f19
    • Antoine Froger's avatar
      Scale the scene on CTRL + wheel or CTRL +/ -. Allow scrolling on right click. · a36968ff
      Antoine Froger authored
      * graphicsview.cpp: Lock the scrolling between a max and a min (the picture is 100% or fit in view).
      a36968ff
    • Antoine Froger's avatar
      Add scene scale, cloth to finish menu bar. · 53379312
      Antoine Froger authored
      * graphicsview.cpp: Add the possibility to scale the scene with the wheel and CTRL + or -. Not completely finished,
      * graphicsview.h,
      * scene.cpp: Correct the selection: she is not visible until there is an item in the scene. It is to avoid the fact that the scene take the selection rect when we select in an empty scene,
      * mainwindow.cpp: Create the menu bar and connect actions. For the most important : add File menu and Areas menu (handle visibility of dock widgets).
      53379312
    • Antoine Froger's avatar
      Create the custom graphics view : handle the whelling and CTLR + or - scale of the view. · 9ebbca15
      Antoine Froger authored
      *graphicsview.h,
      *graphicsview.cpp.
      9ebbca15