1. 04 Jun, 2009 1 commit
  2. 03 Jun, 2009 1 commit
  3. 01 Jun, 2009 1 commit
    • Guillaume Lazzara's avatar
      Fix tests. · 3832df44
      Guillaume Lazzara authored
      	* mln/core/site_set/p_bgraph.hh,
      	* mln/core/site_set/p_bgraph_piter.hh: move...
      	* trash/p_bgraph.hh,
      	* trash/p_bgraph_piter.hh: ... here.
      
      	* mln/core/site_set/essential.hh: remove bgraph related includes.
      
      	* mln/morpho/tree/max.hh,
      	* mln/world/binary_2d/subsample.hh: disambiguate reference to data
      	namespace.
      
      	* tests/img/lena_ascii.pbm,
      	* tests/img/lena_ascii.pgm,
      	* tests/img/lena_raw.pbm,
      	* tests/img/lena_raw.pgm: new test images.
      
      	* tests/io/pbm/pbm_ascii.cc,
      	* tests/io/pgm/pgm_ascii.cc: fix wrong includes.
      
      	* tests/world/binary_2d/Makefile.am: comment non existing
      	test.
      
      	* doc/figures/figures.mk,
      	* headers.mk,
      	* tests/unit_test/unit-tests.mk: update generated file lists.
      
      	* tests/Makefile.am: add test images as extra dist files.
      
      	* tests/convert/Makefile.am: remove to_hsl from xfail tests list.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3938 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3832df44
  4. 28 May, 2009 1 commit
    • Guillaume Lazzara's avatar
      Small fixes. · d8b68d94
      Guillaume Lazzara authored
      	* doc/Doxyfile.in: Enable JAVADOC_AUTOBRIEF.
      
      	* doc/groups/images.hh: create a new modules for morphers.
      
      	* tests/unit_test/unit-tests.mk,
      	* headers.mk: update auto-generated lists.
      
      	* mln/convert/from_to.hxx,
      	* mln/value/label.hh: add from_to overload for conversion from
      	label<n> to bool.
      
      	* mln/core/image/bgraph_image.hh,
      	* mln/core/image/complex_image.hh,
      	* mln/core/image/edge_image.hh,
      	* mln/core/image/flat_image.hh,
      	* mln/core/image/image1d.hh,
      	* mln/core/image/image2d.hh,
      	* mln/core/image/image3d.hh,
      	* mln/io/pbm/all.hh,
      	* mln/pw/image.hh: update doc.
      
      	* mln/core/macros.hh: fix mln_box macro.
      
      	* mln/labeling/colorize.hh: do not call next() member on label type.
      
      	* mln/make/relabelfun.hh: image value type does not need to be a
      	label type anymore.
      
      	* mln/subsampling/subsampling.hh: fix invalid use of mln_coord.
      
      	* mln/tag/init.hh: cleanup.
      
      	* mln/util/array.hh: fix infinite recursion.
      
      	* mln/util/eat.hh,
      	* mln/util/ignore.hh,
      	* mln/util/nil.hh,
      	* mln/util/tracked_ptr.hh,
      	* mln/util/yes.hh: Add these objects in util module.
      
      	* apps/statues/trimesh/misc.hh: avoid warnings.
      
      	* mln/core/image/all.hh: fix includes.
      
      	* mln/core/site_set/p_transformed.hh: rename transform routine to
      	ptransform (name conflict with a namespace).
      
      	* mln/morpho/tree/propagate_representative.hh: add missing includes.
      
      	* tests/transformation/rotate.cc: fix reference image.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3906 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d8b68d94
  5. 27 May, 2009 1 commit
  6. 26 May, 2009 1 commit
    • Edwin Carlinet's avatar
      Move propagation and filtering attributes routines from sandbox. · 31776e72
      Edwin Carlinet authored
      	* mln/morpho/tree/filter: New.
      	* mln/morpho/tree/propagate_if.hh: New.
      	* mln/morpho/tree/propagate_node.hh: New.
      	* mln/morpho/tree/propagate_representative.hh: New.
      	* sandbox/edwin/mln/morpho/tree/filter/all.hh: Remove.
      	* sandbox/edwin/mln/morpho/tree/filter/direct.hh: Remove.
      	* sandbox/edwin/mln/morpho/tree/filter/max.hh: Remove.
      	* sandbox/edwin/mln/morpho/tree/filter/min.hh: Remove.
      	* sandbox/edwin/mln/morpho/tree/filter/subtractive.hh: Remove.
      	* sandbox/edwin/mln/morpho/tree/filter: Remove.
      	* sandbox/edwin/mln/morpho/tree/propagate_if.hh: Remove.
      	* sandbox/edwin/mln/morpho/tree/propagate_node.hh: Remove.
      	* sandbox/edwin/mln/morpho/tree/propagate_representative.hh: Remove.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3875 4aad255d-cdde-0310-9447-f3009e2ae8c0
      31776e72
  7. 22 May, 2009 1 commit
  8. 15 May, 2009 2 commits
    • Roland Levillain's avatar
      Regen Makefile helpers. · dd5f0471
      Roland Levillain authored
      	* doc/examples/examples.mk,
      	* doc/figures/figures.mk,
      	* doc/outputs/outputs.mk,
      	* headers.mk,
      	* tests/unit_tests/unit-tests.mk:
      	Regen.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3831 4aad255d-cdde-0310-9447-f3009e2ae8c0
      dd5f0471
    • Guillaume Lazzara's avatar
      Small fixes. · a64ee524
      Guillaume Lazzara authored
      	* milena/doc/examples/tuto3/fill_non_generic.cc.raw: fix.
      
      	* milena/tests/unit_test/build_unit_test.sh,
      	* milena/generate_dist_headers.sh: use 'sort' to be sure of the output
      	lines order.
      
      	* milena/headers.mk,
      	* milena/tests/unit_test/unit-tests.mk: regenerate with the previous
      	modified scripts.
      
      	* milena/mln/core/image/vertex_image.hh: fix a wrong type declaration.
      
      	* milena/mln/core/internal/graph_psite_base.hh: Remove comparison
      	operators.
      
      	* milena/mln/core/site_set/p_array.hh: Enforce the comparison on the
      	site type.
      
      	* milena/mln/core/site_set/p_edges_psite.hh,
      	* milena/mln/core/site_set/p_vertices_psite.hh: add operator ==, !=
      	and <.
      
      	* milena/mln/fun/v2v/hsi_to_rgb.hh: reindent.
      
      	* milena/mln/fun/v2v/hsl_to_rgb.hh: add a missing forward declaration.
      
      	* milena/mln/io/magick/load.hh: move fixme.
      
      	* milena/mln/io/magick/save.hh: cleanup.
      
      	* milena/mln/value/hsl.hh: add operator==.
      
      	* milena/tests/io/magick/Makefile.am: add ldflags to magick test.
      
      	* milena/tests/io/magick/magick.cc: write a new test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3794 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a64ee524
  9. 14 May, 2009 1 commit
  10. 11 May, 2009 2 commits
    • Guillaume Lazzara's avatar
      Small fixes. · 0e90f164
      Guillaume Lazzara authored
      	* milena/headers.mk: update distributed files list.
      
      	* milena/mln/core/image/edge_image.hh,
      	* milena/mln/core/image/vertex_image.hh: fix a wrong image type.
      
      	* milena/mln/fun/math/sup.hh: fix wrong template parameters.
      
      	* milena/mln/value/rgb.hh,
      	* milena/mln/util/essential.hh,
      	* milena/mln/util/all.hh,
      	* milena/mln/labeling/all.hh,
      	* milena/mln/debug/all.hh,
      	* milena/mln/fun/v2v/all.hh: fix includes.
      
      	* milena/mln/fun/v2v/rgb_to_hsi.hh: fix duplicate declarations.
      
      	* milena/mln/make/influence_zone_adjacency_graph.hh: add missing const
      	references.
      
      	* milena/mln/morpho/opening/area_on_vertices.hh: update according new
      	graph image types.
      
      	* milena/mln/registration/icp.hh: fix use of random_color.
      
      	* milena/mln/util/adjacency_matrix.hh: fix wrong ifndef.
      
      	* milena/mln/util/object_id.hh,
      	* milena/mln/util/vertex.hh,
      	* milena/mln/util/edge.hh: fix operator< and operator==.
      
      	* milena/mln/util/graph.hh: add preconditions.
      
      	* milena/mln/world/binary_2d/all.hh: new.
      
      	* milena/tests/morpho/closing/Makefile.am,
      	* milena/tests/morpho/closing/area_on_vertices.cc,
      	* milena/tests/morpho/opening/Makefile.am,
      	* milena/tests/morpho/opening/area_on_vertices.cc: new tests.
      
      	* milena/tests/unit_test/unit-tests.mk: update unit test list.
      
      	* milena/tests/util/Makefile.am,
      	* milena/tests/util/tree_fast_to_image.cc,
      	* milena/tests/util/tree_to_image.cc: remove tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3781 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0e90f164
    • Guillaume Lazzara's avatar
      Fix documentation. · 67e27c14
      Guillaume Lazzara authored
      	* doc/Doxyfile.in: add macro definitions.
      
      	* doc/outputs/outputs.mk: update output reference files list.
      
      	* headers.mk: update distributed files list.
      
      	* apps/statues/trimesh/misc.hh,
      	* doc/examples/tuto3/first_routine.cc,
      	* mln/accu/compute.hh,
      	* mln/accu/line.hh,
      	* mln/core/image/graph_elt_window_if.hh,
      	* mln/data/fill_with_image.hh,
      	* mln/data/paste.hh,
      	* mln/fun/x2x/composed.hh,
      	* mln/geom/pmin_pmax.hh,
      	* mln/geom/seeds2tiling.hh,
      	* mln/io/dump/save.hh,
      	* mln/io/txt/save.hh,
      	* mln/labeling/compute.hh,
      	* mln/labeling/pack.hh,
      	* mln/labeling/relabel.hh,
      	* mln/util/internal/id2element.hh,
      	* mln/world/inter_pixel/dim2/is_dot.hh,
      	* mln/world/inter_pixel/dim2/is_edge.hh,
      	* mln/world/inter_pixel/dim2/is_pixel.hh,
      	* mln/world/inter_pixel/dim2/is_row_odd.hh,
      	* mln/world/inter_pixel/full2image.hh,
      	* tests/accu/site_set/rectangularity.cc,
      	* tests/make/region_adjacency_graph.cc,
      	* mln/level/median.hh,
      	* mln/level/stretch.hh,
      	* mln/level/transform.hh,
      	* mln/level/transform_inplace.hh,
      	* mln/level/update.hh,
      	* mln/make/dummy_p_edges.hh,
      	* mln/make/dummy_p_vertices.hh,
      	* mln/make/edge_image.hh,
      	* mln/make/rag_and_labeled_wsl.hh,
      	* mln/make/region_adjacency_graph.hh,
      	* mln/make/relabelfun.hh,
      	* mln/morpho/closing/area_on_vertices.hh,
      	* mln/registration/icp.hh,
      	* tests/morpho/Rd.cc: Fix documentation issues/missing documentation.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3780 4aad255d-cdde-0310-9447-f3009e2ae8c0
      67e27c14
  11. 05 May, 2009 2 commits
    • Guillaume Lazzara's avatar
      Small fixes. · 909b18e4
      Guillaume Lazzara authored
      	* headers.mk: update distributed file list.
      
      	* mln/core/clock_neighb.hh: fix ambiguity between window type and
      	window typedef.
      
      	* mln/trait/next/solve.hh,
      	* mln/fun/i2v/all_to.hh: update doc.
      
      	* mln/fun/point/sli.hh: fix invalid trait specialization.
      
      	* mln/fun/v2v/hsi_to_rgb.hh: move parts of rgb_to_hsi.hh here.
      
      	* mln/fun/v2v/hsl_to_rgb.hh: move parts of rgb_to_hsl.hh here.
      
      	* mln/fun/v2w2v/all.hh,
      	* mln/fun/v2w_w2v/all.hh,
      	* mln/fun/vv2b/all.hh: update includes.
      
      	* mln/trait/next/solve_proxy.hh: add missing forward declaration.
      
      	* tests/fun/v2v/wrap.cc: change l2l to v2v.
      
      	* tests/unit_test/unit-tests.mk: update test list.
      
      	* doc/outputs/site_set_create.txt: add reference file for doc
      	generation.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3753 4aad255d-cdde-0310-9447-f3009e2ae8c0
      909b18e4
    • Guillaume Lazzara's avatar
      Improve graph support. · 5da04e23
      Guillaume Lazzara authored
      	* headers.mk: update distributed file list.
      
      	* mln/core/image/all.hh,
      	* mln/core/image/graph_elt_neighborhood_if.hh,
      	* mln/core/image/graph_elt_window_if.hh,
      	* mln/core/image/graph_window_if_piter.hh: add a new
      	custom window/neighborhood type for graphes.
      
      	* mln/core/image/edge_image.hh: add missing operator().
      
      	* mln/core/site_set/p_edges.hh,
      	* mln/core/image/vertex_image.hh: update doc.
      
      	* mln/core/internal/is_masked_impl_selector.hh: new implementation
      	selector for graph_elt_window_if_piter.
      
      	* mln/core/internal/neighb_niter_impl.hh: add support for
      	graph_elt_neighborhood_if.
      
      	* mln/core/macros.hh: add mln_graph.
      
      	* mln/util/vertex.hh,
      	* mln/core/site_set/p_graph_piter.hh: add edge_with member.
      
      	* mln/graph/all.hh,
      	* mln/graph/labeling.hh,
      	* mln/graph/to_neighb.hh,
      	* mln/graph/to_win.hh: new routines.
      
      	* mln/make/edge_image.hh: add a new overload to handle p_edges with
      	no sites.
      
      	* mln/util/graph.hh: add a new edge() member.
      
      	* mln/util/internal/graph_nbh_iter_base.hh: add element().
      
      	* tests/core/other/Makefile.am,
      	* tests/core/other/graph_elt_neighborhood_if.cc,
      	* tests/core/other/graph_elt_window_if.cc,
      	* tests/graph/Makefile.am,
      	* tests/graph/labeling.cc,
      	* tests/unit_test/unit-tests.mk: add new tests for new routines.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3751 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5da04e23
  12. 04 May, 2009 1 commit
    • Guillaume Lazzara's avatar
      Remove l2l concept. · cb06a274
      Guillaume Lazzara authored
      	* tests/fun/l2l/Makefile.am,
      	* mln/fun/l2l/all.hh,
      	* mln/fun/l2l/essential.hh: remove.
      
      	* mln/fun/v2v/all.hh,
      	* mln/fun/v2v/essential.hh: update includes.
      
      	* tests/fun/l2l/wrap.cc,
      	* mln/fun/l2l/wrap.hh: move...
      	* tests/fun/v2v/wrap.cc,
      	* mln/fun/v2v/wrap.hh: ... here.
      
      	* mln/make/relabelfun.hh,
      	* tests/labeling/relabel.cc
      	* mln/labeling/wrap.hh: use i2v/v2v instead of l2l.
      
      	* tests/fun/Makefile.am: remove l2l subdir.
      
      	* tests/fun/v2v/Makefile.am: add labeling::wrap test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3741 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cb06a274
  13. 28 Apr, 2009 1 commit
    • Guillaume Lazzara's avatar
      Small fixes (again). · 35db73ac
      Guillaume Lazzara authored
      	* headers.mk: update distributed file list.
      
      	* mln/accu/inf.hh,
      	* mln/accu/sup.hh: add a missing typename.
      
      	* mln/canvas/browsing/depth_first_search.hh: call id() on vertex
      	elements.
      
      	* mln/core/concept/object_id.hh: add a missing operator==.
      
      	* mln/fun/math/inf.hh,
      	* mln/fun/math/sup.hh: add a missing new line at end of file and fix
      	copyright.
      
      	* mln/trait/next/solve_proxy.hh: add a missing forward declaration.
      
      	* mln/util/vertex.hh,
      	* mln/util/internal/id2element.hh: add a missing include.
      
      	* tests/core/image/line_graph_image.cc: use make::vertex_image.
      
      	* tests/make/dummy_p_edges.cc,
      	* tests/make/dummy_p_vertices.cc,
      	* tests/util/line_graph.cc: call index() instead of id().
      
      	* tests/unit_test/unit-tests.mk: update list of unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3717 4aad255d-cdde-0310-9447-f3009e2ae8c0
      35db73ac
  14. 27 Apr, 2009 1 commit
    • Guillaume Lazzara's avatar
      Revamp graph images. · ce4bef1b
      Guillaume Lazzara authored
      	* headers.mk: update distributed file list.
      
      	* mln/make/dummy_p_edges.hh,
      	* mln/make/dummy_p_vertices.hh,
      	* mln/util/line_graph.hh,
      	* mln/util/internal/graph_base.hh,
      	* mln/util/internal/graph_iter.hh,
      	* mln/util/internal/graph_iter_base.hh,
      	* mln/util/internal/graph_nbh_iter.hh,
      	* mln/util/internal/graph_nbh_iter_base.hh,
      	* mln/util/graph.hh,
      	* mln/morpho/attribute/count_adjacent_vertices.hh,
      	* mln/core/concept/graph.hh: update member signatures with vertex and
      	edge ids.
      
      	* mln/core/site_set/p_graph_piter.hh,
      	* mln/core/internal/graph_psite_base.hh,
      	* mln/core/internal/neighb_niter_impl.hh,
      	* mln/core/internal/graph_psite_base.hh,
      	* mln/core/image/graph_window_piter.hh: comment a conversion
      	operators. Cause ambiguities with iterators/proxies.
      
      	* mln/core/image/vertex_image.hh,
      	* mln/core/image/edge_image.hh: add new members.
      
      	* mln/core/internal/site_iterator_base.hh: add a 'target' typedef.
      
      	* mln/core/site_set/p_edges.hh,
      	* mln/core/site_set/p_vertices.hh: add new constructors.
      
      	* mln/make/rag_and_labeled_wsl.hh: update doc.
      
      	* mln/util/graph_ids.hh,
      	* mln/util/edge.hh,
      	* mln/util/vertex.hh: introduce vertex and edge id types.
      
      	* mln/util/internal/id2element.hh: function mapping ids to graph
      	elements.
      
      	* mln/make/p_edges_with_mass_centers.hh: fix guards.
      
      	* tests/make/dummy_p_vertices.cc,
      	* tests/morpho/graph_image_morpho.cc,
      	* tests/morpho/graph_image_wst.cc,
      	* tests/morpho/line_graph_image_morpho.cc,
      	* tests/morpho/line_graph_image_wst.cc,
      	* tests/util/graph.cc,
      	* tests/util/line_graph.cc: update tests according the new
      	routines/constructors/types.
      
      	* mln/core/concept/object_id.hh: new concept for object ids.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3712 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ce4bef1b
  15. 14 Apr, 2009 1 commit
    • Guillaume Lazzara's avatar
      Small fixes. · be9a6c8a
      Guillaume Lazzara authored
      	* Makefile.am,
      	* tests/img/test_bw.tif,
      	* tests/img/test_gl.tif,
      	* tests/img/test_rgb8.tif: add new test images.
      
      	* headers.mk: update list of distributed files.
      
      	* mln/value/rgb.hh,
      	* mln/convert/from_to.hxx: add from_to overload from rgb8 to bool.
      
      	* mln/io/magick/load.hh: update doc.
      
      	* mln/io/tiff/load.hh: Fix loading of rgb files.
      
      	* tests/data.hh.in: add a new macro for test images directory.
      
      	* tests/io/Makefile.am,
      	* tests/io/tiff/Makefile.am,
      	* tests/io/tiff/load.cc: new test for io::tiff::load.
      
      	* tests/unit_test/unit-tests.mk: update unit test list.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3657 4aad255d-cdde-0310-9447-f3009e2ae8c0
      be9a6c8a
  16. 26 Mar, 2009 1 commit
    • 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
  17. 24 Mar, 2009 1 commit
    • 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
  18. 18 Mar, 2009 2 commits
    • Guillaume Lazzara's avatar
      Add morpho::watershed::superpose. · d4c978cc
      Guillaume Lazzara authored
      	* headers.mk,
      	* tests/unit_test/unit-tests.mk: update.
      
      	* mln/morpho/watershed/all.hh: add new include.
      
      	* mln/morpho/watershed/superpose.hh: new routine.
      
      	* tests/morpho/watershed/Makefile.am,
      	* tests/morpho/watershed/superpose.cc: add associated test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3542 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d4c978cc
    • Guillaume Lazzara's avatar
      Small fixes. · ed968826
      Guillaume Lazzara authored
      	* Makefile.am,
      	* headers.mk,
      	* tests/accu/Makefile.am,
      	* tests/make/Makefile.am,
      	* tests/unit_test/unit-tests.mk: fix build system. 'make dist' now
      	works.
      
      	* mln/convert/impl/from_unsigned_to_value.hh: add missing include.
      
      	* mln/core/image/complex_neighborhood_piter.hh,
      	* mln/io/magick/load.hh: avoid warnings.
      
      	* mln/core/routine/all.hh
      	* mln/labeling/blobs.hh: update doc
      
      	* mln/labeling/compute.hh: add a new postcondition.
      
      	* mln/labeling/relabel.hh: use v2v and v2b functions instead of l2l
      	and l2b.
      
      	* mln/make/relabelfun.hh: use v2v and v2b functions instead of l2l
      	and l2b and add a new overload.
      
      	* tools/area_flooding.cc: update use of
      	morpho::closing::area_on_vertices.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3541 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ed968826
  19. 10 Mar, 2009 1 commit
    • Guillaume Lazzara's avatar
      Various small fixes. · bde8e97c
      Guillaume Lazzara authored
      	* headers.mk: update dist header list.
      
      	* mln/algebra/vec.hh: add contructor and operator= with literal::zero.
      
      	* mln/canvas/distance_front.hh: avoid a warning.
      
      	* mln/fun/i2v/array.hh,
      	* mln/fun/l2l/relabel.hh,
      	* mln/convert/from_to.hxx: add new from_to over_loads.
      
      	* mln/convert/impl/all.hh,
      	* mln/convert/impl/from_unsigned_to_value.hh: add a new from_to
      	implementation to fix ambiguities with from_int_to_value and
      	from_float_to_value.
      
      	* mln/win/essential.hh,
      	* mln/core/internal/image_identity.hh: update doc.
      
      	* mln/core/routine/essential.hh: fix includes.
      
      	* mln/fun/essential.hh: include fun/meta/essential.hh.
      
      	* mln/util/soft_heap.hh: fix guards.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3507 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bde8e97c
  20. 02 Mar, 2009 1 commit
    • Guillaume Lazzara's avatar
      Small fixes. · 192d87fa
      Guillaume Lazzara authored
      	* headers.mk: update dist headers.
      
      	* mln/canvas/morpho/all.hh: remove non existing included headers.
      
      	* mln/morpho/tree/compute_attribute_image.hh,
      	* mln/canvas/morpho/attribute_filter.hh: add missing include.
      
      	* tests/core/image/plain.cc
      	* mln/level/compare.hh,
      	* mln/core/pixter2d.hh: add more preconditions.
      
      	* mln/io/dicom/load.hh: update doc.
      
      	* mln/morpho/essential.hh,
      	* mln/morpho/all.hh,
      	* mln/morpho/closing/algebraic.hh: revamp.
      
      	* mln/morpho/closing/all.hh,
      	* mln/morpho/closing/essential.hh,
      	* mln/morpho/opening/all.hh,
      	* mln/morpho/opening/essential.hh: new files.
      
      	* tests/unit_test/unit-tests.mk: update test list.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3453 4aad255d-cdde-0310-9447-f3009e2ae8c0
      192d87fa
  21. 25 Feb, 2009 1 commit
    • Guillaume Lazzara's avatar
      Small fixes. · 28c8689e
      Guillaume Lazzara authored
      	* tests/unit_test/unit-tests.mk,
      	* doc/tutorial/figures/figures.mk,
      	* doc/tutorial/outputs/outputs.mk,
      	* doc/tutorial/samples/samples.mk,
      	* headers.mk: include new files in distribution.
      
      	* mln/canvas/morpho/algebraic_filter.hh
      	* mln/canvas/morpho/algebraic_union_find.hh: fix wrong call to
      	find_root.
      
      	* mln/canvas/morpho/internal/find_root.hh: add missing include.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3424 4aad255d-cdde-0310-9447-f3009e2ae8c0
      28c8689e
  22. 20 Feb, 2009 1 commit
    • Guillaume Lazzara's avatar
      Fix tests. · 9198885e
      Guillaume Lazzara authored
      	* generate_dist_headers.sh: add only .hh and .hxx to headers.mk.
      
      	* headers.mk: update.
      
      	* mln/canvas/morpho/algebraic_filter.hh: fix wrong merge.
      
      	* mln/debug/println_with_border.spe.hh: check the right guards.
      
      	* mln/fun/v2v/rgb_to_hsl.hh: do not include rgb aliases.
      
      	* mln/labeling/fill_holes.hh: use unsigned instead of int. Avoid
      	warnings.
      
      	* tests/labeling/compute.cc,
      	* mln/morpho/attribute/card.hh
      	* mln/morpho/attribute/sum.hh
      	* mln/morpho/attribute/volume.hh
      	* mln/labeling/mean_values.hh: add missing includes.
      
      	* mln/math/abs.hh: include only int_u.hh.
      
      	* tests/registration/multiscale.cc,
      	* mln/registration/multiscale.hh: remove.
      
      	* tests/registration/Makefile.am: remove multiscale.cc from test list.
      
      	* mln/value/rgb.hh: fix a recursive inclusion.
      
      	* tests/morpho/watershed/flooding.cc: fix path to test image.
      
      	* tests/registration/registration.cc: fix according update made in
      	registration.hh.
      
      	* tests/unit_test/unit-tests.mk: update list.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3399 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9198885e
  23. 03 Feb, 2009 9 commits
    • Roland Levillain's avatar
      milena/headers.mk: Regen. · 8afb2d85
      Roland Levillain authored
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3267 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8afb2d85
    • Guillaume Lazzara's avatar
      Rename io::raw as io::dump. · 208b4613
      Guillaume Lazzara authored
      	* headers.mk: update distributed headers.
      
      	* tests/unit_test/mln_io_raw_all.cc,
      	* tests/unit_test/mln_io_raw_load.cc,
      	* tests/unit_test/mln_io_raw_save.cc,
      	* tests/io/raw/raw.cc,
      	* tests/io/raw/Makefile.am,
      	* tests/io/raw/pbm.cc,
      	* mln/io/raw/all.hh,
      	* mln/io/raw/load.hh,
      	* mln/io/raw/save.hh: move to...
      
      	* tests/unit_test/mln_io_dump_all,
      	* tests/unit_test/mln_io_dump_load,
      	* tests/unit_test/mln_io_dump_save,
      	* tests/io/dump/Makefile.am,
      	* tests/io/dump/dump.cc,
      	* mln/io/dump/all.hh,
      	* mln/io/dump/load.hh,
      	* mln/io/dump/save.hh: ... here.
      
      	* mln/io/all.hh
      	* mln/io/essential.hh: update includes.
      
      	* tests/unit_test/Makefile.am: update unit test list.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3253 4aad255d-cdde-0310-9447-f3009e2ae8c0
      208b4613
    • Guillaume Lazzara's avatar
      Fix distribution. · 6c119dbd
      Guillaume Lazzara authored
      	* headers.mk: add mln/io/cloud/all.hh.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_io_cloud_all.cc: add missing unit test.
      
      	* mln/accu/rms.hh,
      	* mln/convert/impl/from_image_to_site_set.hh,
      	* mln/core/alias/all.hh,
      	* mln/fun/p2p/translation.hh,
      	* mln/trace/exiting.hh,
      	* mln/transform/internal/closest_point_functor.hh: add missing
      	includes.
      
      	* mln/debug/slices_2d.hh: remove an unused variable.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3250 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6c119dbd
    • Guillaume Lazzara's avatar
      Various small fixes. · 8a6ddbb0
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/algebra/quat.hh: add a new overload of rotate().
      
      	* mln/canvas/labeling/level.hh,
      	* mln/canvas/labeling.hh: handle labeling abortion with
      	trace::warning.
      
      	* mln/core/internal/graph_psite_base.hh: remove a useless forward
      	declaration.
      
      	* mln/io/raw/all.hh: Rewrite, completely wrong...
      
      	* mln/accu/compute.hh,
      	* mln/core/image/tr_image.hh,
      	* mln/core/site_set/p_queue.hh,
      	* mln/io/raw/load.hh,
      	* mln/io/raw/save.hh,
      	* mln/value/shell.hh: update doc.
      
      	* mln/math/jacobi.hh: add missing casts and fix a bug with macros and
      	missing semicolons in for loops.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_convert_impl_from_site_set_to_image.cc,
      	* tests/unit_test/mln_core_image_p2p_image.cc,
      	* tests/unit_test/mln_core_image_slice_image.cc,
      	* tests/unit_test/mln_debug_slices_2d.cc,
      	* tests/unit_test/mln_fun_p2p_all.cc,
      	* tests/unit_test/mln_fun_p2p_translation.cc,
      	* tests/unit_test/mln_level_sort_offsets.cc: add new unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3244 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8a6ddbb0
    • Guillaume Lazzara's avatar
      Add closest_point_functor. · 570ff643
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/canvas/distance_geodesic.hh: add a call to init_p() in the
      	functor passed as argument.
      
      	* mln/transform/internal/distance_functor.hh: add missing init_p()
      	  member.
      
      	* mln/transform/internal/closest_point_functor.hh: New. Construct an
      	image of closest point.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_transform_internal_closest_point_functor.cc: add
      	new unit test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3241 4aad255d-cdde-0310-9447-f3009e2ae8c0
      570ff643
    • Guillaume Lazzara's avatar
      Add io::cloud. · 5ca1c54c
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/io/all.hh: include new headers.
      
      	* mln/io/cloud/all.hh,
      	* mln/io/cloud/load.hh,
      	* mln/io/cloud/save.hh: load and save a cloud of points.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_io_cloud_load.cc,
      	* tests/unit_test/mln_io_cloud_save.cc: add new unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3240 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5ca1c54c
    • Guillaume Lazzara's avatar
      Add accu::rms. · 9d67ffe6
      Guillaume Lazzara authored
      	* headers.mk: add new header to distribution.
      
      	* mln/accu/all.hh: include new header.
      
      	* mln/accu/rms.hh: Compute the root mean square.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_accu_rms.cc: add unit test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3239 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9d67ffe6
    • Guillaume Lazzara's avatar
      Add make::h_mat. · 8a43a168
      Guillaume Lazzara authored
      	* headers.mk: add new header to distribution.
      
      	* mln/make/h_mat.hh: create a h_mat from a C-style array.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_make_h_mat.cc: add unit test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3238 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8a43a168
    • Guillaume Lazzara's avatar
      Add core/alias/all.hh and alias/vec3d.hh. · 64cec68d
      Guillaume Lazzara authored
      	* doc/tutorial/examples/examples.mk
      	* doc/tutorial/figures/figures.mk
      	* doc/tutorial/outputs/outputs.mk
      	* doc/tutorial/samples/samples.mk: Update generated files.
      
      	* headers.mk: add new header to distribution.
      
      	* mln/core/alias/all.hh: new header.
      
      	* mln/core/alias/vec3d.hh: new aliases for 3d algebra::vec.
      
      	* mln/core/alias/box2d.hh,
      	* mln/core/alias/box3d.hh: update comments.
      
      	* mln/core/all.hh: include alias/all.hh.
      
      	* mln/essential/3d.hh: add image3d.hh and vec3d.hh.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_core_alias_all.cc,
      	* tests/unit_test/mln_core_alias_vec3d.cc,
      	* tests/unit_test/mln_make_image3d.cc: add new unit test files.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3237 4aad255d-cdde-0310-9447-f3009e2ae8c0
      64cec68d
  24. 23 Jan, 2009 3 commits
    • Guillaume Lazzara's avatar
      Add io::raw::save and io::raw::load routines. · efdf6433
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/io/raw/all.hh: include new headers.
      
      	* mln/io/raw/load.hh,
      	* mln/io/raw/save.hh: new io routines. Dump/load Olena images into a
      	file.
      
      	* tests/io/Makefile.am,
      	* tests/io/raw/Makefile.am,
      	* tests/io/raw/pbm.cc,
      	* tests/io/raw/raw.cc: add new tests.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_io_raw_all.cc,
      	* tests/unit_test/mln_io_raw_load.cc,
      	* tests/unit_test/mln_io_raw_save.cc: add new unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3194 4aad255d-cdde-0310-9447-f3009e2ae8c0
      efdf6433
    • Guillaume Lazzara's avatar
      Introduce literal::min and literal::max. · 3eba104e
      Guillaume Lazzara authored
      	* milena/headers.mk: add new headers to distribution.
      
      	* milena/mln/literal/all.hh: include new headers.
      
      	* milena/mln/literal/max.hh,
      	* milena/mln/literal/min.hh: New literals. They use mln_{max,min}
      	internaly.
      
      	* milena/tests/unit_test/Makefile.am,
      	* milena/tests/unit_test/mln_literal_max.cc,
      	* milena/tests/unit_test/mln_literal_min.cc: new unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3192 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3eba104e
    • Guillaume Lazzara's avatar
      Add routines to work on a specific color component. · 12bc673f
      Guillaume Lazzara authored
      	* headers.mk: add new headers to distribution.
      
      	* mln/all.hh,
      	* mln/essential/routine.hh,
      	* mln/extract/all.hh,
      	* mln/extract/essential.hh: include the new headers.
      
      	* mln/extract/blue.hh,
      	* mln/extract/green.hh,
      	* mln/extract/red.hh: new routines. Create a fun_image to work on a
      	specific color component.
      
      
      	* tests/extract/Makefile.am,
      	* tests/extract/blue.cc,
      	* tests/extract/green.cc,
      	* tests/extract/red.cc: add new tests.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_extract_all.cc,
      	* tests/unit_test/mln_extract_blue.cc,
      	* tests/unit_test/mln_extract_essential.cc,
      	* tests/unit_test/mln_extract_green.cc,
      	* tests/unit_test/mln_extract_red.cc,
      	* tests/unit_test/mln_opt_element.cc: add unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3189 4aad255d-cdde-0310-9447-f3009e2ae8c0
      12bc673f
  25. 21 Jan, 2009 1 commit
    • Guillaume Lazzara's avatar
      Handle rgb and hsl conversions in from_to and remove to_rgb. · c8c22981
      Guillaume Lazzara authored
      	* headers.mk: remove to_rgb.hh from distribution.
      
      	* mln/convert/all.hh: remove to_rgb.hh.
      
      	* mln/convert/from_to.hxx: add more predeclarations.
      
      	* mln/convert/impl/from_value_to_value.hh: if no value concept is
      	caught in the dispatch, try to call a from_to_ overload.
      
      	* mln/fun/v2v/rgb_to_hsl.hh: add new global variables of function
      	converting rgb16 to hsl.
      
      	* mln/value/hsl.hh,
      	* mln/value/rgb.hh: add new from_to_ overloads.
      
      	* tests/convert/Makefile.am,
      	* tests/convert/to_hsl.cc,
      	* tests/convert/to_rgb.cc: new tests. Test conversions with rgb<n> and
      	hsl<h,s,l> using from_to.
      
      	* mln/convert/to_rgb.hh: remove. Useless since conversions are now done
      	thanks to from_to.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_convert_to_rgb.cc: remove unit_test related to
      	to_rgb.hh.
      
      	* mln/fun/v2v/rgb_to_hsl.hh: do not include hsl.hh anymore.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3180 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c8c22981
  26. 20 Jan, 2009 1 commit
    • Guillaume Lazzara's avatar
      Introduce debug::quiet. · 01ca7d23
      Guillaume Lazzara authored
      	* headers.mk: add new header to distribution.
      
      	* mln/debug/all.hh,
      	* mln/debug/essential.hh: include quiet.hh
      
      	* mln/debug/println.hh: use debug::quiet. Println prints nothing if
      	debug::quiet is set to true.
      
      	* mln/debug/quiet.hh: the new global variable.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_debug_quiet.cc: new unit test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3172 4aad255d-cdde-0310-9447-f3009e2ae8c0
      01ca7d23