1. 03 Mar, 2009 10 commits
    • Guillaume Lazzara's avatar
      Small fixes (again). · c232caa0
      Guillaume Lazzara authored
      	* mln/level/approx/median.hh: call diameter() instead of length() on
      	win::ball.
      
      	* mln/level/convert.hh: fix a return type.
      
      	* mln/morpho/closing/essential.hh,
      	* mln/morpho/essential.hh,
      	* mln/morpho/opening/essential.hh: Fix includes.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3470 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c232caa0
    • Guillaume Lazzara's avatar
      Small fixes related to morpho. · 02c779ad
      Guillaume Lazzara authored
      	* mln/morpho/closing/area.hh: update copyright.
      
      	* mln/morpho/closing/leveling.hh: fix guard and revamp.
      
      	* mln/morpho/rank_filter.hh: update forward declaration.
      
      	* tests/morpho/Makefile.am: run tests in morpho/closing and
      	morpho/opening.
      
      	* tests/morpho/closing/area.cc,
      	* tests/morpho/closing/height.cc,
      	* tests/morpho/closing/sum.cc,
      	* tests/morpho/closing/volume.cc,
      	* tests/morpho/opening/area.cc,
      	* tests/morpho/opening/height.cc,
      	* tests/morpho/opening/sum.cc,
      	* tests/morpho/opening/volume.cc: use tiny.ppm instead of lena.ppm, it
      	is faster.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3469 4aad255d-cdde-0310-9447-f3009e2ae8c0
      02c779ad
    • Guillaume Lazzara's avatar
      Add a specialization of level::convert. · a1ca9a44
      Guillaume Lazzara authored
      	* mln/level/convert.hh: Add a specialization while the conversion
      	value type is equal to the image value type.
      
      	* tests/level/convert.cc: add a new test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3468 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a1ca9a44
    • Guillaume Lazzara's avatar
      Introduce distance_and_closest_point_geodesic. · 975f71e7
      Guillaume Lazzara authored
      	* mln/transform/closest_point_geodesic.hh: rename as...
      	* mln/transform/distance_and_closest_point_geodesic.hh: ... this.
      	  Now returns both dmap and closest point images.
      	  Add a version returning a closest point image containing indexes.
      
      	* mln/transform/all.hh: update includes.
      
      	* mln/transform/internal/closest_point_functor.hh: add a new functor
      	which build a closest point image containing sites.
      
      	* tests/Makefile.am: run transform tests.
      
      	* tests/transform/Makefile.am: update test names
      	.
      	* tests/transform/bench_closest_point_geodesic.cc: fix missing
      	include.
      
      	* tests/transform/closest_point_geodesic.cc: rename as...
      	* tests/transform/distance_and_closest_point_geodesic.cc: ... this.
      	  Update according modifications in
      	  distance_and_closest_point_geodesic.hh.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3467 4aad255d-cdde-0310-9447-f3009e2ae8c0
      975f71e7
    • Guillaume Lazzara's avatar
      Add util::couple. · 3cf0592d
      Guillaume Lazzara authored
      	* mln/util/couple.hh: New. behaves like a std::pair.
      
      	* mln/util/all.hh,
      	* mln/util/essential.hh: include new header.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3466 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3cf0592d
    • Guillaume Lazzara's avatar
      configure.ac: configure milena/tests/transform · c7be15cd
      Guillaume Lazzara authored
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3465 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c7be15cd
    • Thierry Geraud's avatar
      Fix missing tests in morpho. · 6ff05af3
      Thierry Geraud authored
      	* tests/morpho/top_hat.cc: New.
      	* tests/morpho/Makefile.am: Update.
      	* tests/morpho/closing/area.cc,
      	* tests/morpho/closing/height.cc (Copyright): Fix.
      	* tests/morpho/closing/structural.cc: New.
      	* tests/morpho/closing/Makefile.am: Update.
      	* tests/morpho/opening/volume.cc,
      	* tests/morpho/opening/area.cc,
      	* tests/morpho/opening/height.cc (Copyright): Fix.
      	* tests/morpho/opening/structural.cc: New.
      	* tests/morpho/opening/Makefile.am: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3464 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6ff05af3
    • Thierry Geraud's avatar
      Update calls to morphological structural closing and opening. · 3a122368
      Thierry Geraud authored
      	* nivault/extract_score.cc,
      	* garrigues/factures/extract_array_highlight.cc,
      	* inim/nature/closing.cc,
      	* inim/nature/nature.cc,
      	* inim/nature/opening.cc,
      	* inim/nature/hom.cc,
      	* theo/exec/closing_isotropic.cc
      	(closing, opening): Update to...
      	(closing::structural, opening::structural): ...this.
      
      	* dalila/dematOld.hh,
      	* dalila/demat.hh: Remove; they are just copies of...
      	* scribo/demat.hh: ...this!
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3463 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3a122368
    • Thierry Geraud's avatar
      Disambiguate morphological structural opening and closing. · 01250843
      Thierry Geraud authored
      	* mln/morpho/closing.hh: Move and rename as...
      	* mln/morpho/closing/structural.hh: ...this.
      	(closing): Rename as...
      	(closing::structural): ...this.
      	Layout.
      	* mln/morpho/closing/all.hh: Update.
      
      	* mln/morpho/opening.hh: Move and rename as...
      	* mln/morpho/opening/structural.hh: ...this.
      	(opening): Rename as...
      	(opening::structural): ...this.
      	Layout.
      	* mln/morpho/opening/all.hh: Update.
      	* mln/morpho/all.hh: Update.
      	
      	* mln/morpho/elementary/closing.hh,
      	* mln/morpho/elementary/opening.hh: Layout.
      
      	* mln/morpho/elementary/top_hat.hh: Update doc style.
      	Layout.
      	(top_hat_white, top_hat_black, top_hat_self_complementary):
      	Make calls to elementary closing (resp. opening) explicit.
      	* mln/morpho/top_hat.hh: Update doc style.
      	(top_hat_white, top_hat_black, top_hat_self_complementary):
      	Make calls to structural closing (resp. opening) explicit.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3462 4aad255d-cdde-0310-9447-f3009e2ae8c0
      01250843
    • Thierry Geraud's avatar
      Print dimension in op<<(win::ball). · 1256c976
      Thierry Geraud authored
      	* mln/win/ball.hh (print_): Print dimension.
      	* tests/win/ball.cc: Inactivate echo.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3461 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1256c976
  2. 02 Mar, 2009 8 commits
  3. 01 Mar, 2009 7 commits
  4. 28 Feb, 2009 11 commits
    • Edwin Carlinet's avatar
      Add sharpness accumulator. · cca66b74
      Edwin Carlinet authored
      	* morpho/attribute/sharpness.hh: New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3445 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cca66b74
    • Frdric Bour's avatar
      Correct references to mln::morpho::closing_... and opening_... · 4490b20c
      Frdric Bour authored
      	* mln/accu/height.hh,
      	* mln/accu/volume.hh,
      	* mln/morpho/all.hh,
      	* mln/morpho/essential.hh: Replace mln::morpho::closing_ by
      	  mln::morpho::closing::
      	* tests/morpho/Makefile.am: Removed old tests
      	* tests/morpho/complex_image_wst.cc,
      	* tests/morpho/lena_line_graph_image_wst1.cc,
      	* tests/morpho/meyer_wst_long.cc: Correct references.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3444 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4490b20c
    • Edwin Carlinet's avatar
      Add take_as_init specialization to compute_attribute_image. · 89b80997
      Edwin Carlinet authored
      	* mln/canvas/morpho/attribute_filter.hh,
      	* mln/morpho/tree/compute_attribute_image.hh
      	Add take_as_init specialization.
      
      	* tests/canvas/morpho/Makefile.am,
      	* tests/morpho/Makefile.am:
      	Correct Makefile rules.
      
      	* tests/morpho/tree/compute_attribute_image.cc: Test file for
                compute_attribute_image.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3443 4aad255d-cdde-0310-9447-f3009e2ae8c0
      89b80997
    • Frdric Bour's avatar
      Typos corrections in morpho, tests added and corrected. · fd6a51da
      Frdric Bour authored
      	* mln/morpho/attribute/height.hh,
      	* mln/morpho/closing/algebraic.hh,
      	* mln/morpho/closing/area.hh,
      	* mln/morpho/closing/height.hh,
      	* mln/morpho/closing/volume.hh,
      	* mln/morpho/opening/algebraic.hh,
      	* mln/morpho/opening/area.hh,
      	* mln/morpho/opening/height.hh,
      	* mln/morpho/opening/leveling.hh,
      	* mln/morpho/opening/volume.hh:
      	Correct typos errors, adjust names.
      	* tests/morpho/closing/Makefile.am: Add sum test.
      	* tests/morpho/closing/sum.cc: New.
      	* tests/morpho/closing/volume.cc: Correct error in function usage.
      	* tests/morpho/opening/Makefile.am: Add sum test.
      	* tests/morpho/opening/sum.cc: New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3442 4aad255d-cdde-0310-9447-f3009e2ae8c0
      fd6a51da
    • Edwin Carlinet's avatar
      Correct bugs in tests. · 44ebfb08
      Edwin Carlinet authored
      	* milena/mln/morpho/closing/algebraic.hh,
      	* milena/mln/morpho/closing/leveling.hh: Correct some bugs.
      
      	* milena/tests/morpho/closing/Makefile.am,
      	* milena/tests/morpho/closing/algebraic.cc,
      	* milena/tests/morpho/closing/leveling.cc,
      	* milena/tests/morpho/opening/Makefile.am,
      	* milena/tests/morpho/opening/algebraic.cc,
      	* milena/tests/morpho/opening/leveling.cc:
      	Correct some bugs and comment reference code using generic accumulators.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3441 4aad255d-cdde-0310-9447-f3009e2ae8c0
      44ebfb08
    • Edwin Carlinet's avatar
      Add leveling/algebraic morpho tests. · cc313a41
      Edwin Carlinet authored
      	* configure.ac: Add opening/closing subdirs to generate Makefile.
      	* milena/mln/morpho/closing/leveling.hh: Missing file from
      	last commit.
      	* milena/mln/morpho/opening/leveling.hh: Missing file from
      	last commit.
      	* milena/tests/morpho/closing/Makefile.am: New.
      	* milena/tests/morpho/closing/algebraic.cc: Test file for
      	algebraic closing filter.
      	* milena/tests/morpho/closing/leveling.cc:  Test file for
      	leveling closing filter.
      	* milena/tests/morpho/opening/Makefile.am: New.
      	* milena/tests/morpho/opening/algebraic.cc:  Test file for
      	algebraic opening filter.
      	* milena/tests/morpho/opening/leveling.cc:  Test file for
      	leveling opening filter.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3440 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cc313a41
    • Frdric Bour's avatar
      Adjusted tests for new opening/closing naming scheme. · 95092f63
      Frdric Bour authored
      	* tests/morpho/closing/area.cc,
      	* tests/morpho/closing/height.cc,
      	* tests/morpho/closing/volume.cc,
      	* tests/morpho/opening/area.cc,
      	* tests/morpho/opening/height.cc,
      	* tests/morpho/opening/volume.cc: Now use closing and opening
      	  namespaces.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3439 4aad255d-cdde-0310-9447-f3009e2ae8c0
      95092f63
    • Frdric Bour's avatar
      Closing and opening area, volume, height naming change.. · 915511e1
      Frdric Bour authored
      	* closing/area.hh: New.
      	* closing/height.hh: New.
      	* closing/volume.hh: New.
      	* closing_area.hh: Remove.
      	* closing_height.hh: Remove.
      	* closing_volume.hh: Remove.
      	* opening/area.hh: New.
      	* opening/height.hh: New.
      	* opening/volume.hh: New.
      	* opening_area.hh: Remove.
      	* opening_height.hh: Remove.
      	* opening_volume.hh: Remove.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3438 4aad255d-cdde-0310-9447-f3009e2ae8c0
      915511e1
    • Edwin Carlinet's avatar
      Create opening and closing morpho subdir and move opening and. · 8602e11b
      Edwin Carlinet authored
      	* mln/morpho/algebraic_filter.hh: Add precondition and test.
      	* mln/morpho/closing/algebraic.hh: New.
      	* mln/morpho/closing_algebraic.hh: Remove.
      	* mln/morpho/leveling_filter.hh: Add precondition and test.
      	* mln/morpho/opening/algebraic.hh: New.
      	* mln/morpho/opening_algebraic.hh: Remove.
      	* tests/morpho/closing/algebraic.cc: New.
      	* tests/morpho/closing/area.cc: New.
      	* tests/morpho/closing/height.cc: New.
      	* tests/morpho/closing/volume.cc: New.
      	* tests/morpho/closing: New.
      	* tests/morpho/closing_algebraic.cc: Remove.
      	* tests/morpho/closing_area.cc: Remove.
      	* tests/morpho/closing_height.cc: Remove.
      	* tests/morpho/closing_volume.cc: Remove.
      	* tests/morpho/opening/area.cc: New.
      	* tests/morpho/opening/height.cc: New.
      	* tests/morpho/opening/volume.cc: New.
      	* tests/morpho/opening: New.
      	* tests/morpho/opening_area.cc: Remove.
      	* tests/morpho/opening_height.cc: Remove.
      	* tests/morpho/opening_volume.cc: Remove.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3437 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8602e11b
    • Edwin Carlinet's avatar
      Add height attribute, and implement untake and set_value method. · 6a149af2
      Edwin Carlinet authored
      	* mln/morpho/attribute/height.hh: New.
      	* mln/morpho/attribute/sum.hh: Implements untake and set_value
      	methods.
      	* mln/morpho/attribute/volume.hh: s/level_/cur_level_.
      	* tests/morpho/attribute/Makefile.am:
      	* tests/morpho/attribute/height.cc: Add height test file.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3436 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6a149af2
    • Edwin Carlinet's avatar
      Clean and separate connected (leveling/algebraic) filters. · a611e863
      Edwin Carlinet authored
      	* mln/canvas/morpho/attribute_filter.hh: Move
      	algebraic/leveling facade from attribute filter and change dispatch.
      	* mln/canvas/morpho/connected_filter.hh: Remove.
      	* mln/morpho/algebraic_filter.hh: Facade for algebraic filter.
      	* mln/morpho/closing: New.
      	* mln/morpho/leveling_filter.hh: Facade for leveling filter.
      	* mln/morpho/opening: New.
      	* sandbox/edwin/tree/propagate.hh
      	* sandbox/edwin/tree/tree.cc: Correct some bugs.
      	* tests/canvas/morpho/attribute_filter.cc: Test file for
      	attribute filters.
      	* tests/canvas/morpho/connected_filter.cc: Remove.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3435 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a611e863
  5. 27 Feb, 2009 4 commits