1. 05 Apr, 2009 1 commit
  2. 03 Apr, 2009 2 commits
  3. 02 Apr, 2009 3 commits
  4. 01 Apr, 2009 2 commits
  5. 31 Mar, 2009 1 commit
    • Fabien Freling's avatar
      Update spatial smoothing. · e084a5f9
      Fabien Freling authored
      	* fabien/igr/Makefile: Update.
      	* fabien/igr/space_smooth/linear.cc: Fix spatial smoothing.
      	* fabien/igr/space_smooth/median.cc: Implement spatial smoothing.
      	* fabien/igr/space_smooth/morpho.cc: Draft.
      	* fabien/igr/time_smooth/linear.cc: Small fix.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3597 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e084a5f9
  6. 30 Mar, 2009 9 commits
    • Thierry Geraud's avatar
      Several bug fixes. · ca6a10b8
      Thierry Geraud authored
      	* mln/histo/array.hh: Layout.
      	* mln/core/image/image1d.hh
      	(from_to_): Remove border setting to 0.
      	Add some hints of future code.
      	(todo): New.
      	* mln/core/alias/point1d.hh: Upgrade doc style.
      	(row, row_t): Fix naming as...
      	(ind, ind_t): ...those.
      	* mln/linear/gaussian_directional_2d.hh: New.
      	* mln/linear/gaussian_1d.hh: New.
      	Both files have been copied from my sandbox.
      	* mln/linear/all.hh: Update.
      	* mln/accu/center.hh (to_result): Make it work when invalid.
      	(todo): New.
      	* mln/value/label.hh (prev): New.
      	* mln/canvas/morpho/attribute_filter.hh
      	(lambda): Use macro for this arg type.
      	(attribute_filter_dispatch): Fix missing border adjustment for
      	the fastest version.
      	(attribute_filter_fastest): New precondition.
      	Fix missing border initialization so that it is neutral.
      	* tests/morpho/closing/volume.cc: Force no border to test
      	that the border is correctly adapted to nbh.
      	* mln/labeling/compute.hh: Move code intro trace.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3596 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ca6a10b8
    • Thierry Geraud's avatar
      Add into scribo a simple binarization. · 83b68ca9
      Thierry Geraud authored
      	* scribo/binarization: New directory.
      	* scribo/binarization/simple.hh: New.
      	* scribo/src/binarization: New directory.
      	* scribo/src/Makefile.am: Update.
      	* scribo/src/binarization/Makefile.am: New.
      	* scribo/src/binarization/simple.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3595 4aad255d-cdde-0310-9447-f3009e2ae8c0
      83b68ca9
    • Fabien Freling's avatar
      Add time smoothing in IGR and drafts of space smoothing. · 8a51e01c
      Fabien Freling authored
      	* fabien/igr/Makefile.rules: New file to centralize rules.
      	* fabien/igr/img/slice_7.pgm: Remove.
      	* fabien/igr/img: Remove.
      	* fabien/igr/space_smooth/Makefile: New.
      	* fabien/igr/space_smooth/linear.cc: Implements linear space smoothing.
      	* fabien/igr/space_smooth/median.cc: Draft.
      	* fabien/igr/space_smooth/morpho.cc: Draft.
      	* fabien/igr/time_smooth/Makefile: New.
      	* fabien/igr/time_smooth/linear.cc: Implements linear time smoothing.
      	* fabien/igr/time_smooth/median.cc: Implements median time smoothing.
      	* fabien/igr/time_smooth/morpho.cc: Implements morpho time smoothing.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3594 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8a51e01c
    • Guillaume Lazzara's avatar
      Avoid invalid assigments with image concept. · aa993e98
      Guillaume Lazzara authored
      	* mln/core/concept/image.hh: Add an invalid operator= in order to
      	  avoid wrong assignment. See sandbox/bug/concept_and_assignment.cc.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3593 4aad255d-cdde-0310-9447-f3009e2ae8c0
      aa993e98
    • Guillaume Lazzara's avatar
      Add math::sin and math::pi. · d6cb74d4
      Guillaume Lazzara authored
      	* mln/math/all.hh: add new includes.
      
      	* mln/math/pi.hh: add constant.
      
      	* mln/math/sin.hh: Add math::sin().
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3592 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d6cb74d4
    • Guillaume Lazzara's avatar
      Update Scribo's code. · e35c001a
      Guillaume Lazzara authored
      	* scribo/all.hh,
      	* scribo/core/all.hh,
      	* scribo/debug/all.hh,
      	* scribo/deskew/all.hh,
      	* scribo/draw/all.hh,
      	* scribo/filter/all.hh,
      	* scribo/make/all.hh,
      	* scribo/table/all.hh,
      	* scribo/text/all.hh,
      	* scribo/table/internal/all.hh,
      	* scribo/text/grouping/all.hh,
      	* scribo/text/grouping/internal/all.hh,
      	* scribo/util/all.hh: Add 'all' includes.
      
      	* scribo/debug/save_linked_textbboxes_image.hh,
      	* scribo/draw/bounding_box_links.hh,
      	* scribo/filter/large_components.hh,
      	* scribo/filter/small_components.hh,
      	* scribo/filter/thick_bboxes.hh,
      	* scribo/filter/thin_bboxes.hh,
      	* scribo/make/text.hh,
      	* scribo/src/photo_basic.cc,
      	* scribo/src/table_rebuild_rank.cc,
      	* 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_opening.hh,
      	* scribo/table/extract_lines_with_rank.hh,
      	* scribo/table/internal/align_lines.hh,
      	* scribo/table/rebuild.hh,
      	* scribo/table/repair_horizontal_lines.hh,
      	* scribo/table/repair_vertical_lines.hh,
      	* scribo/text/extract_bboxes.hh,
      	* scribo/text/extract_lines.hh,
      	* scribo/text/grouping/group_from_double_link.hh,
      	* scribo/text/grouping/group_from_graph.hh,
      	* scribo/text/grouping/group_from_single_link.hh,
      	* scribo/text/grouping/group_with_graph.hh,
      	* scribo/text/grouping/internal/find_graph_link.hh,
      	* scribo/text/grouping/internal/find_left_link.hh,
      	* scribo/text/grouping/internal/find_right_link.hh,
      	* scribo/text/grouping/internal/is_link_valid.hh,
      	* scribo/text/recognition.hh,
      	* scribo/util/text.hh: Update doc.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3591 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e35c001a
    • Fabien Freling's avatar
      Add a plot format save() routine. · 51ff1bf5
      Fabien Freling authored
      	* mln/io/plot/save.hh: New routine save() for saving arrays and
      	  1d images into plot formatted file.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3590 4aad255d-cdde-0310-9447-f3009e2ae8c0
      51ff1bf5
    • Thierry Geraud's avatar
      Write a solution for a common mistake. · 52646cb9
      Thierry Geraud authored
      	* bugs/piter_slice.cc: Copy to...
      	* bugs/piter_slice.solved.cc: ...this new file.
      	Fix bug.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3589 4aad255d-cdde-0310-9447-f3009e2ae8c0
      52646cb9
    • Fabien Freling's avatar
      Add a test file for a bug involving slice() and piter. · 1f4e832f
      Fabien Freling authored
      	* bugs/piter_slice.cc: New test file.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3588 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f4e832f
  7. 27 Mar, 2009 4 commits
  8. 26 Mar, 2009 6 commits
    • Fabien Freling's avatar
      Update IO section of ref guide. · 569df167
      Fabien Freling authored
      	* doc/ref_guide/ref_guide.tex: Update IO section.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3583 4aad255d-cdde-0310-9447-f3009e2ae8c0
      569df167
    • Guillaume Lazzara's avatar
      Fix latex package includes in documentation. · 1e7c3b74
      Guillaume Lazzara authored
      	* doc/milena.sty: fix scope of latexonly.
      
      	* doc/tutorial/Makefile.am,
      	* doc/ref_guide/Makefile.am: Pass path to .sty files to to_doxygen.sh.
      
      	* doc/tutorial/tutorial.tex,
      	* doc/white_paper/white_paper.tex,
      	* doc/ref_guide/ref_guide.tex: remove useless packages.
      
      	* doc/tools/todoxygen.sh: Pass latex packages to hevea.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3582 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1e7c3b74
    • Guillaume Lazzara's avatar
      Revamp documentation commands. · 1ade2ec7
      Guillaume Lazzara authored
      	* doc/doxyfuns.sty,
      	* doc/milena.sty: share commands between the various documents.
      
      	* doc/ref_guide/ref_guide.tex: Fix a compilation issue.
      
      	* doc/tools/todoxygen.sh: Split doxygen pages correctly.
      
      	* doc/white_paper/Makefile.am: add path to shared commands.
      
      	* doc/tutorial/tutorial.tex,
      	* doc/white_paper/white_paper.tex: use shared commands.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3581 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1ade2ec7
    • Guillaume Lazzara's avatar
      Add a small tool to invert b&w in a color image. · 69db648f
      Guillaume Lazzara authored
      	* exec/Makefile,
      	* exec/bw_negate_in_color.cc: new tool.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3580 4aad255d-cdde-0310-9447-f3009e2ae8c0
      69db648f
    • Guillaume Lazzara's avatar
      Update Scribo's code. · be67709a
      Guillaume Lazzara authored
      	* scribo/Makefile: add a new target.
      
      	* scribo/Makefile.am,
      	* scribo/scribo.mk,
      	* scribo/src/Makefile.am,
      	* scribo/tests/Makefile.am,
      	* scribo/tests/data.hh.in,
      	* scribo/tests/filter/Makefile.am,
      	* scribo/tests/text/Makefile.am,
      	* scribo/tests/table/Makefile.am: prepare build system integration.
      
      	* scribo/text/grouping/group_with_single_left_link.hh,
      	* scribo/text/grouping/group_with_single_right_link.hh,
      	* scribo/text/grouping/group_with_several_right_links.hh,
      	* scribo/text/grouping/group_with_several_left_links.hh,
      	* scribo/debug/save_linked_textbboxes_image.hh: do not compute mass
      	centers anymore.
      
      	* scribo/draw/bounding_box_links.hh: remove duplicate preconditions.
      
      	* scribo/tests/table/repair_lines.cc
      	* scribo/tests/filter/small_and_large_bboxes.cc
      	* scribo/tests/table/extract_lines_with_rank.cc
      	* scribo/src/table_rebuild_opening.cc
      	* scribo/src/table_rebuild_rank.cc
      	* scribo/src/table_extract.cc
      	* scribo/src/morpho.cc,
      	* scribo/filter/large_components.hh: fix.
      
      	* scribo/text/grouping/group_from_single_link.hh,
      	* scribo/text/grouping/group_from_double_link.hh,
      	* scribo/filter/thin_bboxes.hh,
      	* scribo/filter/small_components.hh: add a fixme.
      
      	* scribo/filter/thick_bboxes.hh: new routine.
      
      	* scribo/make/debug_filename.hh: use a std::string instead of a char*.
      
      	* scribo/make/text.hh: prepare a new routine.
      
      	* scribo/src/extract_text_double_several_links.cc: add timer info.
      
      	* scribo/src/extract_text_multiple_links.cc,,
      	* scribo/src/extract_text_several_multiple_links.cc,
      	* scribo/text/grouping/group_from_multiple_links.hh,
      	* scribo/text/grouping/group_with_multiple_links.hh,
      	* scribo/text/grouping/group_with_several_multiple_links.hh,
      	* scribo/text/grouping/internal/find_left_graph_link.hh,
      	* scribo/text/grouping/internal/update_link_graph.hh: rename as...
      
      	* scribo/src/extract_text_graph.cc,
      	* scribo/src/extract_text_several_graphes.cc,
      	* scribo/text/grouping/group_from_graph.hh,
      	* scribo/text/grouping/group_with_graph.hh,
      	* scribo/text/grouping/group_with_several_graphes.hh,
      	* scribo/text/grouping/internal/find_graph_link.hh,
      	* scribo/text/grouping/internal/update_graph_link.hh: ... this.
      
      	* scribo/src/photo_basic.cc: new sample code. Process text in photos.
      
      	* scribo/src/table_rebuild.cc: remove.
      
      	* scribo/text/extract_lines.hh: use double several links routines.
      
      	* scribo/util/text.hh: store the bbox mass centers.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3579 4aad255d-cdde-0310-9447-f3009e2ae8c0
      be67709a
    • Guillaume Lazzara's avatar
      Small fixes. · d7882273
      Guillaume Lazzara authored
      	* doc/tutorial/tutorial.tex: Fix a compilation issue.
      
      	* headers.mk: update distributed file list.
      
      	* mln/win/ball.hh,
      	* mln/core/concept/function.hh: avoid a warning.
      
      	* mln/util/array.hh,
      	* mln/fun/i2v/array.hh: revert invalid from_to overloads.
      
      	* mln/fun/internal/array_base.hh: add reserve().
      
      	* mln/fun/l2l/relabel.hh: reserve data before appending.
      
      	* mln/io/pnm/save.hh: Allow images of builtin types to be saved.
      
      	* tests/geom/Makefile.am,
      	* tests/morpho/Makefile.am,
      	* tests/util/Makefile.am: do not set tests as xfail tests anymore.
      
      	* tests/unit_test/unit-tests.mk: update unit test list.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3578 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d7882273
  9. 25 Mar, 2009 5 commits
  10. 24 Mar, 2009 7 commits
    • Edwin Carlinet's avatar
      Test geodesic distance with component tree and try to apply. · f8508643
      Edwin Carlinet authored
      	* mln/morpho/attribute/sharpness.hh: Fix bugs related to
      	height computation.
      	* sandbox/edwin/attributes/bbox.hh: Add bbox morpho attribute.
      	* sandbox/edwin/tree/run.hh: Correct bugs and delete
      	run_while_treshold which can be computed throught pointwise.
      	* sandbox/edwin/tree/test.cc: Test file.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3572 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f8508643
    • Frdric Bour's avatar
      Add inf, sup accumulator and accu_result function. · 8594606c
      Frdric Bour authored
      	* mln/accu/inf.hh: New.
      	* mln/accu/sup.hh: New.
      	* mln/accu: New.
      	* mln/fun/accu_result.hh: New.
      	* mln/fun/from_accu.hh: Correct some typo errors.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3571 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8594606c
    • 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
    • Guillaume Lazzara's avatar
      Small fixes. · ae793da6
      Guillaume Lazzara authored
      	* headers.mk: update distributed header list.
      
      	* doc/ref_guide/ref_guide.tex: update reference to clone().
      
      	* doc/tutorial/tutorial.tex: fix references.
      
      	* mln/accu/center.hh: Fix meta accu.
      
      	* mln/canvas/browsing/depth_first_search.hh: update functor interface.
      
      	* mln/core/concept/function.hh: Introduce Function_i2b.
      
      	* mln/debug/colorize.hh: call srand.
      
      	* mln/fun/i2v/array.hh: update from_to overloads: add a special case
      	for element[0].
      
      	* mln/io/pgm/save.hh: Check if the image is compatible with pgm
      	format.
      
      	* mln/labeling/level.hh,
      	* mln/labeling/regional_maxima.hh: avoid warnings.
      
      	* mln/labeling/relabel.hh: update call to make::relabelfun.
      
      	* mln/make/graph.hh: adjust extension to structural element.
      
      	* mln/util/array.hh:
      	  - add subject_impl specialization.
      	  - Update from_to overloads: add a special case for element[0].
      
      	* tests/accu/site_set/rectangularity.cc: add more tests.
      
      	* tests/unit_test/unit-tests.mk: update unit test list.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3569 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ae793da6
    • Guillaume Lazzara's avatar
      Fix compilation issues with Cygwin. · 4d468626
      Guillaume Lazzara authored
      	* mln/convert/from_to.hxx,
      	* mln/core/concept/site_set.hh: do NOT prefix template parameter names
      	with '_'. Names prefixed by '_' are reserved!
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3568 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4d468626
    • Thierry Geraud's avatar
      Relax a couple of contraints related to labels and integers. · efb0fbc4
      Thierry Geraud authored
      	* mln/debug/colorize.hh: Relax the Symbolic constraint.
      	That allows for colorizing images containing integers.
      	* mln/value/int_u.hh (next): New.
      	That allows for images containing integers to be processed
      	as labeled images.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3567 4aad255d-cdde-0310-9447-f3009e2ae8c0
      efb0fbc4
    • Frdric Bour's avatar
      Add from_accu functional wrapper. · 0520cc8a
      Frdric Bour authored
      	* fred/mln/fun/from_accu.hh: New.
      	* fred/mln/fun/math/cos.hh: Support for integer value as argument.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3566 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0520cc8a