1. 12 Sep, 2008 1 commit
    • Thierry Geraud's avatar
      Propagate a few renamings to some test code. · ce9d9c45
      Thierry Geraud authored
      	* tests/core/site_set/p_queue_fast.cc,
      	* tests/core/site_set/p_priority_queue_fast.cc,
      	* tests/core/site_set/p_queue.cc,
      	* tests/core/site_set/p_priority_queue.cc,
      	* tests/core/site_set/p_runs.cc,
      	* tests/core/site_set/p_image2d.cc,
      	* tests/core/site_set/pset_array.cc,
      	* tests/core/site_set/pset_if.cc,
      	* tests/core/site_set/p_priority_queue_fast_with_array.cc,
      	* tests/core/site_set/p_set.cc,
      	* tests/core/other/neighb.cc,
      	* tests/core/other/pixter2d.cc,
      	* tests/core/other/pixter3d.cc,
      	* tests/core/image/complex_image.cc,
      	* tests/core/image/image3d.cc,
      	* tests/core/image/image_if.cc,
      	* tests/draw/line.cc,
      	* tests/level/median_fast.cc,
      	* tests/border/mirror_full.cc,
      	* tests/border/duplicate_full.cc,
      	* tests/border/fill_full.cc,
      	* tests/border/mirror.cc,
      	* tests/border/duplicate.cc,
      	* tests/border/fill.cc,
      	* tests/convert/to_p_set.cc,
      	* tests/convert/to_p_array.cc,
      	* tests/util/lemmings.cc,
      	* tests/labeling/level.cc (npoints): Update to...
      	(nsites): ...this.
      	(image::operator[]): Update to...
      	(image::element): ...this.
      	(mln_point): Update to...
      	(mln_site): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2225 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ce9d9c45
  2. 11 Sep, 2008 1 commit
    • Guillaume Lazzara's avatar
      Fix most of Doxygen's warnings. · 085727de
      Guillaume Lazzara authored
      	* milena/mln/core/image/flat_image.hh,
      	* milena/mln/core/internal/site_relative_iterator_base.hh,
      	* milena/mln/core/site_set/line2d.hh,
      	* milena/mln/core/site_set/p_if_piter.hh,
      	* milena/mln/core/site_set/p_priority.hh,
      	* milena/mln/trait/image/props.hh,
      	* milena/mln/util/internal/boost_graph_structure.hh,
      	* milena/mln/util/internal/graph_base.hh,
      	* milena/tests/algebra/h_vec.cc,
      	* milena/tests/binarization/threshold.cc,
      	* milena/tests/core/image/flat_image.cc,
      	* milena/tests/core/image/tr_image.cc,
      	* milena/tests/core/other/dpoints_pixter.cc,
      	* milena/tests/core/site_set/p_priority_queue.cc,
      	* milena/tests/core/site_set/p_priority_queue_fast.cc,
      	* milena/tests/core/site_set/p_priority_queue_fast_with_array.cc,
      	* milena/tests/core/site_set/pset_array.cc,
      	* milena/tests/core/site_set/pset_if.cc,
      	* milena/tests/level/sort_psites_full.cc,
      	* milena/tests/morpho/line_graph_image_wst.cc,
      	* milena/tests/morpho/meyer_wst.cc,
      	* milena/tests/morpho/meyer_wst_long.cc,
      	* milena/tests/test/positive.cc,
      	* milena/tests/value/builtin/builtin.cc:
      	  Fix \file tag with the proper file name.
      
      	* milena/doc/Doxyfile.in: Add new macro expansions.
      	* milena/doc/Makefile.am: set EXCLUDE_SYMBOLS properly when
      	  making the user doc.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2224 4aad255d-cdde-0310-9447-f3009e2ae8c0
      085727de
  3. 10 Sep, 2008 1 commit
    • Nicolas Ballas's avatar
      Parametrize histo::data by value types, Repair image1d. · 5f36dc6d
      Nicolas Ballas authored
      	* tests/core/other/pixter1d.cc,
      	* tests/core/image/image1d.cc: Replace npoints method by nsites.
      	* mln/histo/compute.spe.hh,
      	* mln/histo/compute.hh,
      	* tests/histo/compute.cc,
      	* tests/histo/to_image1d.cc: Change the histo::data parameter
      	* mln/histo/data.hh: Update data parameter.
      	* mln/core/site_set/p_line_graph_piter.hh: Fix compile errors.
      	* mln/core/image/image1d.hh: Repair image1d.
      	* mln/core/image/image3d.hh: Fix compile errors.
      	* mln/core/internal/check/image_fastest.hh: .
      	* mln/core/alias/dpoint1d.hh,
      	* mln/core/alias/dpoint3d.hh: Fix the dpoints coordinates type.
      	* mln/core/alias/point1d.hh,
      	* mln/core/alias/point3d.hh: Add specialization for subject_impl.
      	* mln/core/alias/point2d.hh: delete trailing whitespaces.
      	* mln/pw/image.hh,
      	* mln/value/stack.hh: Remove the values method.
      	* mln/convert/to_image.hh,
      	* mln/morpho/erosion.hh: Adapt to the histo::data changes.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2209 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5f36dc6d
  4. 09 Sep, 2008 1 commit
  5. 08 Sep, 2008 1 commit
    • Nicolas Ballas's avatar
      Add the values_space method to image base. · 97cc9f5a
      Nicolas Ballas authored
      	* tests/core/image/flat_image.cc: update test
      	* mln/core/image/cast_image.hh,
      	* mln/core/image/decorated_image.hh,
      	* mln/core/image/obased_rle_image.hh,
      	* mln/core/image/value_enc_image.hh,
      	* mln/core/image/graph_image.hh,
      	* mln/core/image/line_graph_image.hh,
      	* mln/core/image/rle_image.hh,
      	* mln/core/image/tr_image.hh,
      	* mln/core/image/flat_image.hh,
      	* mln/core/image/mono_obased_rle_image.hh,
      	* mln/core/image/interpolated.hh,
      	* mln/core/image/sparse_image.hh,
      	* mln/core/image/bgraph_image.hh,
      	* mln/core/image/t_image.hh,
      	* mln/core/image/image1d.hh,
      	* mln/core/image/image2d.hh,
      	* mln/core/image/fi_adaptor.hh,
      	* mln/core/image/image3d.hh,
      	* mln/core/image/complex_image.hh,
      	* mln/core/image/mono_rle_image.hh: delete the values method.
      	* mln/core/macros.hh: update (mln_vset returns now t_eligible_values).
      	* mln/core/internal/image_base.hh: add the values_space method.
      	* mln/core/internal/image_identity.hh,
      	* mln/core/internal/image_domain_morpher.hh: update.
      	* mln/core/internal/image_value_morpher.hh: fix compile bug.
      	* mln/core/concept/image.hh: add interface check.
      	* mln/value/super_value.hh: New trait that return the super value type.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2196 4aad255d-cdde-0310-9447-f3009e2ae8c0
      97cc9f5a
  6. 05 Sep, 2008 1 commit
    • Nicolas Ballas's avatar
      Add the image value type in the class image_base_. · 71870263
      Nicolas Ballas authored
      	* mln/core/internal/image_base.hh: .
      	* mln/core/internal/image_morpher.hh: .
      	* mln/core/internal/site_set_iterator_base.hh: .
      	* mln/core/internal/image_primary.hh: .
      	* mln/core/internal/image_identity.hh: .
      	* mln/core/internal/image_domain_morpher.hh: .
      	* mln/core/internal/image_value_morpher.hh: .
      	* mln/core/site_set/box.hh: fix compile warning.
      	* mln/core/site_set/box_piter.hh: .
      	* mln/core/image/lazy_image.hh: .
      	* mln/core/image/extension_fun.hh: .
      	* mln/core/image/cast_image.hh: .
      	* mln/core/image/image_if.hh: .
      	* mln/core/image/graph_image.hh: .
      	* mln/core/image/line_graph_image.hh: .
      	* mln/core/image/hexa.hh: .
      	* mln/core/image/flat_image.hh: .
      	* mln/core/image/interpolated.hh: .
      	* mln/core/image/extension_ima.hh: .
      	* mln/core/image/bgraph_image.hh: .
      	* mln/core/image/t_image.hh: .
      	* mln/core/image/image1d.hh: .
      	* mln/core/image/image2d.hh: .
      	* mln/core/image/fi_adaptor.hh: .
      	* mln/core/image/image3d.hh: .
      	* mln/core/image/complex_image.hh: .
      	* mln/core/image/inplace.hh: .
      	* mln/pw/image.hh: .
      	* mln/core/image/extension_val.hh: .
      	* mln/core/concept/image.hh: .
      	* mln/level/fill_with_value.hh: .
      	* mln/make/box2d.hh: .
      	* mln/border/find.hh: .
      	* mln/algebra/vec.hh: fix compile mistakes.
      	* tests/core/image/image_if.cc: Update the test.
      	* tests/core/image/Makefile.am: Update.
      	* tests/core/image/flat_image.cc: New Test.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2191 4aad255d-cdde-0310-9447-f3009e2ae8c0
      71870263
  7. 04 Sep, 2008 8 commits
    • Thierry Geraud's avatar
      Move test files from core/ to sub-directories. · b717e240
      Thierry Geraud authored
      	* tests/core/alias,
      	* tests/core/image
      	* tests/core/other,
      	* tests/core/routine,
      	* tests/core/site_set: New directories.
      
      	* tests/core/bgraph_image.cc,
      	* tests/core/box1d.cc,
      	* tests/core/box2d.cc,
      	* tests/core/box3d.cc,
      	* tests/core/cast_image.cc,
      	* tests/core/category.cc,
      	* tests/core/clock_neighb2d.cc,
      	* tests/core/clock_test.cc,
      	* tests/core/clone.cc,
      	* tests/core/complex.cc,
      	* tests/core/complex_image.cc,
      	* tests/core/decorated_image.cc,
      	* tests/core/dpoint1d.cc,
      	* tests/core/dpoint2d.cc,
      	* tests/core/dpoint3d.cc,
      	* tests/core/dpoints_pixter.cc,
      	* tests/core/exact.cc,
      	* tests/core/fi_adaptor.cc,
      	* tests/core/graph_elt_neighborhood.cc,
      	* tests/core/graph_elt_window.cc,
      	* tests/core/graph_image.cc,
      	* tests/core/graph_image_wst.cc,
      	* tests/core/hexa.cc,
      	* tests/core/image1d.cc,
      	* tests/core/image2d.cc,
      	* tests/core/image2d_h.cc,
      	* tests/core/image3d.cc,
      	* tests/core/image_if.cc,
      	* tests/core/image_if_interval.cc,
      	* tests/core/image_if_value.cc,
      	* tests/core/initialize.cc,
      	* tests/core/interpolated.cc,
      	* tests/core/line_graph_elt_neighborhood.cc,
      	* tests/core/line_graph_elt_window.cc,
      	* tests/core/line_graph_image.cc,
      	* tests/core/line_piter.cc,
      	* tests/core/mono_obased_rle_image.cc,
      	* tests/core/mono_rle_image.cc,
      	* tests/core/neighb.cc,
      	* tests/core/obased_rle_image.cc,
      	* tests/core/p_array.cc,
      	* tests/core/p_bgraph.cc,
      	* tests/core/p_image2d.cc,
      	* tests/core/p_priority_queue.cc,
      	* tests/core/p_priority_queue_fast.cc,
      	* tests/core/p_priority_queue_fast_with_array.cc,
      	* tests/core/p_queue.cc,
      	* tests/core/p_queue_fast.cc,
      	* tests/core/p_runs.cc,
      	* tests/core/p_set.cc,
      	* tests/core/pixel.cc,
      	* tests/core/pixter1d.cc,
      	* tests/core/pixter1d_more.cc,
      	* tests/core/pixter2d.cc,
      	* tests/core/pixter2d_more.cc,
      	* tests/core/pixter3d.cc,
      	* tests/core/pixter3d_more.cc,
      	* tests/core/plain.cc,
      	* tests/core/point1d.cc,
      	* tests/core/point2d.cc,
      	* tests/core/point3d.cc,
      	* tests/core/point_set_compatibility.cc,
      	* tests/core/pset_array.cc,
      	* tests/core/pset_if.cc,
      	* tests/core/rle_image.cc,
      	* tests/core/safe_image.cc,
      	* tests/core/sparse_image.cc,
      	* tests/core/sub_image.cc,
      	* tests/core/t_image.cc,
      	* tests/core/tr_image.cc,
      	* tests/core/translate_image.cc,
      	* tests/core/value_enc_image.cc,
      	* tests/core/w_window1d_int.cc,
      	* tests/core/w_window2d_int.cc,
      	* tests/core/w_window3d_int.cc,
      	* tests/core/window1d.cc,
      	* tests/core/window2d.cc,
      	* tests/core/window3d.cc: Rename...
      
      	* tests/core/alias/box1d.cc,
      	* tests/core/alias/box2d.cc,
      	* tests/core/alias/box3d.cc,
      	* tests/core/alias/dpoint1d.cc,
      	* tests/core/alias/dpoint2d.cc,
      	* tests/core/alias/dpoint3d.cc,
      	* tests/core/alias/point1d.cc,
      	* tests/core/alias/point2d.cc,
      	* tests/core/alias/point3d.cc,
      	* tests/core/alias/w_window1d_int.cc,
      	* tests/core/alias/w_window2d_int.cc,
      	* tests/core/alias/w_window3d_int.cc,
      	* tests/core/alias/window1d.cc,
      	* tests/core/alias/window2d.cc,
      	* tests/core/alias/window3d.cc: ...as these and...
      	
      	* tests/core/image/bgraph_image.cc,
      	* tests/core/image/cast_image.cc,
      	* tests/core/image/complex_image.cc,
      	* tests/core/image/decorated_image.cc,
      	* tests/core/image/fi_adaptor.cc,
      	* tests/core/image/graph_image.cc,
      	* tests/core/image/graph_image_wst.cc,
      	* tests/core/image/hexa.cc,
      	* tests/core/image/image1d.cc,
      	* tests/core/image/image2d.cc,
      	* tests/core/image/image2d_h.cc,
      	* tests/core/image/image3d.cc,
      	* tests/core/image/image_if.cc,
      	* tests/core/image/image_if_interval.cc,
      	* tests/core/image/image_if_value.cc,
      	* tests/core/image/interpolated.cc,
      	* tests/core/image/line_graph_image.cc,
      	* tests/core/image/mono_obased_rle_image.cc,
      	* tests/core/image/mono_rle_image.cc,
      	* tests/core/image/obased_rle_image.cc,
      	* tests/core/image/plain.cc,
      	* tests/core/image/rle_image.cc,
      	* tests/core/image/safe_image.cc,
      	* tests/core/image/sparse_image.cc,
      	* tests/core/image/sub_image.cc,
      	* tests/core/image/t_image.cc,
      	* tests/core/image/tr_image.cc,
      	* tests/core/image/translate_image.cc,
      	* tests/core/image/value_enc_image.cc: ...as these and...
      
      	* tests/core/other/category.cc,
      	* tests/core/other/clock_neighb2d.cc,
      	* tests/core/other/clock_test.cc,
      	* tests/core/other/complex.cc,
      	* tests/core/other/dpoints_pixter.cc,
      	* tests/core/other/graph_elt_neighborhood.cc,
      	* tests/core/other/graph_elt_window.cc,
      	* tests/core/other/line_graph_elt_neighborhood.cc,
      	* tests/core/other/line_graph_elt_window.cc,
      	* tests/core/other/line_piter.cc,
      	* tests/core/other/neighb.cc,
      	* tests/core/other/pixel.cc,
      	* tests/core/other/pixter1d.cc,
      	* tests/core/other/pixter1d_more.cc,
      	* tests/core/other/pixter2d.cc,
      	* tests/core/other/pixter2d_more.cc,
      	* tests/core/other/pixter3d.cc,
      	* tests/core/other/pixter3d_more.cc,
      	* tests/core/other/point_set_compatibility.cc: ...as these and...
      
      	* tests/core/routine/clone.cc,
      	* tests/core/routine/exact.cc,
      	* tests/core/routine/initialize.cc: ...as these and...
      
      	* tests/core/site_set/p_array.cc,
      	* tests/core/site_set/p_bgraph.cc,
      	* tests/core/site_set/p_image2d.cc,
      	* tests/core/site_set/p_priority_queue.cc,
      	* tests/core/site_set/p_priority_queue_fast.cc,
      	* tests/core/site_set/p_priority_queue_fast_with_array.cc,
      	* tests/core/site_set/p_queue.cc,
      	* tests/core/site_set/p_queue_fast.cc,
      	* tests/core/site_set/p_runs.cc,
      	* tests/core/site_set/p_set.cc,
      	* tests/core/site_set/pset_array.cc,
      	* tests/core/site_set/pset_if.cc: ...these.
      
      	* tests/core/alias/Makefile.am,
      	* tests/core/image/Makefile.am,
      	* tests/core/other/Makefile.am,
      	* tests/core/routine/Makefile.am,
      	* tests/core/site_set/Makefile.am: New.
      
      	* tests/core/Makefile.am: Update.
      
      	* tests/core/h_vec.cc: Rename as...
      	* tests/algebra/h_vec.cc: ...this.
      	Update.
      	* tests/algebra/Makefile.am: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2180 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b717e240
    • Thierry Geraud's avatar
      Move h_vec and h_mat in mln/ from core/ to algebra/. · ab372419
      Thierry Geraud authored
      	* mln/core/h_vec.hh,
      	* mln/core/h_mat.hh: Rename as...
      	* mln/algebra/h_vec.hh,
      	* mln/algebra/h_mat.hh: ...these.
      	Update.
      	
      	* tests/core/h_vec.cc,
      	* tests/algebra/vec2.cc,
      	* tests/algebra/mat.cc,
      	* mln/core/point.hh,
      	* mln/metal/vec.hh,
      	* mln/fun/x2x/composed.hh,
      	* mln/fun/x2x/translation.hh,
      	* mln/fun/x2x/rotation.hh,
      	* mln/fun/internal/x2x_linear_impl.hh,
      	* mln/algebra/vec.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2178 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ab372419
    • Thierry Geraud's avatar
      Move some remaining core types in appropriate directories. · 6c12812f
      Thierry Geraud authored
      	* mln/core/complex_image.hh,
      	* mln/core/lazy_image.hh: Rename as...
      	* mln/core/image/complex_image.hh,
      	* mln/core/image/lazy_image.hh: ...these.
      
      	* mln/core/p_complex.hh,
      	* mln/core/p_complex_piter.hh,
      	* mln/core/p_faces.hh: Rename as...
      	* mln/core/site_set/p_complex.hh,
      	* mln/core/site_set/p_complex_piter.hh,
      	* mln/core/site_set/p_faces.hh: ...these.
      
      	* tests/core/complex_image.cc: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2177 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6c12812f
    • Thierry Geraud's avatar
      Rename pset_if as p_if and remove Q at end of priority_Q. · 1181a392
      Thierry Geraud authored
      	* mln/core/site_set/pset_if.hh,
      	* mln/core/pset_if_piter.hh: Rename as...
      	* mln/core/site_set/p_if.hh,
      	* mln/core/site_set/p_if_piter.hh: ...these.
      	* mln/core/site_set/p_priority_queue.hh: Rename as...
      	* mln/core/site_set/p_priority.hh: ...this.
      	
      	* tests/core/p_priority_queue.cc,
      	* tests/core/p_priority_queue_fast_with_array.cc,
      	* tests/core/pset_if.cc,
      	* tests/core/p_priority_queue_fast.cc,
      	* tests/convert/to_image.cc,
      	* doc/tutorial/examples/image_if.cc,
      	* doc/tutorial/examples/p_queue.cc,
      	* mln/core/site_set/p_image.hh,
      	* mln/core/image/image_if.hh,
      	* mln/core/internal/image_if_base.hh,
      	* mln/draw/label.hh,
      	* mln/geom/seeds2tiling_roundness.hh,
      	* mln/morpho/meyer_wst.hh,
      	* sandbox/pellegrin/set/test/p_priority_queue_fast.cc,
      	* sandbox/pellegrin/set/test/p_priority_queue.cc,
      	* sandbox/pellegrin/set/test/pset_if.cc,
      	* sandbox/pellegrin/set/test/p_priority_queue_fast_with_array.cc,
      	* sandbox/pellegrin/set/trait/point_set.hh,
      	* sandbox/pellegrin/set/core/p_priority_queue_fast.hh,
      	* sandbox/pellegrin/set/core/pset_if.hh,
      	* sandbox/pellegrin/set/core/concept/point_set.hh,
      	* sandbox/pellegrin/set/core/p_priority_queue.hh,
      	* sandbox/pellegrin/set/core/p_priority_queue_fast_with_array.hh,
      	* sandbox/garrigues/level_set.hh,
      	* sandbox/garrigues/fllt/fllt.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2176 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1181a392
    • Thierry Geraud's avatar
      Move routine files from mln/core/ to mln/core/routine/. · b831a54e
      Thierry Geraud authored
      	* mln/core/initialize.hh,
      	* mln/core/exact.hh,
      	* mln/core/init.hh,
      	* mln/core/ops.hh,
      	* mln/core/clone.hh: Rename as...
      	* mln/core/routine/initialize.hh,
      	* mln/core/routine/ops.hh,
      	* mln/core/routine/init.hh,
      	* mln/core/routine/exact.hh,
      	* mln/core/routine/clone.hh: ...these.
      	Update guards and includes.
      	
      	* tests/core/clone.cc,
      	* tests/core/image2d.cc,
      	* tests/core/exact.cc,
      	* tests/metal/unconst.cc,
      	* tests/level/assign_full.cc,
      	* tests/level/apply_full.cc,
      	* tests/level/saturate_full.cc,
      	* tests/arith/plus.cc,
      	* tests/border/find_full.cc,
      	* tests/border/find.cc,
      	* mln/trait/solve_binary.hh,
      	* mln/trait/solve_unary.hh,
      	* mln/core/image/plain.hh,
      	* mln/core/image/image2d.hh,
      	* mln/core/image/inplace.hh,
      	* mln/core/concept/object.hh,
      	* mln/core/concept/image.hh,
      	* mln/core/concept/site_set.hh,
      	* mln/core/a_point_of.hh,
      	* mln/draw/label.hh,
      	* mln/border/resize.hh,
      	* mln/geom/seeds2tiling_roundness.hh,
      	* mln/geom/seeds2tiling.hh,
      	* mln/geom/resize.hh,
      	* mln/util/yes.hh,
      	* mln/util/ordpair.hh,
      	* sandbox/duhamel/slow_seed2tiling.cc,
      	* sandbox/duhamel/labeling_algo.hh,
      	* sandbox/pellegrin/set/core/concept/point_set.hh,
      	* sandbox/aroumougame/skeleton/sedt.hh,
      	* sandbox/geraud/fllt/fllt.hh,
      	* sandbox/geraud/fllt/fllt.svg.1.cc,
      	* sandbox/geraud/fllt/fllt.svg.7.hh,
      	* sandbox/geraud/fllt/fllt.svg.2.cc,
      	* sandbox/geraud/fllt/fllt.svg.3.cc,
      	* sandbox/geraud/fllt/fllt.svg.4.cc,
      	* sandbox/geraud/fllt/fllt.svg.5.cc,
      	* sandbox/geraud/fllt/fllt.svg.6.cc,
      	* sandbox/geraud/fllt/fllt_test.hh,
      	* sandbox/geraud/fllt.svg.7.hh,
      	* sandbox/geraud/fllt.svg.6.cc,
      	* sandbox/garrigues/level_set.hh,
      	* sandbox/garrigues/fllt/test_fllt_lena_tiles.cc,
      	* sandbox/garrigues/fllt/test_fllt10.cc,
      	* sandbox/garrigues/fllt/test_fllt_tiny.cc,
      	* sandbox/garrigues/fllt/test_fllt12.cc,
      	* sandbox/garrigues/fllt/fllt_simple.svg.1.cc,
      	* sandbox/garrigues/fllt/fllt_simple.svg.3.cc,
      	* sandbox/garrigues/fllt/fllt_simple.cc,
      	* sandbox/garrigues/fllt/test_fllt10_inv.cc,
      	* sandbox/garrigues/fllt/fllt_theo.cc,
      	* sandbox/garrigues/fllt/test_fllt3.cc,
      	* sandbox/garrigues/fllt/test_fllt5.cc,
      	* sandbox/garrigues/fllt/test_fllt7.cc,
      	* sandbox/garrigues/fllt/test_fllt9.cc,
      	* sandbox/garrigues/fllt/test_fllt3_inv.cc,
      	* sandbox/garrigues/fllt/test_fllt_lena.cc,
      	* sandbox/garrigues/fllt/test_fllt.cc,
      	* sandbox/garrigues/fllt/test_flltb.cc,
      	* sandbox/garrigues/fllt/test_fllt7_inv.cc,
      	* sandbox/garrigues/fllt/test_fllt13.cc,
      	* sandbox/garrigues/fllt/test_fllt15.cc,
      	* sandbox/garrigues/fllt/fllt_simple.svg.2.cc,
      	* sandbox/garrigues/fllt/fllt.hh,
      	* sandbox/garrigues/fllt/test.cc,
      	* sandbox/garrigues/fllt/test_fllt2.cc,
      	* sandbox/garrigues/fllt/test_fllt4.cc,
      	* sandbox/garrigues/fllt/test_fllt6.cc,
      	* sandbox/garrigues/fllt/test_fllt8.cc,
      	* sandbox/garrigues/tiled_image2d/tiled_image2d.hh,
      	* sandbox/ballas/refactorization/exact.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2174 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b831a54e
    • Thierry Geraud's avatar
      Move alias files from mln/core/ to mln/core/alias/. · b157af3b
      Thierry Geraud authored
      	* mln/core/neighb1d.hh,
      	* mln/core/dpoint1d.hh,
      	* mln/core/neighb2d.hh,
      	* mln/core/neighb3d.hh,
      	* mln/core/dpoint2d.hh,
      	* mln/core/dpoint3d.hh,
      	* mln/core/point1d.hh,
      	* mln/core/point2d.hh,
      	* mln/core/point3d.hh,
      	* mln/core/w_window1d_int.hh,
      	* mln/core/window1d.hh,
      	* mln/core/w_window2d_int.hh,
      	* mln/core/window2d.hh,
      	* mln/core/w_window3d_int.hh,
      	* mln/core/window3d.hh,
      	* mln/core/w_window2d_float.hh,
      	* mln/core/dpoint2d_h.hh,
      	* mln/core/box1d.hh,
      	* mln/core/box2d.hh,
      	* mln/core/box3d.hh,
      	* mln/core/box2d_h.hh,
      	* mln/core/point2d_h.hh,
      	* mln/core/w_window1d_float.hh,
      	* mln/core/w_window3d_float.hh: Rename as...
      	* mln/core/alias/neighb1d.hh,
      	* mln/core/alias/neighb2d.hh,
      	* mln/core/alias/dpoint1d.hh,
      	* mln/core/alias/neighb3d.hh,
      	* mln/core/alias/dpoint2d.hh,
      	* mln/core/alias/dpoint3d.hh,
      	* mln/core/alias/box2d_h.hh,
      	* mln/core/alias/point2d_h.hh,
      	* mln/core/alias/dpoint2d_h.hh,
      	* mln/core/alias/w_window1d_int.hh,
      	* mln/core/alias/window1d.hh,
      	* mln/core/alias/w_window2d_int.hh,
      	* mln/core/alias/window2d.hh,
      	* mln/core/alias/window3d.hh,
      	* mln/core/alias/w_window3d_int.hh,
      	* mln/core/alias/w_window1d_float.hh,
      	* mln/core/alias/w_window2d_float.hh,
      	* mln/core/alias/w_window3d_float.hh,
      	* mln/core/alias/box1d.hh,
      	* mln/core/alias/point1d.hh,
      	* mln/core/alias/box2d.hh,
      	* mln/core/alias/box3d.hh,
      	* mln/core/alias/point2d.hh,
      	* mln/core/alias/point3d.hh: ...these.
      	Update guards and includes.
      	
      	* tools/seed2tiling.cc,
      	* tools/area_flooding.cc,
      	* tests/core/w_window1d_int.cc,
      	* tests/core/graph_elt_neighborhood.cc,
      	* tests/core/neighb.cc,
      	* tests/core/window1d.cc,
      	* tests/core/window2d.cc,
      	* tests/core/w_window2d_int.cc,
      	* tests/core/w_window3d_int.cc,
      	* tests/core/window3d.cc,
      	* tests/core/graph_image_wst.cc,
      	* tests/core/p_priority_queue.cc,
      	* tests/core/complex_image.cc,
      	* tests/core/p_priority_queue_fast_with_array.cc,
      	* tests/core/p_set.cc,
      	* tests/core/mono_rle_image.cc,
      	* tests/core/point_set_compatibility.cc,
      	* tests/core/obased_rle_image.cc,
      	* tests/core/graph_image.cc,
      	* tests/core/box1d.cc,
      	* tests/core/box2d.cc,
      	* tests/core/box3d.cc,
      	* tests/core/p_queue_fast.cc,
      	* tests/core/p_bgraph.cc,
      	* tests/core/mono_obased_rle_image.cc,
      	* tests/core/graph_elt_window.cc,
      	* tests/core/p_array.cc,
      	* tests/core/sparse_image.cc,
      	* tests/core/dpoint1d.cc,
      	* tests/core/dpoint2d.cc,
      	* tests/core/dpoint3d.cc,
      	* tests/core/clock_test.cc,
      	* tests/core/line_graph_elt_window.cc,
      	* tests/core/value_enc_image.cc,
      	* tests/core/line_graph_elt_neighborhood.cc,
      	* tests/core/p_queue.cc,
      	* tests/core/line_graph_image.cc,
      	* tests/core/point1d.cc,
      	* tests/core/point2d.cc,
      	* tests/core/point3d.cc,
      	* tests/core/p_priority_queue_fast.cc,
      	* tests/core/rle_image.cc,
      	* tests/core/h_vec.cc,
      	* tests/neighb/image.cc,
      	* tests/draw/label.cc,
      	* tests/draw/graph.cc,
      	* tests/linear/convolve.cc,
      	* tests/linear/line_convolve.cc,
      	* tests/linear/local/convolve.cc,
      	* tests/accu/all_accus.cc,
      	* tests/accu/bbox.cc,
      	* tests/convert/to_p_set.cc,
      	* tests/convert/to_p_array.cc,
      	* tests/convert/to_image.cc,
      	* tests/convert/to_window.cc,
      	* tests/pw/image.cc,
      	* tests/geom/sym.cc,
      	* tests/geom/seed2tiling_roundness.cc,
      	* tests/geom/seed2tiling.cc,
      	* tests/geom/shift.cc,
      	* tests/geom/pmin_pmax.cc,
      	* tests/geom/bbox.cc,
      	* tests/set/uni.cc,
      	* tests/set/sym_diff.cc,
      	* tests/set/inter.cc,
      	* tests/set/is_subset_of.cc,
      	* tests/set/diff.cc,
      	* tests/morpho/meyer_wst_long.cc,
      	* tests/morpho/artificial_line_graph_image_wst.cc,
      	* tests/morpho/rank_filter.cc,
      	* tests/morpho/dilation.cc,
      	* tests/morpho/line_graph_image_wst.cc,
      	* tests/morpho/meyer_wst.cc,
      	* tests/morpho/thinning.cc,
      	* tests/morpho/erosion.cc,
      	* tests/morpho/dilation_max_h.cc,
      	* tests/morpho/hit_or_miss.cc,
      	* tests/morpho/combined.cc,
      	* tests/morpho/gradient_elementary.cc,
      	* tests/morpho/closing_volume.cc,
      	* tests/morpho/closing_area.cc,
      	* tests/morpho/closing_height.cc,
      	* tests/morpho/opening_volume.cc,
      	* tests/morpho/opening_area.cc,
      	* tests/morpho/lena_line_graph_image_wst1.cc,
      	* tests/morpho/opening_height.cc,
      	* tests/morpho/erosion_min_h.cc,
      	* tests/morpho/lena_line_graph_image_wst2.cc,
      	* tests/display/show.cc,
      	* tests/display/save_and_show.cc,
      	* tests/canvas/chamfer.cc,
      	* tests/util/ordpair.cc,
      	* tests/labeling/regional_maxima.cc,
      	* tests/labeling/background.cc,
      	* tests/labeling/blobs.cc,
      	* tests/labeling/flat_zones.cc,
      	* tests/labeling/level.cc,
      	* tests/labeling/foreground.cc,
      	* tests/labeling/regional_minima.cc,
      	* apps/statues/mesh-segm.cc,
      	* apps/statues/mesh-skel.cc,
      	* doc/tutorial/examples/sub_image.cc,
      	* doc/tutorial/examples/image_if.cc,
      	* doc/tutorial/examples/p_vaccess.cc,
      	* doc/tutorial/examples/window.cc,
      	* doc/tutorial/examples/image2d.cc,
      	* doc/examples/labeling_algo.cc,
      	* mln/debug/println_with_border.hh,
      	* mln/core/p_image2d_pixter.hh,
      	* mln/core/image/translate_image.hh,
      	* mln/core/image/hexa.hh,
      	* mln/core/image/hexa_piter.hh,
      	* mln/core/image/image1d.hh,
      	* mln/core/image/fi_adaptor.hh,
      	* mln/core/image/image2d.hh,
      	* mln/core/image/image3d.hh,
      	* mln/core/p_image2d.hh,
      	* mln/core/clock_neighb2d.hh,
      	* mln/core/lazy_image.hh,
      	* mln/core/site_set/line2d.hh,
      	* mln/core/pixter1d.hh,
      	* mln/core/pixter2d.hh,
      	* mln/core/pixter3d.hh,
      	* mln/core/alias/p_run2d.hh,
      	* mln/draw/box.hh,
      	* mln/level/was.median.hh,
      	* mln/level/median.hh,
      	* mln/level/naive/median.hh,
      	* mln/level/fast_median.hh,
      	* mln/linear/gaussian.hh,
      	* mln/make/dpoint1d.hh,
      	* mln/make/dpoint2d.hh,
      	* mln/make/dpoint3d.hh,
      	* mln/make/dpoint2d_h.hh,
      	* mln/make/box1d.hh,
      	* mln/make/box2d.hh,
      	* mln/make/point1d.hh,
      	* mln/make/point2d.hh,
      	* mln/make/box3d.hh,
      	* mln/make/point3d.hh,
      	* mln/make/win_chamfer.hh,
      	* mln/make/w_window1d.hh,
      	* mln/make/w_window2d.hh,
      	* mln/make/w_window3d.hh,
      	* mln/make/box2d_h.hh,
      	* mln/make/point2d_h.hh,
      	* mln/make/window1d.hh,
      	* mln/make/w_window1d_int.hh,
      	* mln/make/w_window2d_int.hh,
      	* mln/make/window2d.hh,
      	* mln/make/window3d.hh,
      	* mln/make/w_window3d_int.hh,
      	* mln/geom/chamfer.hh,
      	* mln/fun/p2b/chess.hh,
      	* mln/win/cube3d.hh,
      	* mln/win/diag2d.hh,
      	* mln/win/backdiag2d.hh,
      	* mln/win/cuboid3d.hh,
      	* mln/win/octagon2d.hh,
      	* mln/win/disk2d.hh,
      	* mln/morpho/erosion_fast.hh,
      	* mln/morpho/line_gradient.hh,
      	* mln/morpho/dilation_fast.hh,
      	* mln/io/pfm/save.hh,
      	* mln/io/pnm/save.hh,
      	* sandbox/duhamel/main_mesh_image.cc,
      	* sandbox/duhamel/graph_labeling.hh,
      	* sandbox/duhamel/translate_image.hh,
      	* sandbox/duhamel/labeling_level_generic_10000x1000.cc,
      	* sandbox/duhamel/slow_seed2tiling.cc,
      	* sandbox/duhamel/labeling_algo.cc,
      	* sandbox/duhamel/main.cc,
      	* sandbox/duhamel/color_sub.cc,
      	* sandbox/duhamel/labeling_level_fast_10000x1000.cc,
      	* sandbox/duhamel/chamfer.cc,
      	* sandbox/duhamel/labeling_level_fast.cc,
      	* sandbox/duhamel/labeling_algo.hh,
      	* sandbox/duhamel/mesh_image.hh,
      	* sandbox/duhamel/chamfer.hh,
      	* sandbox/duhamel/draw_mesh.hh,
      	* sandbox/duhamel/labeling_level.hh,
      	* sandbox/pellegrin/set/test/p_queue_fast.cc,
      	* sandbox/pellegrin/set/test/p_priority_queue_fast.cc,
      	* sandbox/pellegrin/set/test/p_bgraph.cc,
      	* sandbox/pellegrin/set/test/p_queue.cc,
      	* sandbox/pellegrin/set/test/p_priority_queue.cc,
      	* sandbox/pellegrin/set/test/p_set.cc,
      	* sandbox/pellegrin/set/test/p_priority_queue_fast_with_array.cc,
      	* sandbox/pellegrin/set/core/line2d.hh,
      	* sandbox/aroumougame/skeleton/mesh-skel_region.cc,
      	* sandbox/aroumougame/skeleton/test.cc,
      	* sandbox/aroumougame/skeleton/neighborhood1.hh,
      	* sandbox/aroumougame/skeleton/mesh-skel.cc,
      	* sandbox/aroumougame/skeleton/test_image3d.cc,
      	* sandbox/nivault/plugin-gimp/src/gimp-image.hh,
      	* sandbox/nivault/plugin-gimp/src/build-image.hh,
      	* sandbox/nivault/extract_score.cc,
      	* sandbox/nivault/extract_character.cc,
      	* sandbox/nivault/median.hh,
      	* sandbox/geraud/fllt/fllt.hh,
      	* sandbox/geraud/fllt/fllt.svg.1.cc,
      	* sandbox/geraud/fllt/fllt.svg.7.hh,
      	* sandbox/geraud/fllt/fllt.svg.2.cc,
      	* sandbox/geraud/fllt/fllt.svg.3.cc,
      	* sandbox/geraud/fllt/fllt.svg.4.cc,
      	* sandbox/geraud/fllt/fllt.svg.5.cc,
      	* sandbox/geraud/fllt/fllt.svg.6.cc,
      	* sandbox/geraud/fllt/fllt_test.hh,
      	* sandbox/geraud/fllt.svg.7.hh,
      	* sandbox/geraud/dmap.cc,
      	* sandbox/geraud/fllt.svg.6.cc,
      	* sandbox/geraud/win_fun.cc,
      	* sandbox/geraud/irm.cc,
      	* sandbox/geraud/cs2d/tuto.cc,
      	* sandbox/geraud/cs2d/kruskal.cc,
      	* sandbox/geraud/cs2d/dbl_neighb.cc,
      	* sandbox/geraud/cs2d/cs2d.hh,
      	* sandbox/geraud/cs2d/tuto_bis.cc,
      	* sandbox/geraud/max_tree_nnodes.cc,
      	* sandbox/vigouroux/convert/value_to_point.hh,
      	* sandbox/vigouroux/yuv/get_blue.hh,
      	* sandbox/vigouroux/yuv/get_red.hh,
      	* sandbox/vigouroux/yuv/rgb_to_yuv.hh,
      	* sandbox/vigouroux/yuv/get_green.hh,
      	* sandbox/vigouroux/hsi/get_blue.hh,
      	* sandbox/vigouroux/hsi/get_red.hh,
      	* sandbox/vigouroux/hsi/rgb_to_hsi.hh,
      	* sandbox/vigouroux/hsi/get_green.hh,
      	* sandbox/vigouroux/function.hh,
      	* sandbox/vigouroux/tests.cc,
      	* sandbox/vigouroux/cmy/rgb_to_cmy.hh,
      	* sandbox/vigouroux/cmy/get_blue.hh,
      	* sandbox/vigouroux/cmy/fun.hh,
      	* sandbox/vigouroux/cmy/get_green.hh,
      	* sandbox/vigouroux/xyz/rgb_to_xyz.hh,
      	* sandbox/vigouroux/xyz/get_blue.hh,
      	* sandbox/vigouroux/xyz/get_red.hh,
      	* sandbox/vigouroux/xyz/get_green.hh,
      	* sandbox/vigouroux/yiq/get_blue.hh,
      	* sandbox/vigouroux/yiq/get_red.hh,
      	* sandbox/vigouroux/yiq/rgb_to_yiq.hh,
      	* sandbox/vigouroux/yiq/get_green.hh,
      	* sandbox/vigouroux/load.cc,
      	* sandbox/vigouroux/conv/getred.hh,
      	* sandbox/vigouroux/conv/tored.hh,
      	* sandbox/vigouroux/conv/torgb.hh,
      	* sandbox/vigouroux/conv/rgbto.hh,
      	* sandbox/vigouroux/color/rgb_to_hsl.hh,
      	* sandbox/vigouroux/color/rgb_to_cmy.hh,
      	* sandbox/vigouroux/color/rgb_to_xyz.hh,
      	* sandbox/vigouroux/color/tests.cc,
      	* sandbox/vigouroux/color/rgb_to_hsv.hh,
      	* sandbox/vigouroux/color/rgb_to_yiq.hh,
      	* sandbox/vigouroux/color/rgb_to_hsi.hh,
      	* sandbox/vigouroux/color/rgb_to_yuv.hh,
      	* sandbox/garrigues/level_set.hh,
      	* sandbox/garrigues/fllt/test_fllt_lena_tiles.cc,
      	* sandbox/garrigues/fllt/test_fllt10.cc,
      	* sandbox/garrigues/fllt/lower.hh,
      	* sandbox/garrigues/fllt/test_fllt12.cc,
      	* sandbox/garrigues/fllt/upper.hh,
      	* sandbox/garrigues/fllt/fllt_simple.svg.1.cc,
      	* sandbox/garrigues/fllt/fllt_simple.svg.3.cc,
      	* sandbox/garrigues/fllt/fllt_simple.cc,
      	* sandbox/garrigues/fllt/test_fllt10_inv.cc,
      	* sandbox/garrigues/fllt/fllt_theo.cc,
      	* sandbox/garrigues/fllt/test_fllt3.cc,
      	* sandbox/garrigues/fllt/test_fllt5.cc,
      	* sandbox/garrigues/fllt/test_fllt7.cc,
      	* sandbox/garrigues/fllt/test_fllt9.cc,
      	* sandbox/garrigues/fllt/test_fllt3_inv.cc,
      	* sandbox/garrigues/fllt/test_fllt_lena.cc,
      	* sandbox/garrigues/fllt/test_fllt.cc,
      	* sandbox/garrigues/fllt/test_flltb.cc,
      	* sandbox/garrigues/fllt/test_fllt7_inv.cc,
      	* sandbox/garrigues/fllt/test_fllt13.cc,
      	* sandbox/garrigues/fllt/test_fllt15.cc,
      	* sandbox/garrigues/fllt/fllt_simple.svg.2.cc,
      	* sandbox/garrigues/fllt/fllt.hh,
      	* sandbox/garrigues/fllt/test.cc,
      	* sandbox/garrigues/fllt/give_confs.cc,
      	* sandbox/garrigues/fllt/test_fllt2.cc,
      	* sandbox/garrigues/fllt/test_fllt4.cc,
      	* sandbox/garrigues/fllt/test_fllt6.cc,
      	* sandbox/garrigues/fllt/test_fllt8.cc,
      	* sandbox/garrigues/lower.hh,
      	* sandbox/garrigues/tiled_image2d/tiled_image2d.hh,
      	* sandbox/garrigues/tiled_image2d/layout/page2d/lrtb.hh,
      	* sandbox/garrigues/tiled_image2d/layout/image2d/lrtb.hh,
      	* sandbox/garrigues/upper.hh,
      	* sandbox/garrigues/factures/extract_array_highlight.cc,
      	* sandbox/garrigues/factures/extract_array.cc,
      	* sandbox/folio/test/psn.cc,
      	* sandbox/folio/test/psn_log.cc,
      	* sandbox/folio/test/dt_maze.cc,
      	* sandbox/folio/test/dt_bench.cc,
      	* sandbox/folio/test/dt.cc,
      	* sandbox/folio/psn.cc,
      	* sandbox/folio/psn_log.cc,
      	* sandbox/folio/dt.cc,
      	* sandbox/beguin/irm_g.cc,
      	* sandbox/beguin/fusion_graph.hh,
      	* sandbox/beguin/irm.cc,
      	* sandbox/abraham/tests/morpho/test_component_tree.cc,
      	* sandbox/abraham/tests/morpho/test_watershed.cc,
      	* sandbox/abraham/tests/morpho/test_watershed_topo.cc,
      	* sandbox/abraham/mln/io/tikz/save.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2173 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b157af3b
    • Thierry Geraud's avatar
      Move image files in the proper core sub-directory. · 501b9e98
      Thierry Geraud authored
      	Move image files from mln/core/ to mln/core/image/.
      	
      	* mln/core/bgraph_image.hh,
      	* mln/core/bgraph_psite.hh,
      	* mln/core/cast_image.hh,
      	* mln/core/decorated_image.hh,
      	* mln/core/fi_adaptor.hh,
      	* mln/core/graph_elt_neighborhood.hh,
      	* mln/core/graph_elt_window.hh,
      	* mln/core/graph_image.hh,
      	* mln/core/graph_neighborhood_piter.hh,
      	* mln/core/graph_psite.hh,
      	* mln/core/graph_window_piter.hh,
      	* mln/core/hexa.hh,
      	* mln/core/hexa_piter.hh,
      	* mln/core/image1d.hh,
      	* mln/core/image2d.hh,
      	* mln/core/image2d_h.hh,
      	* mln/core/image3d.hh,
      	* mln/core/image_if.hh,
      	* mln/core/inplace.hh,
      	* mln/core/interpolated.hh,
      	* mln/core/line_graph_elt_neighborhood.hh,
      	* mln/core/line_graph_elt_window.hh,
      	* mln/core/line_graph_image.hh,
      	* mln/core/line_graph_neighborhood_piter.hh,
      	* mln/core/line_graph_psite.hh,
      	* mln/core/line_graph_window_piter.hh,
      	* mln/core/mono_obased_rle_encode.hh,
      	* mln/core/mono_obased_rle_image.hh,
      	* mln/core/mono_rle_encode.hh...
      501b9e98
    • Thierry Geraud's avatar
      Move site set files in the proper core sub-directory. · ee53dffb
      Thierry Geraud authored
      	Move site_set files from mln/core/ to mln/core/site_set/.
      	
      	* mln/core/box.hh,.
      	* mln/core/box_piter.hh,.
      	* mln/core/line2d.hh,.
      	* mln/core/p_array.hh,.
      	* mln/core/p_bgraph.hh,.
      	* mln/core/p_bgraph_piter.hh,.
      	* mln/core/p_graph.hh,.
      	* mln/core/p_graph_piter.hh,.
      	* mln/core/p_line_graph.hh,.
      	* mln/core/p_line_graph_piter.hh,.
      	* mln/core/p_priority_queue.hh,.
      	* mln/core/p_queue.hh,.
      	* mln/core/p_queue_fast.hh,.
      	* mln/core/p_run.hh,.
      	* mln/core/p_set.hh,.
      	* mln/core/pset_if.hh: Rename as...
      	* mln/core/site_set/box.hh,
      	* mln/core/site_set/box_piter.hh,
      	* mln/core/site_set/line2d.hh,
      	* mln/core/site_set/p_array.hh,
      	* mln/core/site_set/p_bgraph.hh,
      	* mln/core/site_set/p_bgraph_piter.hh,
      	* mln/core/site_set/p_graph.hh,
      	* mln/core/site_set/p_graph_piter.hh,
      	* mln/core/site_set/p_line_graph.hh,
      	* mln/core/site_set/p_line_graph_piter.hh,
      	* mln/core/site_set/p_priority_queue.hh,
      	* mln/core/site_set/p_queue.hh,
      	* mln/core/site_set/p_queue_fast.hh,
      	* mln/core/site_set/p_run.hh,
      	* mln/core/site_set/p_set.hh,
      	* mln/core/site_set/pset_if.hh: ...these.
      	Update guards.
      	
      	* tests/core/p_priority_queue.cc,
      	* tests/core/p_set.cc,
      	* tests/core/point_set_compatibility.cc,
      	* tests/core/p_queue_fast.cc,
      	* tests/core/p_bgraph.cc,
      	* tests/core/pset_if.cc,
      	* tests/core/p_array.cc,
      	* tests/core/p_queue.cc,
      	* tests/draw/graph.cc,
      	* tests/level/sort_psites_full.cc,
      	* tests/level/sort_psites.cc,
      	* tests/convert/to_p_array.cc,
      	* tests/convert/to_image.cc,
      	* tests/geom/pmin_pmax.cc,
      	* tests/geom/bbox.cc,
      	* tests/set/is_subset_of.cc,
      	* tests/display/color_pretty.cc,
      	* tests/util/tree_to_image.cc,
      	* tests/util/tree_fast_to_image.cc,
      	* doc/tutorial/examples/p_line2d.cc,
      	* doc/tutorial/examples/p_array.cc,
      	* doc/tutorial/examples/p_array.2.cc,
      	* doc/tutorial/examples/p_image.cc,
      	* doc/tutorial/examples/p_queue.cc,
      	* doc/tutorial/examples/window.cc,
      	* doc/tutorial/examples/image2d.cc,
      	* doc/tutorial/examples/image_safe.cc,
      	* doc/tutorial/examples/proxy.cc,
      	* doc/tutorial/examples/p_mutable_array_of.cc,
      	* mln/debug/println_with_border.spe.hh,
      	* mln/debug/println.spe.hh,
      	* mln/core/line_graph_image.hh,
      	* mln/core/internal/graph_vicinity_piter.hh,
      	* mln/core/internal/image_if_base.hh,
      	* mln/core/internal/line_graph_vicinity_piter.hh,
      	* mln/core/p_priority_queue_fast.hh,
      	* mln/core/bgraph_image.hh,
      	* mln/core/p_priority_queue_fast_with_array.hh,
      	* mln/core/obased_rle_image.hh,
      	* mln/core/graph_image.hh,
      	* mln/core/line_graph_psite.hh,
      	* mln/core/box1d.hh,
      	* mln/core/box3d.hh,
      	* mln/core/alias/p_run2d.hh,
      	* mln/core/pset_if_piter.hh,
      	* mln/core/p_array_piter.hh,
      	* mln/core/p_array_bb.hh,
      	* mln/core/t_image.hh,
      	* mln/core/bgraph_psite.hh,
      	* mln/core/p_image2d_piter.hh,
      	* mln/core/image_if.hh,
      	* mln/core/graph_psite.hh,
      	* mln/core/clock_neighb.hh,
      	* mln/core/line_piter.hh,
      	* mln/core/site_set/p_image.hh,
      	* mln/core/site_set/p_key.hh,
      	* mln/core/box2d.hh,
      	* mln/core/box2d_h.hh,
      	* mln/core/p_run_piter.hh,
      	* mln/core/mono_obased_rle_image.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/sparse_image.hh,
      	* mln/core/p_runs.hh,
      	* mln/draw/graph.hh,
      	* mln/draw/line.hh,
      	* mln/draw/plot.hh,
      	* mln/draw/label.hh,
      	* mln/accu/bbox.hh,
      	* mln/make/voronoi.hh,
      	* mln/convert/impl/from_image_to_site_set.hh,
      	* mln/convert/to_p_set.hh,
      	* mln/convert/to_p_array.hh,
      	* mln/geom/seeds2tiling.hh,
      	* mln/display/color_pretty.hh,
      	* mln/util/tree_to_image.hh,
      	* mln/util/tree_fast_to_image.hh,
      	* mln/labeling/blobs.hh,
      	* sandbox/pellegrin/set/test/p_queue_fast.cc,
      	* sandbox/pellegrin/set/test/p_bgraph.cc,
      	* sandbox/pellegrin/set/test/p_queue.cc,
      	* sandbox/pellegrin/set/test/p_priority_queue.cc,
      	* sandbox/pellegrin/set/test/pset_if.cc,
      	* sandbox/pellegrin/set/test/p_set.cc,
      	* sandbox/pellegrin/set/core/p_priority_queue_fast.hh,
      	* sandbox/pellegrin/set/core/p_bgraph.hh,
      	* sandbox/pellegrin/set/core/p_run.hh,
      	* sandbox/pellegrin/set/core/p_line_graph.hh,
      	* sandbox/pellegrin/set/core/pset_if.hh,
      	* sandbox/pellegrin/set/core/p_array.hh,
      	* sandbox/pellegrin/set/core/p_queue.hh,
      	* sandbox/pellegrin/set/core/p_priority_queue.hh,
      	* sandbox/pellegrin/set/core/p_runs.hh,
      	* sandbox/pellegrin/set/core/p_set.hh,
      	* sandbox/pellegrin/set/core/p_priority_queue_fast_with_array.hh,
      	* sandbox/pellegrin/set/core/line2d.hh,
      	* sandbox/pellegrin/set/core/p_graph.hh,
      	* sandbox/pellegrin/set/core/p_queue_fast.hh,
      	* sandbox/aroumougame/skeleton/miscellenous.hh,
      	* sandbox/aroumougame/skeleton/thinning.hh,
      	* sandbox/jardonnet/registration/tools.hh,
      	* sandbox/jardonnet/registration/quat7.hh,
      	* sandbox/jardonnet/registration/cloud.hh,
      	* sandbox/geraud/fllt/fllt.hh,
      	* sandbox/geraud/fllt/fllt.svg.1.cc,
      	* sandbox/geraud/fllt/fllt.svg.7.hh,
      	* sandbox/geraud/fllt/fllt.svg.2.cc,
      	* sandbox/geraud/fllt/fllt.svg.3.cc,
      	* sandbox/geraud/fllt/fllt.svg.4.cc,
      	* sandbox/geraud/fllt/fllt.svg.5.cc,
      	* sandbox/geraud/fllt/fllt.svg.6.cc,
      	* sandbox/geraud/fllt/fllt_test.hh,
      	* sandbox/geraud/fllt.svg.7.hh,
      	* sandbox/geraud/p_runs__with_dedicated_piter.hh,
      	* sandbox/geraud/fllt.svg.6.cc,
      	* sandbox/geraud/cs2d/cs2d_morpho.hh,
      	* sandbox/garrigues/level_set.hh,
      	* sandbox/garrigues/fllt/fllt_simple.svg.1.cc,
      	* sandbox/garrigues/fllt/fllt_simple.svg.3.cc,
      	* sandbox/garrigues/fllt/fllt_simple.cc,
      	* sandbox/garrigues/fllt/types.hh,
      	* sandbox/garrigues/fllt/fllt_theo.cc,
      	* sandbox/garrigues/fllt/fllt_types.hh,
      	* sandbox/garrigues/fllt/fllt_simple.svg.2.cc,
      	* sandbox/garrigues/fllt/fllt.hh,
      	* sandbox/garrigues/fllt/give_confs.cc,
      	* sandbox/abraham/tests/morpho/test_component_tree.cc,
      	* sandbox/abraham/tests/morpho/test_watershed.cc,
      	* sandbox/abraham/tests/morpho/test_watershed_topo.cc,
      	* sandbox/abraham/mln/morpho/basic_najman.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2171 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ee53dffb
  8. 14 Aug, 2008 1 commit
    • Roland Levillain's avatar
      Fix many tests. · af17b31f
      Roland Levillain authored
      	* mln/core/decorated_image.hh
      	(mln::decorated_image<I, D>::rvalue): New typedef.
      	(mln::decorated_image<I, D>::lvalue): Set to impl_::lvalue.
      	(mln::decorated_image<I, D>::read_): Have it return a rvalue, not
      	a value.
      	(mln::decorated_image<I, D>::operator()(const psite&) const)
      	(mln::decorated_image<I, D>::operator()(const psite&)):
      	New operators
      	(mln::internal::decorated_image_impl_<I, E>::write_): Fix access
      	to delegatee's data.
      	* mln/math/abs.hh (mln::level::abs(const value::int_u<n>&)):
      	Declare this overload.
      	(mln::math::abs(int))
      	(mln::math::abs(long))
      	(mln::math::abs(float))
      	(mln::math::abs(double))
      	(mln::math::abs(long double)):
      	New overloads.
      	* mln/border/fill.hh,
      	* mln/level/memset_.hh:
      	Include header cstring for std::memset.
      	* mln/make/w_window.hh: Wrap long lines.
      	* mln/convert/to_image.hh: Likewise.
      	(mln::convert::to_image(const Weighted_Window<W>&)): Fill the
      	image with zeros before copying weights.
      	* mln/convert/to_p_array.hh: Include missing header
      	mln/core/concept/image.hh for mln::Image.
      	* mln/win/line.hh (mln::win::line<M,i,C>::line): Replace a dynamic
      	assertion by a static one.
      	* mln/value/float01_.hh
      	(mln::trait::value< mln::value::float01_<n> >::min)
      	(mln::trait::value< mln::value::float01_<n> >::max)
      	(mln::trait::value< mln::value::float01_<n> >::epsilon)
      	* mln/value/float01_f.hh
      	(mln::trait::value< mln::value::float01_f >::min)
      	(mln::trait::value< mln::value::float01_f >::max)
      	(mln::trait::value< mln::value::float01_f >::epsilon)
      	* mln/value/internal/gray_.hh
      	(mln::trait::value< mln::value::internal::gray_<n> >::min)
      	(mln::trait::value< mln::value::internal::gray_<n> >::max)
      	(mln::trait::value< mln::value::internal::gray_<n> >::epsilon)
      	* mln/value/internal/gray_f.hh
      	(mln::trait::value< mln::value::internal::gray_f >::min)
      	(mln::trait::value< mln::value::internal::gray_f >::max)
      	(mln::trait::value< mln::value::internal::gray_f >::epsilon):
      	Remove useless `const' qualifier on return type.
      	* mln/value/proxy.hh
      	(mln::value::proxy<I>::~proxy)
      	(mln::value::proxy<const I>::~proxy):
      	Change the return type of checked `read_' routine to
      	mln_rvalue(I).
      	* mln/value/stack.hh
      	(mln::value::stack_image<n, I>::read_)
      	(mln::value::stack_image<n, I>::operator()(const psite&)):
      	Set return type to rvalue.
      	* mln/fun/v2v/rgb_to_hsi.hh: Add missing copyright header.
      	Add missing header guards.
      	Wrap long lines.
      	(mln::fun::v2v::f_rgb_to_hsi_<T_hsi>): Remove useless variable.
      	* mln/geom/seeds2tiling.hh (mln::geom::impl::seeds2tiling): Add
      	braces around inner `if' to avoid (visual) ambiguity w.r.t. a 
      	dangling `else'.
      	* mln/core/fi_adaptor.hh (mln::fi_adaptor<I>::load): Ensure the
      	image is correctly loaded.
      
      	* tests/core/decorated_image.cc: Exercise
      	mln::decorated_image< const I, D >.
      	* tests/core/fi_adaptor.cc: Use a smaller kernel for the median
      	filter.
      	Use tests/data.hh and MLN_IMG_DIR to find the img/ dir.
      	Don't call display::show.
      	* tests/core/w_window1d_int.cc: Use meaninful input.
      	Update documentation.
      	* tests/linear/log.cc: Update expected values.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2151 4aad255d-cdde-0310-9447-f3009e2ae8c0
      af17b31f
  9. 12 Aug, 2008 4 commits
    • Roland Levillain's avatar
      Add a backward iterator on complex-based images. · 9ff8258e
      Roland Levillain authored
      	* mln/core/p_complex_piter.hh (mln::p_complex_bkd_piter_<D, P>):
      	(operator<<(std::ostream&, const p_complex_bkd_piter_<D, P>&)):
      	New.
      	(mln::p_complex_fwd_piter_<D, P>::next_): Reimplement to make it
      	symmetric to mln::p_complex_bkd_piter_<D, P>::next_.
      	* mln/core/p_complex.hh (mln::p_complex<D, P>::bkd_piter): Set
      	typedef to p_complex_bkd_piter_<D, P>.
      	* mln/core/p_complex_piter.hh: Test the backward iterator on
      	complex_image.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2148 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9ff8258e
    • Roland Levillain's avatar
      Add a forward iterator on complex-based images. · 366a438f
      Roland Levillain authored
      	* mln/core/p_complex_piter.hh: New.
      	* mln/core/p_complex.h (mln::p_complex<D, P>::fwd_piter): Set
      	typedef to p_complex_fwd_piter_<D, P>.
      	(mln::p_complex<D, P>::cplx_): Make it mutable.
      	(mln::p_complex<D, P>::cplx() const): Remove const qualifier on
      	return type.
      	* mln/core/face.hh
      	(mln::any_face_handle<D>::is_valid): Fix this method: check the
      	dimension too.
      	(mln::any_face_handle<D>::set_cplx)
      	(mln::any_face_handle<D>::set_n)
      	(mln::any_face_handle<D>::set_face_id):
      	New methods.
      	* tests/core/complex_image.cc: Don't forget to initialize all
      	cells of `values', including the ones of highest dimension.
      	Test the forward iterator on complex_image.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2147 4aad255d-cdde-0310-9447-f3009e2ae8c0
      366a438f
    • Roland Levillain's avatar
      Add a missing (disabled) conversion method to · 1f09a450
      Roland Levillain authored
      	mln::any_face_handle.
      
      	* mln/core/complex.hh: Make mln::any_face_handle a friend of
      	mln::complex.
      	* mln/core/face.hh (mln::any_face_handle<D>::to_face<N>):
      	New method.
      	Exercise it...
      	* tests/core/complex.cc: ...here.
      	Check conversion from handles to face data.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2146 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f09a450
    • Roland Levillain's avatar
      Add a printing operator for mln::complex_psite. · fc717c08
      Roland Levillain authored
      	* mln/core/complex_psite.hh
      	(operator<<(std::ostream&, const complex_psite<D, P>&)):
      	New operator.
      	* tests/core/complex_image.cc: ...here.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2144 4aad255d-cdde-0310-9447-f3009e2ae8c0
      fc717c08
  10. 11 Aug, 2008 1 commit
    • Roland Levillain's avatar
      Add a complex-base image type. · 0a619acf
      Roland Levillain authored
      	* mln/core/complex_image.hh: New.
      	* mln/trait/ch_value.hh
      	(mln::trait::impl::ch_value_<M<D, tag::psite_<P>, tag::value_<T> >, V>):
      	New specialization for mln::complex_image<D, P, T>.
      	* mln/core/p_complex.hh (mln::p_complex<D, P>::cplx):
      	New mutable accessor.
      	* mln/core/complex_psite.hh
      	(mln::complex_psite<D, P>::n)
      	(mln::complex_psite<D, P>::face_id):
      	New accessors.
      	* mln/core/face.hh
      	(any_face_handle<D>::any_face_handle(const face_handle<N, D>&)):
      	New ctor.
      	(any_face_handle<D>::any_face_handle(const any_face_handle<D>&)):
      	Don't forget to initialize n_.
      	(any_face_handle<D>::any_face_handle(complex<D>&, unsigned, unsigned)):
      	Ensure N is compatible with D.
      	* tests/core/complex_image.cc: Exercise mln::complex_image.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2143 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0a619acf
  11. 07 Aug, 2008 1 commit
    • Roland Levillain's avatar
      Add actual complex-based psite and pset and give new names to · 39c60202
      Roland Levillain authored
      	faces-related entities.
      
      	* mln/core/complex_psite.hh: Rename as...
      	* mln/core/faces_psite.hh: ...this.
      	(mln::complex_psite<P, N, D>): Turn into...
      	(mln::faces_psite<N, D, P>): ...this.
      	* mln/core/p_complex.hh: Rename as...
      	* mln/core/p_faces.hh: ...this.
      	(mln::p_complex<P, N, D>): Turn into...
      	(mln::p_faces<N, D, P>): ...this.
      	* mln/core/complex_psite.hh, mln/core/p_complex.hh: New.
      	* tests/core/complex.cc: Exercise the variants of
      	mln::complex<D>::nfaces().
      	* tests/core/p_complex.cc: Rename as...
      	* tests/core/complex_image.cc: ...this.
      	Exercise mln::p_complex, mln::complex_psite, and mln::faces_psite.
      	* tests/core/Makefile.am (check_PROGRAMS):
      	s/p_complex/complex_image/.
      	(p_complex_SOURCES): Likewise.
      	Rename as...
      	(complex_image_SOURCES): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2128 4aad255d-cdde-0310-9447-f3009e2ae8c0
      39c60202
  12. 06 Aug, 2008 1 commit
    • Roland Levillain's avatar
      Add complex-based psite and pset. · 3ddba94e
      Roland Levillain authored
      	* mln/core/complex_psite.hh, mln/core/p_complex.hh: New.
      	* mln/core/face.hh: s/mln_assertion/mln_precondition/.
      	(mln::face_handle<N, D>::face_handle): Statically ensure N is
      	compatible with D in ctors.
      	* tests/core/p_complex.cc: New test.
      	* tests/core/Makefile.am (check_PROGRAMS): Add p_complex.
      	(p_complex_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2122 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3ddba94e
  13. 31 Jul, 2008 1 commit
  14. 30 Jul, 2008 1 commit
  15. 27 Jun, 2008 1 commit
    • Thierry Geraud's avatar
      Rename the methods of fastest images. · 0fef8422
      Thierry Geraud authored
      	* mln/core/internal/check/image_fastest.hh
      	(offset_at, offset, point_at_offset: Rename as...
      	(index_of_point, delta_index, point_at_index): ...these.
      	(operator[], ncells): Rename as...
      	(element, nelements): ...these.
      	(size_t): Replace by...
      	(unsigned): ...this to handle indices.
      	* mln/core/image2d.hh: Likewise.
      	(super_): New.
      	(nrows, ncols): New.
      	Layout.
      	* mln/level/paste.spe.hh: Update with new properties.
      	* mln/level/paste.hh: Likewise.
      	* mln/border/get.hh: Likewise.
      	* mln/border/resize.hh: Revamp.
      	* tests/core/image2d.cc: Update.
      	Make tests silent.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2087 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0fef8422
  16. 26 Jun, 2008 2 commits
    • Roland Levillain's avatar
      Move a morpho-related test in the right directory. · 36e9bd2e
      Roland Levillain authored
      	* tests/core/line_graph_image_wst.cc: Move...
      	* tests/morpho/line_graph_image_wst.cc: ...here.
      	* tests/core/Makefile.am (check_PROGRAMS): Remove
      	line_graph_image_wst.
      	(line_graph_image_wst_SOURCES): Move...
      	* tests/morpho/Makefile.am: ...here.
      	(check_PROGRAMS): Add line_graph_image_wst.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2080 4aad255d-cdde-0310-9447-f3009e2ae8c0
      36e9bd2e
    • Roland Levillain's avatar
      Make the computation of the bbox of an mln::p_set<P> lazy. · 3c2d09cd
      Roland Levillain authored
      	* mln/core/p_set.hh (mln::p_set<P>::point): New typedef.
      	Use it...
      	(mln::p_set<P>::bbox): ...in the declaration of this method.
      	(mln::p_set<P>::bb_): Make it mutable.
      	Change type from `accu::bbox<P>' to `accu::bbox<point>'.
      	(mln::p_set<P>::bb_needs_update_): New attribute.
      	(mln::p_set<P>::update_bb_): New method.
      	(p_set<P>::p_set): Adjust ctor.
      	(mln::p_set<P>::insert)
      	(mln::p_set<P>::remove)
      	(mln::p_set<P>::clear)
      	(mln::p_set<P>::bbox):
      	Adjust methods.
      	* tests/core/point_set_compatibility.cc: Exercise
      	p_set< graph_psite<point2d> >.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2078 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3c2d09cd
  17. 06 Jun, 2008 1 commit
  18. 03 Jun, 2008 1 commit
    • Roland Levillain's avatar
      Rename graphs' nodes as vertices . · 2ccc8ecd
      Roland Levillain authored
      	* mln/util/graph.hh,
      	* mln/util/internal/graph_base.hh,
      	* mln/accu/count_adjacent_vertices.hh,
      	* mln/core/graph_elt_neighborhood.hh,
      	* mln/core/graph_elt_window.hh,
      	* mln/core/graph_image.hh,
      	* mln/core/graph_psite.hh,
      	* mln/core/internal/graph_vicinity_piter.hh,
      	* mln/core/line_graph_elt_neighborhood.hh,
      	* mln/core/line_graph_elt_window.hh,
      	* mln/core/line_graph_image.hh,
      	* mln/core/line_graph_psite.hh,
      	* mln/core/p_graph.hh,
      	* mln/core/p_graph_piter.hh,
      	* mln/core/p_line_graph.hh,
      	* mln/draw/graph.hh,
      	* mln/morpho/line_gradient.hh,
      	* tests/core/graph_elt_neighborhood.cc,
      	* tests/core/graph_elt_window.cc,
      	* tests/core/graph_image.cc,
      	* tests/core/line_graph_elt_neighborhood.cc,
      	* tests/core/line_graph_elt_window.cc,
      	* tests/core/line_graph_image.cc,
      	* tests/core/line_graph_image_wst.cc,
      	* tests/core/point_set_compatibility.cc,
      	* tests/morpho/artificial_line_graph_image_wst.cc,
      	* tests/morpho/lena_line_graph_image_wst1.cc,
      	* tests/morpho/lena_line_graph_image_wst2.cc:
      	s/nodes/vertices/.
      	s/node/vertex/.
      	s/link/edge/.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1993 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2ccc8ecd
  19. 29 May, 2008 1 commit
    • Thierry Geraud's avatar
      Add a tutorial example of use of p_array. · 4d216333
      Thierry Geraud authored
      	* tests/core/p_array.cc: Clean up (no more stdout).
      	* doc/tutorial/examples: New directory.
      	* doc/tutorial/examples/p_array.cc: New.
      	* mln/core/internal/image_base.hh (mesh, bbox): Remove.
      	(point, npoints): Rename as...
      	(site, nsites): ...these.
      	* mln/core/concept/image.hh: Likewise.
      	* mln/core/p_array_piter.hh (index): New method.
      	(index_of_in): New overload.
      	* mln/core/concept/proxy.hh
      	(get_adr): Make it work when no match is found.
      	(operator Subject): Change into a more reliable version.
      	* mln/core/p_array.hh (index_of_in): New procedures.
      	(insert, change): New methods.
      	(print): Remove.
      	* mln/core/image2d.hh (bbox): New.
      	(npoints): Rename as...
      	(nsites): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@1981 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4d216333
  20. 26 May, 2008 1 commit
    • Thierry Geraud's avatar
      Handle fwd iterations on p_array. · 1a052ebb
      Thierry Geraud authored
      	* tests/core/p_array.cc: Add iteration test.
      	* mln/core/internal/site_iterator_base.hh: New; based upon...
      	* mln/core/internal/pseudo_site_base.hh: ...this.
      	* mln/core/internal/pseudo_site_base.hh
      	(subject, q_subject): New; factor those definitions.
      	* mln/core/p_array_piter.hh (p_array_fwd_piter_): Update.
      	(p_array_bkd_piter_): Deactivate.
      	* mln/core/p_array.hh
      	(p_array): Change into constant proxy; move defs into guards.
      	(to_site): Delete mutable version.
      	(change_target): New.
      	* mln/core/concept/site_iterator.hh (operator site): Remove;
      	that was obsolete code.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@1972 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1a052ebb
  21. 23 May, 2008 1 commit
    • Thierry Geraud's avatar
      Add the basics for pseudo sites; test on p_array. · 260fc4a3
      Thierry Geraud authored
      	* tests/core/p_array.cc: New.
      	* doc/technical: New.
      	* doc/technical/designs: New.
      	* doc/technical/designs/site_psite_piter: New.
      	* doc/technical/designs/site_psite_piter/README: New.
      	* mln/core/macros.hh (mln_subject, mln_subject_): New.
      	* mln/core/point.hh: New comment.
      	* mln/core/internal/point_set_base.hh: .
      	* mln/core/internal/pseudo_site_base.hh: New.
      	* mln/core/p_array_bb.hh: New.
      	* mln/core/point2d.hh
      	(site_const_impl, site_mutable_impl): New specialization.
      	* mln/core/p_array.hh (p_array_psite): New.
      	(npoints): Rename as...
      	(nsites): ...this.
      	(bbox, bb_, bb_needs_update_, hook_): Remove.
      	(has): Update sig with the new psite type; adapt body.
      	* mln/core/concept/proxy.hh: New.
      	* mln/core/concept/point_set.hh: .
      	* mln/core/concept/site_proxy.hh: New.
      	* mln/core/concept/pseudo_site.hh: New.
      	* mln/core/concept/site_iterator.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@1971 4aad255d-cdde-0310-9447-f3009e2ae8c0
      260fc4a3
  22. 15 May, 2008 1 commit
    • Thierry Geraud's avatar
      Update site set concepts and generic box. · 3e355fbd
      Thierry Geraud authored
      	* mln/trait/site_set/print.hh (ostr): Add default.
      	* mln/core/macros.hh (mln_site, mln_site_): New.
      	* mln/core/internal/point_set_base.hh
      	(mesh, dpoint): Remove.
      	(point): Rename as...
      	(site): ...this.
      	Update.
      	* mln/core/box.hh: Likewise.
      	(trait::site_set_): New.
      	* mln/core/concept/box.hh (point): Rename as...
      	(site): ...this.
      	* mln/core/concept/point_set.hh: Likewise.
      	Remove npoints and bbox from comments.
      	(point_set): Add props check in ctor.
      	(operator==, operator <=): Remove test over npoints.
      	(operator <): Rely on != instead of npoints.
      	* mln/core/concept/doc/box.hh (point): Rename as...
      	(site): ...this.
      	* mln/core/concept/doc/point_set.hh: Likewise.
      	(bbox, npoints): Remove.
      	* tests/core/box2d.cc: Add print props test.
      	
      	* mln/core/pset_array.hh,
      	* mln/core/p_priority_queue_fast.hh,
      	* mln/core/p_priority_queue_fast_with_array.hh,
      	* mln/core/p_queue_fast.hh,
      	* mln/core/p_image2d.hh,
      	* mln/core/p_line_graph.hh,
      	* mln/core/p_queue.hh,
      	* mln/core/p_graph.hh,
      	* mln/core/p_priority_queue.hh,
      	* mln/core/p_set.hh,
      	* mln/core/line2d.hh,
      	* mln/core/p_bgraph.hh,
      	* mln/core/p_run.hh,
      	* mln/core/pset_if.hh,
      	* mln/core/p_array.hh,
      	* mln/core/p_runs.hh (point_set_base_): Rename as...
      	(site_set_base_): ...this.
      	
      	* mln/metal/not_equal.hh: New.
      	* mln/metal/all.hh: Include not_equal.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@1951 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3e355fbd
  23. 07 May, 2008 2 commits
  24. 05 May, 2008 3 commits
    • Roland Levillain's avatar
      Fix Doxygen documentation after the reorganization of tests/. · 6dcedf69
      Roland Levillain authored
      	* tests/algebra/mat.cc,
      	* tests/algebra/mat2.cc,
      	* tests/algebra/vec.cc,
      	* tests/algebra/vec2.cc,
      	* tests/all_headers.cc,
      	* tests/border/resize_image1d_1.cc,
      	* tests/border/resize_image1d_2.cc,
      	* tests/border/resize_image1d_3.cc,
      	* tests/border/resize_image2d_1.cc,
      	* tests/border/resize_image2d_2.cc,
      	* tests/border/resize_image2d_3.cc,
      	* tests/border/resize_image3d_1.cc,
      	* tests/border/resize_image3d_2.cc,
      	* tests/border/resize_image3d_3.cc,
      	* tests/border/resize_image_if.cc,
      	* tests/border/resize_sub_image.cc,
      	* tests/convert/to_image.cc,
      	* tests/convert/to_p_array.cc,
      	* tests/convert/to_p_set.cc,
      	* tests/convert/to_tiles.cc,
      	* tests/convert/to_window.cc,
      	* tests/core/box1d.cc,
      	* tests/core/box2d.cc,
      	* tests/core/box3d.cc,
      	* tests/core/cast_image.cc,
      	* tests/core/decorated_image.cc,
      	* tests/core/dpoint1d.cc,
      	* tests/core/dpoint2d.cc,
      	* tests/core/dpoint3d.cc,
      	* tests/core/fi_adaptor.cc,
      	* tests/core/hexa.cc,
      	* tests/core/image1d.cc,
      	* tests/core/image2d.cc,
      	* tests/core/image2d_h.cc,
      	* tests/core/image3d.cc,
      	* tests/core/image_if.cc,
      	* tests/core/image_if_interval.cc,
      	* tests/core/image_if_value.cc,
      	* tests/core/interpolated.cc,
      	* tests/core/line_piter.cc,
      	* tests/core/p_set.cc,
      	* tests/core/pixel.cc,
      	* tests/core/pixter1d.cc,
      	* tests/core/pixter1d_more.cc,
      	* tests/core/pixter2d.cc,
      	* tests/core/pixter2d_more.cc,
      	* tests/core/pixter3d.cc,
      	* tests/core/pixter3d_more.cc,
      	* tests/core/plain.cc,
      	* tests/core/point1d.cc,
      	* tests/core/point2d.cc,
      	* tests/core/point3d.cc,
      	* tests/core/pset_if.cc,
      	* tests/core/safe_image.cc,
      	* tests/core/sub_image.cc,
      	* tests/core/translate_image.cc,
      	* tests/core/w_window1d_int.cc,
      	* tests/core/w_window2d_int.cc,
      	* tests/core/w_window3d_int.cc,
      	* tests/core/window1d.cc,
      	* tests/core/window2d.cc,
      	* tests/core/window3d.cc,
      	* tests/estim/mean.cc,
      	* tests/histo/to_image1d.cc,
      	* tests/level/sort_points.cc,
      	* tests/linear/convolve.cc,
      	* tests/linear/gaussian.cc,
      	* tests/linear/lap.cc,
      	* tests/linear/line_convolve.cc,
      	* tests/linear/local/convolve.cc,
      	* tests/linear/log.cc,
      	* tests/linear/sobel.cc,
      	* tests/metal/converts_to.cc,
      	* tests/metal/is.cc,
      	* tests/metal/math/pow.cc,
      	* tests/metal/unconst.cc,
      	* tests/test/positive.cc,
      	* tests/trait/ch_value.cc,
      	* tests/trait/image/images.cc,
      	* tests/trait/op/plus.cc,
      	* tests/trait/op/uminus.cc,
      	* tests/trait/super.cc,
      	* tests/trait/value/values.cc,
      	* tests/value/stack.cc,
      	* tools/seed2tiling.cc:
      	Fix name of files in Doxygen headers.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1922 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6dcedf69
    • Roland Levillain's avatar
      Reorganize the tests/ directory. · 50c625f9
      Roland Levillain authored
      	* tests/algebra/, tests/test/: New directories.
      	* tests/all.cc,
      	* tests/border_resize_image1d_1.cc,
      	* tests/border_resize_image1d_2.cc,
      	* tests/border_resize_image1d_3.cc,
      	* tests/border_resize_image2d_1.cc,
      	* tests/border_resize_image2d_2.cc,
      	* tests/border_resize_image2d_3.cc,
      	* tests/border_resize_image3d_1.cc,
      	* tests/border_resize_image3d_2.cc,
      	* tests/border_resize_image3d_3.cc,
      	* tests/border_resize_image_if.cc,
      	* tests/border_resize_sub_image.cc,
      	* tests/box1d.cc,
      	* tests/box2d.cc,
      	* tests/box3d.cc,
      	* tests/cast_image.cc,
      	* tests/clock_neighb2d.cc,
      	* tests/clock_test.cc,
      	* tests/convert_to_image.cc,
      	* tests/convert_to_p_array.cc,
      	* tests/convert_to_p_set.cc,
      	* tests/convert_to_tiles.cc,
      	* tests/convert_to_window.cc,
      	* tests/core_p_set.cc,
      	* tests/core_pset_if.cc,
      	* tests/decorated_image.cc,
      	* tests/dpoint1d.cc,
      	* tests/dpoint2d.cc,
      	* tests/dpoint3d.cc,
      	* tests/estim_mean.cc,
      	* tests/fi_adaptor.cc,
      	* tests/hexa.cc,
      	* tests/histo_to_image1d.cc,
      	* tests/image1d.cc,
      	* tests/image2d.cc,
      	* tests/image2d_h.cc,
      	* tests/image3d.cc,
      	* tests/image_if.cc,
      	* tests/image_if_interval.cc,
      	* tests/image_if_value.cc,
      	* tests/interpolated.cc,
      	* tests/level_sort_points.cc,
      	* tests/line_convolve.cc,
      	* tests/line_piter.cc,
      	* tests/linear_convolve.cc,
      	* tests/linear_gaussian.cc,
      	* tests/linear_lap.cc,
      	* tests/linear_log.cc,
      	* tests/local_convolve.cc,
      	* tests/main.cc,
      	* tests/mat.cc,
      	* tests/metal_converts_to.cc,
      	* tests/metal_is.cc,
      	* tests/metal_mat.cc,
      	* tests/metal_pow.cc,
      	* tests/metal_unconst.cc,
      	* tests/metal_vec.cc,
      	* tests/pixel.cc,
      	* tests/pixter1d.cc,
      	* tests/pixter2d.cc,
      	* tests/pixter3d.cc,
      	* tests/plain.cc,
      	* tests/point1d.cc,
      	* tests/point2d.cc,
      	* tests/point3d.cc,
      	* tests/safe_image.cc,
      	* tests/seed2tiling.cc,
      	* tests/stack.cc,
      	* tests/sub_image.cc,
      	* tests/test_positive.cc,
      	* tests/trait_ch_value.cc,
      	* tests/trait_images.cc,
      	* tests/trait_op_plus.cc,
      	* tests/trait_op_uminus.cc,
      	* tests/trait_super.cc,
      	* tests/trait_value.cc,
      	* tests/translate_image.cc,
      	* tests/vec.cc,
      	* tests/w_window1d_int.cc,
      	* tests/w_window2d_int.cc,
      	* tests/w_window3d_int.cc,
      	* tests/window1d.cc,
      	* tests/window2d.cc,
      	* tests/window3d.cc:
      	Move/rename as...
      	* tests/all_headers.cc,
      	* tests/border/resize_image1d_1.cc,
      	* tests/border/resize_image1d_2.cc,
      	* tests/border/resize_image1d_3.cc,
      	* tests/border/resize_image2d_1.cc,
      	* tests/border/resize_image2d_2.cc,
      	* tests/border/resize_image2d_3.cc,
      	* tests/border/resize_image3d_1.cc,
      	* tests/border/resize_image3d_2.cc,
      	* tests/border/resize_image3d_3.cc,
      	* tests/border/resize_image_if.cc,
      	* tests/border/resize_sub_image.cc,
      	* tests/core/box1d.cc,
      	* tests/core/box2d.cc,
      	* tests/core/box3d.cc,
      	* tests/core/cast_image.cc,
      	* tests/core/clock_neighb2d.cc,
      	* tests/core/clock_test.cc,
      	* tests/convert/to_image.cc,
      	* tests/convert/to_p_array.cc,
      	* tests/convert/to_p_set.cc,
      	* tests/convert/to_tiles.cc,
      	* tests/convert/to_window.cc,
      	* tests/core/p_set.cc,
      	* tests/core/pset_if.cc,
      	* tests/core/decorated_image.cc,
      	* tests/core/dpoint1d.cc,
      	* tests/core/dpoint2d.cc,
      	* tests/core/dpoint3d.cc,
      	* tests/estim/mean.cc,
      	* tests/core/fi_adaptor.cc,
      	* tests/core/hexa.cc,
      	* tests/histo/to_image1d.cc,
      	* tests/core/image1d.cc,
      	* tests/core/image2d.cc,
      	* tests/core/image2d_h.cc,
      	* tests/core/image3d.cc,
      	* tests/core/image_if.cc,
      	* tests/core/image_if_interval.cc,
      	* tests/core/image_if_value.cc,
      	* tests/core/interpolated.cc,
      	* tests/level/sort_points.cc,
      	* tests/linear/line_convolve.cc,
      	* tests/core/line_piter.cc,
      	* tests/linear/convolve.cc,
      	* tests/linear/gaussian.cc,
      	* tests/linear/lap.cc,
      	* tests/linear/log.cc,
      	* tests/linear/local/convolve.cc,
      	* tests/morpho/combined.cc,
      	* tests/algebra/mat.cc,
      	* tests/metal/converts_to.cc,
      	* tests/metal/is.cc,
      	* tests/algebra/mat2.cc,
      	* tests/metal/math/pow.cc,
      	* tests/metal/unconst.cc,
      	* tests/algebra/vec.cc,
      	* tests/core/pixel.cc,
      	* tests/core/pixter1d_more.cc,
      	* tests/core/pixter2d_more.cc,
      	* tests/core/pixter3d_more.cc,
      	* tests/core/plain.cc,
      	* tests/core/point1d.cc,
      	* tests/core/point2d.cc,
      	* tests/core/point3d.cc,
      	* tests/core/safe_image.cc,
      	* tools/seed2tiling.cc,
      	* tests/value/stack.cc,
      	* tests/core/sub_image.cc,
      	* tests/test/positive.cc,
      	* tests/trait/ch_value.cc,
      	* tests/trait/image/images.cc,
      	* tests/trait/op/plus.cc,
      	* tests/trait/op/uminus.cc,
      	* tests/trait/super.cc,
      	* tests/trait/value/values.cc,
      	* tests/core/translate_image.cc,
      	* tests/algebra/vec2.cc,
      	* tests/core/w_window1d_int.cc,
      	* tests/core/w_window2d_int.cc,
      	* tests/core/w_window3d_int.cc,
      	* tests/core/window1d.cc,
      	* tests/core/window2d.cc,
      	* tests/core/window3d.cc:
      	...these.
      	* tests/Makefile.am,
      	* tests/border/Makefile.am,
      	* tests/canvas/Makefile.am,
      	* tests/convert/Makefile.am,
      	* tests/core/Makefile.am,
      	* tests/estim/Makefile.am,
      	* tests/histo/Makefile.am,
      	* tests/level/Makefile.am,
      	* tests/linear/Makefile.am,
      	* tests/linear/local/Makefile.am,
      	* tests/literal/Makefile.am,
      	* tests/metal/Makefile.am,
      	* tests/metal/math/Makefile.am,
      	* tests/morpho/Makefile.am,
      	* tests/trait/Makefile.am,
      	* tests/trait/image/Makefile.am,
      	* tests/trait/op/Makefile.am,
      	* tests/trait/value/Makefile.am,
      	* tests/value/Makefile.am,
      	* tools/Makefile.am:
      	Adjust.
      	* tests/algebra/Makefile.am,
      	* tests/binarization/Makefile.am,
      	* tests/subsampling/Makefile.am,
      	* tests/test/Makefile.am:
      	New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1920 4aad255d-cdde-0310-9447-f3009e2ae8c0
      50c625f9
    • Roland Levillain's avatar
      Complete delta-point pixel iterators. · 69c35966
      Roland Levillain authored
      	* mln/core/dpoints_pixter.hh: Aesthetic changes.
      	Add some more documentation.
      	(dpoints_fwd_pixter(const Generalized_Pixel<Pref>& const Dps&)):
      	Use const_cast instead of legacy casts.
      	(mln::dpoints_bkd_pixter<I>): New pixel iterator class.
      	* mln/core/pixel.hh (mln::pixel<I>::pixel (I&)): Don't set member
      	value_ptr_ to 0, since the super class' ctor already takes care of
      	this.
      	* mln/core/image1d.hh
      	(mln::trait::bkd_qixter< image1d<T>, W >)
      	(mln::trait::bkd_qixter< const image1d<T>, W >)
      	(mln::trait::fwd_nixter< image1d<T>, W >)
      	(mln::trait::fwd_nixter< const image1d<T>, W >)
      	(mln::trait::bkd_nixter< image1d<T>, W >)
      	(mln::trait::bkd_nixter< const image1d<T>, W >)
      	* mln/core/image2d.hh
      	(mln::trait::bkd_qixter< image2d<T>, W >)
      	(mln::trait::bkd_qixter< const image2d<T>, W >)
      	(mln::trait::bkd_nixter< image2d<T>, W >)
      	(mln::trait::bkd_nixter< const image2d<T>, W >)
      	* mln/core/image3d.hh
      	(mln::trait::bkd_qixter< image3d<T>, W >)
      	(mln::trait::bkd_qixter< const image3d<T>, W >)
      	(mln::trait::fwd_nixter< image3d<T>, W >)
      	(mln::trait::fwd_nixter< const image3d<T>, W >)
      	(mln::trait::bkd_nixter< image3d<T>, W >)
      	(mln::trait::bkd_nixter< const image3d<T>, W >):
      	Define these specialisations.
      	* mln/core/internal/force_exact.hh (mln::internal::force_exact):
      	Use ptrdiff_t instead of int to store the pointer difference.
      	Remove dead code.
      	* mln/core/macros.hh
      	(mln_fwd_qixter_, mln_bkd_qixter_, mln_qixter_)
      	(mln_fwd_nixter_, mln_bkd_nixter_, mln_nixter_):
      	New macros.
      	* tests/dpoints_pixter.cc: Move...
      	* tests/core/dpoints_pixter.cc: ...here.
      	Exercise mln::dpoints_bkd_pixter as well.
      	* tests/Makefile.am (check_PROGRAMS): Remove dpoints_pixter.
      	(dpoints_pixter_SOURCES): Move...
      	* tests/core/Makefile.am: ...here.
      	(check_PROGRAMS): Add dpoints_pixter.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1913 4aad255d-cdde-0310-9447-f3009e2ae8c0
      69c35966
  25. 01 May, 2008 2 commits
    • Roland Levillain's avatar
      Add adjaceny tests for mln::p_line_graph. · 01c98c67
      Roland Levillain authored
      	* mln/core/p_line_graph.hh
      	(mln::p_line_graph<P>::adjacent)
      	(mln::p_line_graph<P>::adjacent_or_equal):
      	New methods.
      	(mln::p_line_graph<P>::p_line_graph): Remove outdated FIXME.
      	* mln/core/p_graph.hh: Improve documentation.
      	(mln::p_graph<P>::p_graph): Remove outdated FIXME.
      	* tests/core/graph_image.cc, tests/core/line_graph_image.cc:
      	Exercise adjacency tests.
      	* tests/core/line_graph_elt_neighborhood.cc,
      	* tests/core/line_graph_elt_window.cc:
      	Typos in documentation.
      	* tests/core/graph_elt_neighborhood.cc,
      	* tests/core/graph_elt_window.cc:
      	Aesthetic changes.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1912 4aad255d-cdde-0310-9447-f3009e2ae8c0
      01c98c67
    • Roland Levillain's avatar
      Overhaul 1-D, 2-D and 3-D pixters. · eaab599c
      Roland Levillain authored
      	* mln/core/macros.hh (mln_bkd_pixter_): New macro.
      	* mln/core/internal/pixel_iterator_base.hh
      	(mln::pixel_iterator_base_<I, E>::start)
      	(mln::pixel_iterator_base_<I, E>::invalidate)
      	(mln::pixel_iterator_base_<I, E>::is_valid):
      	Remove methods.
      	(mln::forward_pixel_iterator_base_<I, E>)
      	(mln::backward_pixel_iterator_base_<I, E>):
      	New classes.
      	* mln/core/pixter1d.hh
      	(mln::fwd_pixter1d<I>): Inherit from
      	mln::internal::forward_pixel_iterator_base_.
      	(mln::bkd_pixter1d<I>): New class.
      	* mln/core/pixter2d.hh
      	(mln::fwd_pixter2d<I>): Inherit from
      	mln::internal::forward_pixel_iterator_base_.
      	(mln::bkd_pixter2d<I>): Inherit from
      	mln::internal::backward_pixel_iterator_base_.
      	(mln::bkd_pixter2d<I>::start): Remove method.
      	(mln::fwd_pixter2d<I>::fwd_pixter2d)
      	(mln::bkd_pixter2d<I>::bkd_pixter2d):
      	Use initialization lists instead of assignments.
      	* mln/core/pixter3d.hh
      	(mln::fwd_pixter3d<I>): Inherit from
      	mln::internal::forward_pixel_iterator_base_.
      	(mln::bkd_pixter3d<I>): New class.
      	* mln/core/p_image2d_pixter.hh
      	(mln::p_image2d_fwd_pixter<P>): Inherit from
      	mln::internal::forward_pixel_iterator_base_.
      	(mln::p_image2d_bkd_pixter<P>): Inherit from
      	mln::internal::backward_pixel_iterator_base_.
      	* mln/core/image1d.hh (mln::trait::bkd_pixter< image1d<T> >::ret):
      	Set to bkd_pixter1d< const image1d<T> >.
      	* mln/core/image2d.hh: Add FIXMEs.
      	* mln/core/image3d.hh (mln::trait::bkd_pixter< image3d<T> >::ret):
      	Set to bkd_pixter3d< const image3d<T> >.
      	* tests/core/pixter1d.cc, tests/core/pixter2d.cc:
      	New tests.
      	* tests/core/image3d.cc: Rename as...
      	* tests/core/pixter3d.cc: ...this.
      	Exercise bkd_pixter3d.
      	* tests/core/Makefile.am (check_PROGRAMS): Remove image3d.
      	Add pixter1d, pixter2d and pixter3d.
      	(image3d_SOURCES): Remove.
      	(pixter1d_SOURCES, pixter2d_SOURCES, pixter3d_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1911 4aad255d-cdde-0310-9447-f3009e2ae8c0
      eaab599c