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,
      	* mln/core/mono_rle_image.hh,
      	* mln/core/obased_rle_encode.hh,
      	* mln/core/obased_rle_image.hh,
      	* mln/core/plain.hh,
      	* mln/core/rle_encode.hh,
      	* mln/core/rle_image.hh,
      	* mln/core/safe.hh,
      	* mln/core/sparse_encode.hh,
      	* mln/core/sparse_image.hh,
      	* mln/core/sub_image.hh,
      	* mln/core/t_image.hh,
      	* mln/core/tr_image.hh,
      	* mln/core/tr_mesh.hh,
      	* mln/core/translate_image.hh,
      	* mln/core/value_enc_image.hh,
      	* mln/core/value_encode.hh: Rename as...
      
      	* mln/core/image/bgraph_image.hh,
      	* mln/core/image/bgraph_psite.hh,
      	* mln/core/image/cast_image.hh,
      	* mln/core/image/decorated_image.hh,
      	* mln/core/image/fi_adaptor.hh,
      	* mln/core/image/graph_elt_neighborhood.hh,
      	* mln/core/image/graph_elt_window.hh,
      	* mln/core/image/graph_image.hh,
      	* mln/core/image/graph_neighborhood_piter.hh,
      	* mln/core/image/graph_psite.hh,
      	* mln/core/image/graph_window_piter.hh,
      	* mln/core/image/hexa.hh,
      	* mln/core/image/hexa_piter.hh,
      	* mln/core/image/image1d.hh,
      	* mln/core/image/image2d.hh,
      	* mln/core/image/image2d_h.hh,
      	* mln/core/image/image3d.hh,
      	* mln/core/image/image_if.hh,
      	* mln/core/image/inplace.hh,
      	* mln/core/image/interpolated.hh,
      	* mln/core/image/line_graph_elt_neighborhood.hh,
      	* mln/core/image/line_graph_elt_window.hh,
      	* mln/core/image/line_graph_image.hh,
      	* mln/core/image/line_graph_neighborhood_piter.hh,
      	* mln/core/image/line_graph_psite.hh,
      	* mln/core/image/line_graph_window_piter.hh,
      	* mln/core/image/mono_obased_rle_encode.hh,
      	* mln/core/image/mono_obased_rle_image.hh,
      	* mln/core/image/mono_rle_encode.hh,
      	* mln/core/image/mono_rle_image.hh,
      	* mln/core/image/obased_rle_encode.hh,
      	* mln/core/image/obased_rle_image.hh,
      	* mln/core/image/plain.hh,
      	* mln/core/image/rle_encode.hh,
      	* mln/core/image/rle_image.hh,
      	* mln/core/image/safe.hh,
      	* mln/core/image/sparse_encode.hh,
      	* mln/core/image/sparse_image.hh,
      	* mln/core/image/sub_image.hh,
      	* mln/core/image/t_image.hh,
      	* mln/core/image/tr_image.hh,
      	* mln/core/image/tr_mesh.hh,
      	* mln/core/image/translate_image.hh,
      	* mln/core/image/value_enc_image.hh,
      	* mln/core/image/value_encode.hh: ...these.
      	Update guards and includes.
      	
      	* tools/seed2tiling.cc,
      	* tools/area_flooding.cc,
      	* tests/trait/image/images.cc,
      	* tests/trait/ch_value.cc,
      	* tests/debug/iota.cc,
      	* tests/debug/println_with_border.cc,
      	* tests/debug/println.cc,
      	* tests/histo/compute.cc,
      	* tests/histo/to_image1d.cc,
      	* tests/core/graph_elt_neighborhood.cc,
      	* tests/core/image_if_value.cc,
      	* tests/core/window1d.cc,
      	* tests/core/window2d.cc,
      	* tests/core/clock_neighb2d.cc,
      	* tests/core/window3d.cc,
      	* tests/core/graph_image_wst.cc,
      	* tests/core/image_if_interval.cc,
      	* tests/core/bgraph_image.cc,
      	* tests/core/mono_rle_image.cc,
      	* tests/core/pixter2d_more.cc,
      	* tests/core/cast_image.cc,
      	* tests/core/point_set_compatibility.cc,
      	* tests/core/pixter1d.cc,
      	* tests/core/pixter2d.cc,
      	* tests/core/obased_rle_image.cc,
      	* tests/core/pixter3d.cc,
      	* tests/core/graph_image.cc,
      	* tests/core/pixel.cc,
      	* tests/core/pixter3d_more.cc,
      	* tests/core/pset_if.cc,
      	* tests/core/mono_obased_rle_image.cc,
      	* tests/core/sub_image.cc,
      	* tests/core/graph_elt_window.cc,
      	* tests/core/sparse_image.cc,
      	* tests/core/clone.cc,
      	* tests/core/plain.cc,
      	* tests/core/t_image.cc,
      	* tests/core/p_runs.cc,
      	* tests/core/image1d.cc,
      	* tests/core/fi_adaptor.cc,
      	* tests/core/image2d.cc,
      	* tests/core/image3d.cc,
      	* tests/core/image2d_h.cc,
      	* tests/core/clock_test.cc,
      	* tests/core/decorated_image.cc,
      	* tests/core/translate_image.cc,
      	* tests/core/image_if.cc,
      	* tests/core/initialize.cc,
      	* tests/core/line_graph_elt_window.cc,
      	* tests/core/value_enc_image.cc,
      	* tests/core/line_graph_elt_neighborhood.cc,
      	* tests/core/pset_array.cc,
      	* tests/core/line_graph_image.cc,
      	* tests/core/dpoints_pixter.cc,
      	* tests/core/safe_image.cc,
      	* tests/core/pixter1d_more.cc,
      	* tests/core/rle_image.cc,
      	* tests/core/hexa.cc,
      	* tests/core/tr_image.cc,
      	* tests/core/interpolated.cc,
      	* tests/core/line_piter.cc,
      	* tests/neighb/image.cc,
      	* tests/draw/label.cc,
      	* tests/draw/graph.cc,
      	* tests/draw/line.cc,
      	* tests/level/transform_full.cc,
      	* tests/level/median.cc,
      	* tests/level/compute_full.cc,
      	* tests/level/sort_psites_full.cc,
      	* tests/level/median_hline2d.cc,
      	* tests/level/abs.cc,
      	* tests/level/assign_full.cc,
      	* tests/level/apply_full.cc,
      	* tests/level/fill_full.cc,
      	* tests/level/median_fast.cc,
      	* tests/level/compute.cc,
      	* tests/level/sort_psites.cc,
      	* tests/level/assign.cc,
      	* tests/level/approx/median.cc,
      	* tests/level/fill.cc,
      	* tests/level/abs_full.cc,
      	* tests/level/memcpy_.cc,
      	* tests/level/median_dir.cc,
      	* tests/level/stretch_full.cc,
      	* tests/level/paste_full.cc,
      	* tests/level/compare_full.cc,
      	* tests/level/saturate_full.cc,
      	* tests/level/transform.cc,
      	* tests/level/replace.cc,
      	* tests/level/stretch.cc,
      	* tests/level/paste.cc,
      	* tests/level/fill_with_value.cc,
      	* tests/level/naive/median.cc,
      	* tests/level/take.cc,
      	* tests/level/apply.cc,
      	* tests/level/compare.cc,
      	* tests/level/saturate.cc,
      	* tests/level/memset_.cc,
      	* tests/arith/minus.cc,
      	* tests/arith/minus_full.cc,
      	* tests/arith/times.cc,
      	* tests/arith/times_full.cc,
      	* tests/arith/plus.cc,
      	* tests/arith/plus_full.cc,
      	* tests/arith/revert.cc,
      	* tests/arith/revert_full.cc,
      	* tests/linear/convolve.cc,
      	* tests/linear/lap.cc,
      	* tests/linear/log.cc,
      	* tests/linear/line_convolve.cc,
      	* tests/linear/sobel.cc,
      	* tests/linear/local/convolve.cc,
      	* tests/linear/gaussian.cc,
      	* tests/accu/pair.cc,
      	* tests/accu/median.cc,
      	* tests/accu/compute.cc,
      	* tests/accu/mean.cc,
      	* tests/accu/nil.cc,
      	* tests/accu/min.cc,
      	* tests/accu/max.cc,
      	* tests/value/stack.cc,
      	* tests/value/float01.cc,
      	* tests/border/duplicate_full.cc,
      	* tests/border/mirror_full.cc,
      	* tests/border/equalize_full.cc,
      	* tests/border/get_full.cc,
      	* tests/border/resize.cc,
      	* tests/border/find_full.cc,
      	* tests/border/resize_image1d_1.cc,
      	* tests/border/fill_full.cc,
      	* tests/border/resize_image2d_1.cc,
      	* tests/border/resize_image1d_2.cc,
      	* tests/border/duplicate.cc,
      	* tests/border/resize_image1d_3.cc,
      	* tests/border/mirror.cc,
      	* tests/border/resize_image3d_1.cc,
      	* tests/border/resize_image2d_2.cc,
      	* tests/border/resize_image2d_3.cc,
      	* tests/border/resize_image3d_2.cc,
      	* tests/border/adjust_full.cc,
      	* tests/border/resize_image3d_3.cc,
      	* tests/border/resize_sub_image.cc,
      	* tests/border/equalize.cc,
      	* tests/border/get.cc,
      	* tests/border/find.cc,
      	* tests/border/resize_image_if.cc,
      	* tests/border/resize_full.cc,
      	* tests/border/fill.cc,
      	* tests/border/adjust.cc,
      	* tests/test/positive.cc,
      	* tests/convert/to_p_set.cc,
      	* tests/convert/to_tiles.cc,
      	* tests/convert/to_image.cc,
      	* tests/convert/to_window.cc,
      	* tests/estim/mean.cc,
      	* tests/pw/value.cc,
      	* tests/geom/max_sli.cc,
      	* tests/geom/resize.cc,
      	* tests/geom/nrows.cc,
      	* tests/geom/seed2tiling_roundness.cc,
      	* tests/geom/seed2tiling.cc,
      	* tests/geom/min_row.cc,
      	* tests/geom/ninds.cc,
      	* tests/geom/max_row.cc,
      	* tests/geom/min_ind.cc,
      	* tests/geom/ncols.cc,
      	* tests/geom/max_ind.cc,
      	* tests/geom/min_col.cc,
      	* tests/geom/max_col.cc,
      	* tests/geom/nslis.cc,
      	* tests/geom/min_sli.cc,
      	* tests/fun/x2x/rotation.cc,
      	* tests/fun/v2v/rgb_hsi_conversion.cc,
      	* tests/binarization/threshold.cc,
      	* tests/morpho/contrast.cc,
      	* tests/morpho/meyer_wst_long.cc,
      	* tests/morpho/gradient.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/laplacian.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/display/color_pretty.cc,
      	* tests/io/pgm/pgm27.cc,
      	* tests/io/pgm/pgm19.cc,
      	* tests/io/pgm/pgm.cc,
      	* tests/io/pgm/pgm16.cc,
      	* tests/io/fits/fits.cc,
      	* tests/io/ppm/ppm.cc,
      	* tests/io/ppm/ppm23.cc,
      	* tests/io/ppm/ppm16.cc,
      	* tests/io/pbm/pbm.cc,
      	* tests/logical/or.cc,
      	* tests/logical/not.cc,
      	* tests/logical/or_full.cc,
      	* tests/logical/and_not.cc,
      	* tests/logical/and.cc,
      	* tests/logical/not_full.cc,
      	* tests/logical/and_not_full.cc,
      	* tests/logical/and_full.cc,
      	* tests/canvas/chamfer.cc,
      	* tests/canvas/browsing/directional.cc,
      	* tests/canvas/browsing/fwd.cc,
      	* tests/canvas/browsing/snake_fwd.cc,
      	* tests/util/tree_to_image.cc,
      	* tests/util/branch_iter_ind.cc,
      	* tests/util/lemmings.cc,
      	* tests/util/tree_fast_to_image.cc,
      	* tests/util/branch_iter.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/p_line2d.cc,
      	* doc/tutorial/examples/p_array.cc,
      	* doc/tutorial/examples/p_array.2.cc,
      	* doc/tutorial/examples/image_if.cc,
      	* doc/tutorial/examples/p_image.cc,
      	* doc/tutorial/examples/p_queue.cc,
      	* doc/tutorial/examples/image_plain.cc,
      	* doc/tutorial/examples/p_vaccess.cc,
      	* doc/tutorial/examples/window.cc,
      	* doc/tutorial/examples/p_key.cc,
      	* doc/tutorial/examples/p_key.2.cc,
      	* doc/tutorial/examples/image2d.cc,
      	* doc/tutorial/examples/image_safe.cc,
      	* doc/tutorial/examples/proxy.cc,
      	* doc/tutorial/examples/p_run.cc,
      	* doc/tutorial/examples/box.cc,
      	* doc/tutorial/examples/image_flat.cc,
      	* doc/tutorial/examples/p_mutable_array_of.cc,
      	* doc/benchmark/p_runs.cc,
      	* doc/benchmark/image2d.cc,
      	* doc/examples/labeling_algo.cc,
      	* mln/debug/put_word.hh,
      	* mln/core/internal/graph_vicinity_piter.hh,
      	* mln/core/internal/line_graph_vicinity_piter.hh,
      	* mln/core/p_image2d.hh,
      	* mln/core/site_set/p_bgraph.hh,
      	* mln/core/site_set/p_graph_piter.hh,
      	* mln/core/site_set/p_bgraph_piter.hh,
      	* mln/core/site_set/p_line_graph.hh,
      	* mln/core/site_set/p_line_graph_piter.hh,
      	* mln/core/site_set/p_graph.hh,
      	* mln/draw/graph.hh,
      	* mln/level/fill_with_image.hh,
      	* mln/level/replace.hh,
      	* mln/level/paste.hh,
      	* mln/level/fill.spe.hh,
      	* mln/level/fill_with_value.hh,
      	* mln/linear/line_x2_convolve.hh,
      	* mln/accu/count_adjacent_vertices.hh,
      	* mln/accu/rank.hh,
      	* mln/accu/rank_high_quant.hh,
      	* mln/accu/rank_bool.hh,
      	* mln/border/mirror.hh,
      	* mln/make/image1d.hh,
      	* mln/make/image2d.hh,
      	* mln/convert/to_tiles.hh,
      	* mln/convert/to_image.hh,
      	* mln/convert/to_window.hh,
      	* mln/geom/chamfer.hh,
      	* mln/morpho/opening_area_on_vertices.hh,
      	* mln/morpho/line_gradient.hh,
      	* mln/morpho/closing_area_on_vertices.hh,
      	* mln/display/color_pretty.hh,
      	* mln/display/remove.hh,
      	* mln/display/save.hh,
      	* mln/display/show.hh,
      	* mln/io/pfm/load.hh,
      	* mln/io/pgm/load.hh,
      	* mln/io/fits/load.hh,
      	* mln/io/pnm/load.hh,
      	* mln/io/ppm/load.hh,
      	* mln/io/pbm/load.hh,
      	* sandbox/duhamel/main_mesh_image.cc,
      	* sandbox/duhamel/queue_p_priority.cc,
      	* sandbox/duhamel/graph_labeling.hh,
      	* sandbox/duhamel/translate_image.hh,
      	* sandbox/duhamel/slow_seed2tiling.cc,
      	* sandbox/duhamel/labeling_algo.cc,
      	* sandbox/duhamel/main.cc,
      	* sandbox/duhamel/paste.hh,
      	* sandbox/duhamel/color_sub.cc,
      	* sandbox/duhamel/chamfer.cc,
      	* sandbox/duhamel/mem.hh,
      	* sandbox/duhamel/labeling_algo.hh,
      	* sandbox/duhamel/extract_array.cc,
      	* sandbox/duhamel/abr_to_image.cc,
      	* sandbox/duhamel/translate_image.cc,
      	* sandbox/pellegrin/first_test.cc,
      	* sandbox/pellegrin/set/test/p_runs.cc,
      	* sandbox/pellegrin/set/test/pset_if.cc,
      	* sandbox/pellegrin/set/core/p_bgraph.hh,
      	* sandbox/pellegrin/set/core/p_line_graph.hh,
      	* sandbox/pellegrin/set/core/p_graph.hh,
      	* sandbox/pellegrin/cond_inheritance/test_cond_inherit.cc,
      	* sandbox/aroumougame/skeleton/mesh-skel_region.cc,
      	* sandbox/aroumougame/skeleton/miscellenous.hh,
      	* sandbox/aroumougame/skeleton/test.cc,
      	* sandbox/aroumougame/skeleton/test_image2d.cc,
      	* sandbox/aroumougame/skeleton/mesh-skel.cc,
      	* sandbox/aroumougame/skeleton/test_image3d.cc,
      	* sandbox/aroumougame/skeleton/thinning.hh,
      	* sandbox/aroumougame/skeleton/sedt.hh,
      	* sandbox/nivault/rotation.cc,
      	* sandbox/nivault/plugin-gimp/src/build-image.hh,
      	* sandbox/nivault/extract_score.cc,
      	* sandbox/nivault/extract_character.cc,
      	* sandbox/nivault/median.hh,
      	* sandbox/jardonnet/test/reduce.cc,
      	* sandbox/jardonnet/test/icp_ref.cc,
      	* sandbox/jardonnet/test/gaussian.cc,
      	* sandbox/jardonnet/test/icp.cc,
      	* sandbox/jardonnet/test/gaussian_subsampling.cc,
      	* sandbox/jardonnet/test/test.cc,
      	* sandbox/jardonnet/test/type.cc,
      	* sandbox/jardonnet/test/subsampling.cc,
      	* sandbox/jardonnet/registration/chamfer.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/yuv/test.cc,
      	* sandbox/vigouroux/yuv/get_blue.hh,
      	* sandbox/vigouroux/yuv/get_red.hh,
      	* sandbox/vigouroux/yuv/testfun.cc,
      	* 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/test.cc,
      	* sandbox/vigouroux/cmy/get_blue.hh,
      	* sandbox/vigouroux/cmy/fun.hh,
      	* sandbox/vigouroux/cmy/testfun.cc,
      	* sandbox/vigouroux/cmy/get_green.hh,
      	* sandbox/vigouroux/xyz/test.cc,
      	* sandbox/vigouroux/xyz/rgb_to_xyz.hh,
      	* sandbox/vigouroux/xyz/get_blue.hh,
      	* sandbox/vigouroux/xyz/get_red.hh,
      	* sandbox/vigouroux/xyz/testfun.cc,
      	* sandbox/vigouroux/xyz/get_green.hh,
      	* sandbox/vigouroux/moyenne.cc,
      	* sandbox/vigouroux/lap.cc,
      	* sandbox/vigouroux/yiq/test.cc,
      	* sandbox/vigouroux/yiq/get_blue.hh,
      	* sandbox/vigouroux/yiq/get_red.hh,
      	* sandbox/vigouroux/yiq/rgb_to_yiq.hh,
      	* sandbox/vigouroux/yiq/testfun.cc,
      	* sandbox/vigouroux/yiq/get_green.hh,
      	* sandbox/vigouroux/color.cc,
      	* sandbox/vigouroux/load.cc,
      	* sandbox/vigouroux/conv/test.cc,
      	* sandbox/vigouroux/conv/getred.hh,
      	* sandbox/vigouroux/conv/tored.hh,
      	* sandbox/vigouroux/conv/torgb.hh,
      	* sandbox/vigouroux/conv/rgbto.hh,
      	* sandbox/vigouroux/gradation.hh,
      	* sandbox/vigouroux/testfun.cc,
      	* 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/test_fllt_tiny.cc,
      	* sandbox/garrigues/fllt/test_fllt12.cc,
      	* sandbox/garrigues/fllt/essai.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/fllt_merge.hh,
      	* 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/tiled_image2d/tiled_image2d.hh,
      	* sandbox/garrigues/tiled_image2d/tiled_image2d.cc,
      	* sandbox/garrigues/image_identity/interpolated.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/naive.cc,
      	* sandbox/folio/test/dt_maze.cc,
      	* sandbox/folio/test/chamfer.cc,
      	* sandbox/folio/test/dt_bench.cc,
      	* sandbox/folio/test/dt.cc,
      	* sandbox/folio/psn.cc,
      	* sandbox/folio/psn_log.cc,
      	* sandbox/folio/naive.cc,
      	* sandbox/folio/chamfer.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/tests/io/tikz/tikz.cc,
      	* sandbox/abraham/mln/morpho/basic_najman.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2172 4aad255d-cdde-0310-9447-f3009e2ae8c0
      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. 20 Aug, 2008 1 commit
    • Thierry Geraud's avatar
      Huge summer cleanup. · 34bf6dae
      Thierry Geraud authored
      
      	
      	Part 0:  New metal stuff for use in proxy-related meta-programs.
      	----------------------------------------------------------------
      
      
      	
      	* mln/metal/unqualif.hh (todo): New.
      	* mln/metal/const.hh (const_): New overloads for pointers.
      	* mln/metal/is_a.hh (is_a): New overload to handle & and const&.
      	(make_): Likewise.
      	* mln/metal/is.hh (is): New overload to handle constness.
      	* mln/metal/unref.hh (unref): New overload to handle const&.
      	* mln/metal/is_not_ref.hh: New.
      	* mln/metal/is_ref.hh: New.
      	* mln/metal/ref.hh: New.
      
      	
      
      	Part I:  Cleanup traits.
      	------------------------
      
      	
      	
      	Reduce dependencies between trait structures and the solving
      	meta-programs.  Forward declarations of the latter are included
      	before the definition of trait structures and meta-programs are
      	eventually included at EOF.
      
      	
      	* mln/trait/op/decl.hh: New.  Forward declare the couple of
      	solving meta-programs.
      
      	* mln/trait/op/leq.hh,
      	* mln/trait/op/times.hh,
      	* mln/trait/op/div.hh,
      	* mln/trait/op/plus.hh,
      	* mln/trait/op/neq.hh,
      	* mln/trait/op/greater.hh,
      	* mln/trait/op/minus.hh,
      	* mln/trait/op/not.hh,
      	* mln/trait/op/postdec.hh,
      	* mln/trait/op/predec.hh,
      	* mln/trait/op/and.hh,
      	* mln/trait/op/eq.hh,
      	* mln/trait/op/less.hh,
      	* mln/trait/op/xor.hh,
      	* mln/trait/op/uplus.hh,
      	* mln/trait/op/geq.hh,
      	* mln/trait/op/mod.hh,
      	* mln/trait/op/postinc.hh,
      	* mln/trait/op/preinc.hh,
      	* mln/trait/op/uminus.hh,
      	* mln/trait/op/or.hh: Update.
      
      	Group category materials in the same file.
      	
      	* mln/trait/solve.hh (super_category_): Move...
      	* mln/category.hh: ...here.
      	Consequently mln::trait::internal::super_category_ is now
      	mln::internal::super_category_.
      
      	Allow the category associated type to hold extra information.  In
      	particular we need for proxy to carry the super category
      	information.  For that, in meta-programs, it is now used as a
      	'regular' type (no more as a meta-type), e.g., we propagate
      	'Image<void>' as a parameter in meta-programs instead of 'Image'.
      	In the case of multiple possible super categories, for instance
      	for builtin types, we have 'Category<Super_Category>'.
      	
      	* mln/trait/solve_unary.hh (trait_set_unary_): New.  This
      	structure removes the parameter of the category to access the
      	definition of trait::set_unary_.
      	(Category_T): Replace in meta-code this meta-class parameter by...
      	(Category): ...this class parameter.
      	* mln/trait/solve_binary.hh: Likewise.
      
      	* tests/trait/super.cc,
      	* mln/value/builtin/symbolics.hh,
      	* mln/value/builtin/floatings.hh,
      	* mln/value/builtin/integers.hh: Update.
      
      
      	
      	PART II.  Make the default coordinate type easily changeable.
      	-------------------------------------------------------------
      
      
      	
      	Introduce a one-place definition of the default coordinate used in
      	point2d and related classes.  This definition is changed from
      	"int" to "short int" to save memory when containers of coordinates
      	are involved.
      	
      	* mln/core/def: New directory for definitions.
      	* mln/core/def/coord.hh: New.
      	* mln/core/dpoint.hh,
      	* mln/core/point.hh: Include this new file.
      
      	* mln/core/dpoint2d.hh,
      	* mln/core/point1d.hh,
      	* mln/core/point2d.hh,
      	* mln/core/point3d.hh,
      	* mln/make/box3d.hh,
      	* mln/make/dpoint1d.hh,
      	* mln/make/dpoint2d.hh,
      	* mln/make/dpoint3d.hh,
      	* mln/make/box1d.hh,
      	* mln/make/box2d.hh,
      	* mln/make/box3d.hh,
      	* mln/make/point1d.hh,
      	* mln/make/point2d.hh,
      	* mln/make/point3d.hh,
      	* mln/trait/image/props.hh (int): Replace by...
      	(def::coord): ...this.
      
      	
      
      	PART III.  Make the proxy mechanism more powerful.
      	--------------------------------------------------
      
      	
      
      	The proxy mechanism can now handle the several cases in the nature
      	of the subject:
      	- with type "T", the subject is a temporary object or an object
      	  copy;
      	- with type "T&", the subject is modifiable through a non-const
      	  proxy;
      	- with type "const T&", the subject is handle by reference (not
      	  copied) yet it is never modifiable.
      
      	
      	The "unproxy()" method is split into:
      	- unproxy_() [const]
      	  These methods are automatically inherited thru internal::proxy_impl.
      	  The '_' suffix emphasizes their technical-detail (non-user) nature.
      	- subj_()
      	  This method has to be defined in proxy concrete classes.  It
      	  shall return the immediate subject of the proxy.  This not-const
      	  method is unique.  A proper "unproxy_() const" method is defined
      	  from it.
      
      	The "subject" typedef is replaced by "q_subject" which is
      	qualified (so that the proxy mechanism can handle different cases
      	described above).  This typedef is no more defined explicitly by
      	the client, it is automatically set thanks to inheritance with the
      	first parameter of the internal::proxy_impl class.
      	
      	* mln/core/concept/proxy.hh (unproxy): Replace this const method
      	by...
      	(subj_): ...this mutable one.
      	(subject): Remove this typedef.
      	(FIXME): Fix'n remove.
      	(subject, unproxy_rec): New external material to access the actual
      	subject type and object.  If we have a proxy to a proxy, that is, a
      	recursive construction, the subject at end is returned.
      	* mln/core/macros.hh (mln_q_subject): New.
      	(mln_subject): Deactivate for safety purpose.  The user should not
      	have to access the actual subject type. 
      	
      	Recap:
      	
      	- P::q_subject is the qualified immediate subject
      	  (that may be itself a proxy type)
      	v.
      	- subject<P> is the subject type at end 
      	  (it cannot be a proxy type)
      
      	- p.subject_() gives the immediate subject object
      	  (which may be a proxy object)
      	v.
      	- unproxy_rec(p) gives the subject object at end
      	  (it cannot be a proxy object).
      	
      	* mln/core/concept/proxy.hh
      	(Proxy): Update ctor to perform the proper checks.
      	(unproxy_couple): Rename as...
      	(helper_unproxy_binop): ...this.
      	(mln_def_binop_proxy, operator, set_unary_, set_binary_): Update.
      	(internal): Move material into...
      	* mln/core/concept/proxy.hxx: ...this new file.
      	(helper_subject_of, helper_unproxy_rec, helper_get_proxy_impl):
      	New helpers to handle the different cases.
      
      	Proxies are automatically equipped with some new material:
      	
      	* mln/core/concept/proxy.hxx:
      	(q_subject, unproxy_): New in proxy_impl.
      	(HOT_actual_subject, get_subject): New in helper_get_proxy_impl
      	when recursion ends, that is, when the subject is no more a proxy.
      	(subject_impl): New structure to be specialized (see below).
      	
      	IMPORTANT:
      	
      	For a proxy to look like an actual subject, it shall have the
      	interface of the later.  For that, the "subject_impl"
      	parameterized structure has to be specialized.  See
      	mln/core/point2d.hh for an example.
      	
      	Consequently to the modifications of the proxy mechanism, some
      	pieces of code are now obsolete:
      	
      	* mln/accu/internal/base.hh (q_subject, subject, unproxy): Remove.
      	(subj_): New.
      	(base_): Pass the qualified R type as parameter to proxy_impl.
      	* mln/core/concept/site_proxy.hh (internal): Remove.  We can now
      	use the default material for all proxies.
      	* mln/core/internal/pseudo_site_base.hh (is_mutable): Remove this
      	parameter.  It is now obsolete since the immediate subject type is
      	qualified, namely the parameter P.
      	(subject, q_subject): Remove.
      	(site): Update.  It now relies on proxy material.
      	(to_site): New method.  It is now final thanks to get_subject().
      	* mln/core/internal/site_relative_iterator_base.hh
      	(unproxy): Replace by...
      	(subj_): ...this.
      	* mln/core/internal/site_iterator_base.hh: Likewise.
      	(site_impl): Remove this obsolete inheritance.  Now the
      	implementation is offered by the proxy mechanism.
      	(operator site, to_site): Update; use get_subject.
      	* mln/core/point2d.hh (site_const_impl, site_impl): Replace by...
      	(subject_impl): ...these.
      
      	Last.
      	
      	* doc/tutorial/examples/proxy.cc: New.
      
      	
      	
      	PART IV.  Add some utility code.
      	--------------------------------
      
      
      	
      	The main idea is to provide iterators for util::set and
      	util::array so that such structures can be involved in some site
      	set types with a common interface.  In particular, they can be
      	used by the new material of mln/core/p_double.hh
      
      
      	Finalize the util::set class.  It is now fully functional.  A
      	major improvement is that the method ".has()" does no more require
      	that the data are unfrozen.
      	
      	* mln/util/set.hh (set_fwd_iter, set_bkd_iter): New classes.
      	(fwd_iter, bkd_iter, iter): New typedefs.
      	(first_element, last_element, memory_size): New.
      	(is_frozen_): New.  Hum... we should think of adding a public
      	freeze method.
      	(has): Now work when the set is frozen thanks to...
      	(v_has_, dicho_): ...these new private methods.
      	(insert): New overload with a set as argument.
      	(remove): New method.
      	(todo): Remove; done.
      	(todo): New.
      	(documentation): Layout.
      	(vect): Rename this method as...
      	(std_vector): ...this more explicit name.
      	(operator<<): Change the output.
      
      	A new class, util::array, is introduce.  It is nearly a regular
      	dynamic array expect that it will provide a remove-element method
      	with O(1) complexity.  This feature is not yet implemented (see
      	the todo).
      	
      	* mln/util/array.hh: New.
      
      	Misc.
      	
      	* mln/core/contract.hh (mln_implies): Replace this macro by...
      	(implies): ...this routine.  Nota: the macro did not work!
      	* mln/core/macros.hh
      	(mln_bkd_iter, mln_fwd_iter, mln_iter): New.
      	(mln_element): New.
      	* mln/fun/v2v/inc.hh: New.
      	* mln/fun/v2v/dec.hh: New.
      	* mln/util/index.hh (operator++, operator--): New.
      	(todo): New.
      	* mln/util/timer.hh: New.
      	* mln/util/yes.hh (operator==, operator!=): New overloads.
      	* mln/util/less.hh (op_less, op_less_or_equal): New.
      	* mln/value/viter.hh (change_target, index_): New.
      	(fwd_viter_, bkd_viter_): New overload ctor without argument.
      
      
      	
      	PART V.  Cleanup site set definitions.
      	--------------------------------------
      
      	
      
      	A lot of work here has been done to FACTOR (!) code and make it
      	safer.
      	
      	
      	First add a re-target feature to pseudo sites.
      
      	* mln/core/concept/pseudo_site.hh (target_t): Rename this typedef
      	as...
      	(target): ...this.
      	(target_, change_target): New methods expected in concrete
      	classes.
      	(has_target): New final method.
      	(if_possible::change_target): Update.
      	* mln/core/macros.hh (mln_target_): New.
      	
      	Add some methods in the site set interface.
      	
      	* mln/core/concept/site_set.hh (is_valid): New method.  Some site
      	set types are always valid, some others can sometimes be
      	invalid (think of an initialized box!)
      	(memory_size): New.
      	(i_element, insert): New methods expected by site sets with
      	"dynamic contents".
      	(r_element, remove): New methods expected by site sets with "free
      	contents".  Nota bene: having a "growing contents" means that no
      	removal is possible.
      	(q_box): New typedef expected by site sets knowing their bounding
      	box.
      	(bbox): Turn this method into optional.
      	(internal): New material to check the presence of methods that
      	some site sets feature.
      	(Site_Set): Use this material to check the presence of the nsites,
      	bbox, insert, and remove methods.
      	(todo): Remove; done.
      	* mln/accu/bbox.hh (box_): Update to...
      	(box): ...the new class name.
      	(take): Rely on is_valid instead of nsites.
      	* mln/core/box.hh,
      	* mln/core/p_queue_fast.hh,
      	* mln/core/p_priority_queue.hh,
      	* mln/core/p_set.hh,
      	* mln/core/line2d.hh,
      	* mln/core/p_run.hh,
      	* mln/core/p_run_piter.hh,
      	* mln/core/p_array.hh,
      	* mln/core/p_runs.hh: Update.
      	* mln/core/concept/box.hh (q_box): New typedef.
      	(nsites): Handle the case of a non-initialized box.
      	* doc/tutorial/examples/cpp_issue.cc: New.  It illustrates the
      	impossibility of having a "typedef box" (and thus a method having
      	for signature "box bbox() const") due to the type "box<P>".
      
      	Some site set types are indexed (featuring an operator[]).  The
      	triplet of psite, fwd_piter, and bkd_piter is factored for such
      	types.  It is the case for:
      	- p_array<P>
      	- p_set<P>
      	- line2d.
      
      	* mln/core/p_array.hh (p_array_psite): Rename as...
      	(p_indexed_psite): ...this and update.
      	(p_indexed_fwd_piter, p_indexed_bkd_piter): New iterators.
      	(psite, fwd_piter, bkd_piter): Update.
      	(trait): Update.
      	(element, piter, i_element): New typedefs.
      	(has_index): Remove; replace by...
      	(has): ...this overload with util::index.
      	(operator[]): New overload with util::index.
      	(vect): Rename as...
      	(std_vector): ...this.
      	(memory_size, hook_std_vector_): New.
      	* mln/core/p_set.hh: Likewise.
      	(p_set): Change inheritance (remove dependency on set_of_) into
      	delegation with...
      	(s_): ...this new attribute whose type is util::set.
      	(remove): Re-activate and make it work.
      	(bb_, bbox): Remove because it is too costly to maintain.
      	* mln/core/p_array_piter.hh: Obsolete changes.
      	* mln/core/line2d.hh
      	(vect_): Change this attribute to...
      	(arr_): ...this new one with type being a p_array.
      	(beg_, end_): Remove those useless attributes.
      	(begin, end, bbox): New methods.
      	(line2d): Update like previous site set types.
      	* doc/tutorial/examples/line2d.cc: New.
      	
      	Re-vamp the p_queue_fast so that it completely relies on p_array.
      	
      	* mln/core/p_queue_fast.hh (include): Remove about all
      	includes (useless!).  Add p_array.hh.
      	(trait): Update.
      	(element, psite, piter): New typedefs.
      	(fwd_piter, bkd_piter): Now use the indexed iterators.
      	(has): Replace by...
      	(compute_has): ...this re-written method.
      	(has): Now take a psite (!)
      	(npoints, vect): Rename as...
      	(nsites, std_vector): ...these.
      	(bbox, push_force, is_empty): Remove.
      	(i_element, insert, purge, memory_size): New.
      	(bb_, vect_needs_update_): Remove.  They are useless since:
      	(q_): Change type from std::vector to p_array.
      	(begin_, end_): Change type from std::size_t to unsigned.
      	(operator[]): New.
      	(p_queue_fast, reserve, clear, pop, push): Re-write.
      	(pop_front): Fix missing precondition.
      
      	Completely re-write the priority queue class so that this class is
      	unique.  Put differently we had three classes:
      	- p_priority_queue
      	- p_priority_queue_fast
      	- p_priority_queue_fast_with_array
      	and now we have one factored class:
      	- p_priority!
      	Yet this class does not handle a bounding box (to be implemented).
      	
      	* mln/core/p_priority_queue.hh (p_priority_queue): Rename as...
      	(p_priority): ...this.
      	Re-write completely and update; noticeable changes are:
      	(T): Replace this element-type parameter by...
      	(Q): ...this new parameter; it is the queue-type.
      	(bbox, operator[], push_force): Remove these methods.
      	(insert): New method.
      	(exists_priority, operator()): New methods.
      	(lowest_priority, highest_priority): New methods.
      	
      	* doc/tutorial/examples/p_queue.cc: New.  Illustrate what can be
      	done with both p_queue_fast and p_priority_queue.
      
      	About site sets based on runs, cleanup and speedup code.
      	A couple of important remarks:
      	- p_run<P> does not rely on p_indexed stuff because the dedicated
      	  code is more efficient; just think of calling .next() and
      	  computing the i-th point (slow) instead of just
      	  inc/dec-rementing the last coordinate (fast).
      	- p_runs<P> is a transition class between has-been code and
      	  will-be code; it will be automatically replaced by composite
      	  site set types s.a. p_array_of< p_run<P> >.
      
      	* mln/core/p_run.hh: Update like previous site set types.
      	(set_run): Rename this method as...
      	(init): ...this.  It is now consistent with other lib types.
      	(p_): Rename this attribute as...
      	(start_): ...this more explicit name.
      	(first): Rename this method as...
      	(start): ...this.
      	(end): New method.
      	(bb_): Remove this attribute since it is easily and efficiently
      	computable.
      	(is_valid_): Likewise.
      	(bbox): Update; now return by copy.
      	(std::size_t): Change this type of length into...
      	(unsigned short): ...this sufficient type.
      	(util::less): New specialization.
      	(psite, piter): New typedefs.
      	(p_run_psite): New.  There was no psite for p_run!  Instead a type
      	of point was used so there was no very efficient ".has(p)"
      	method...
      	(has): Overload for psite.  It is quick :-)
      	* mln/core/p_run_piter.hh: Update.
      	(assign_run, to_point, operator[], ind, operator P): Remove; now
      	obsolete because factored in super classes.
      	(i_, p_, run_, is_valid_): Likewise for these attributes.
      	* mln/core/p_runs.hh (p_runs): Rename as...
      	(p_run_set): ...this.
      	(fwd_piter, bkd_piter): Use p_double stuff; see below.
      	Update the full class file.  Nota bene: this class will be soon
      	obsolete!  Yet to bench the difference after changes we keep track
      	of an up-to-date version:
      	* sandbox/geraud/p_runs__with_dedicated_piter.hh: Copy of previous
      	code to bench purpose.
      	* doc/benchmark/p_runs.cc: New.
      	* doc/tutorial/examples/p_run_set.cc: New.
      	* mln/convert/to_p_run_set.hh: New.
      
      	Add composite site set types, meaning types for "composites of
      	site sets".  For instance, a dynamic array of site sets or a
      	mathematical set of site sets.
      	
      	* mln/core/p_double.hh: New.
      	* mln/core/p_mutable_array_of.hh: New.
      	* mln/core/p_set_of.hh: New.
      	* doc/tutorial/examples/p_mutable_array_of.cc: New.
      
      	New site set types that are value-oriented.
      	
      	* mln/core/p_vaccess.hh: New.
      	* mln/core/obsolete_p_vaccess.hh: New.
      	* mln/core/p_key.hh: New.
      	* doc/tutorial/examples/p_vaccess.cc: New.
      	* doc/tutorial/examples/p_key.cc: New.
      	* doc/tutorial/examples/p_key.2.cc: New.
      
      	Misc.
      	
      	* mln/core/p_queue.hh (npoints): Rename as...
      	(nsites): ...this.
      	(is_empty): Remove; obsolete.
      	* mln/core/internal/site_set_base.hh
      	(is_empty): New method; it dispatches to is_empty_.
      	(is_empty_): New default implementation based on the nsites
      	method.  This method has to be overridden by sub-classes that can
      	test their emptiness though they do not feature the nsites method.
      	* mln/core/concept/site_set.hh (insert_all): Replace this method by...
      	(operator+=): ...this external operator and add static checks.
      	* doc/tutorial/examples/image2d.cc,
      	* doc/tutorial/examples/window.cc: Update.
      	* mln/trait/site_set/props.hh (todo): New.
      	(contents::free): Fix typo in return of the name() method.
      	
      	Last.
      
      	* mln/trait/site_set/status.txt: Layout and update.  That is THE
      	reference file to know the work done v. remaining to be done on
      	site sets.
      
      
      	
      	PART VI.  Some work on image types.
      	-----------------------------------
      
      
      	Cleanup the internal classes.
      	
      	* mln/core/internal/data.hh (todo): New.
      	* mln/core/internal/image_base.hh (morpher_lvalue_): Move into...
      	* mln/core/internal/morpher_lvalue.hh: ...this new file.
      	* mln/core/internal/check/image_all.hh: Typo.
      	* mln/core/internal/check/image_fastest.hh (ctor): Fix a missing
      	static check.
      	* mln/core/internal/image_identity.hh
      	(image_identity_impl__fastest, image_identity_impl): New.
      	Actually this new code should be located elsewhere.
      
      	Bench image2d and compare iterations with different
      	implementations.
      	
      	* mln/core/point.hh (operator[]): Change return from "C" to "const
      	C&".
      	(last_coord): New.
      	(plus_infty, minus_infty): New.
      	(cut_): New.
      	* mln/core/internal/coord_impl.hh
      	(ind, row, col, sli): Change return from "C" to "const C&".
      	* mln/core/window.hh: Update.
      	* mln/core/box_piter.hh (next_): Speedup a bit.
      	* mln/core/image2d.hh (alt): New temporary method to bench purpose.
      	* doc/benchmark/image2d.cc: New.
      
      	First attempt to deal with temporary mutable morphers.
      	
      	* mln/core/image: New directory.
      	* mln/core/image/all.hh,
      	* mln/core/image/instant.hh: New files.
      	* mln/core/sub_image.hh (operator|): New overload for instant
      	images.
      	* mln/level/fill_with_value.hh (fill_with_value): Likewsie. 
      	* doc/tutorial/examples/sub_image.cc: Use fill_with_value to show
      	that instant morphers can be mutable.
      
      	Start to update p_run-based image types.
      
      	* mln/core/sparse_image.hh: Update using p_run_set<P>.
      
      	Misc.
      	
      	* mln/core/plain.hh (include): Remove useless dependence on
      	algebra::vec.
      	* mln/pw/image.hh (speed): Fix wrong property.
      
      
      	
      	PART VII.  What is not in previous parts.
      	-----------------------------------------
      
      	
      	
      	* doc/tutorial/examples/p_array.cc: Replace some dynamic
      	assertions by static checks.
      	* mln/core/concept/gdpoint.hh (todo): New.
      	* mln/core/internal/piter_adaptor.hh
      	(pi_change_target_): New default implementation.
      	(pi_set_from_): Remove this method expected in subclasses.
      	(change_target): Call pi_change_target_.
      	* mln/core/pset_if_piter.hh: Update.
      	* mln/debug/put_word.hh: New.
      	* mln/debug/println.hh (todo): New.
      	* mln/debug/println.spe.hh (todo): New.
      	(println): Revamp 2D version so it can work on a wider set of
      	images.  It no longer relies on the "at(row,col)" method.
      	(println): Overload for image2d<char>.
      	* mln/geom/bbox.hh (bbox_): Fix signature.
      	* mln/labeling/blobs.hh (unsigned): Replace its use by...
      	(L): ...this parameter.  That is a feature bug fix!
      	* mln/morpho/internal: New.
      	* mln/morpho/internal/elementary.hh: New.
      	* mln/morpho/gradient_elementary.hh: Use new stuff.
      	* mln/morpho/dilation_elementary.hh: Add temporary code.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2154 4aad255d-cdde-0310-9447-f3009e2ae8c0
      34bf6dae
  9. 14 Aug, 2008 2 commits
    • Roland Levillain's avatar
      Kill more warnings in tests. · 0da8aa45
      Roland Levillain authored
      	* mln/morpho/Rd.hh (mln::morpho::impl::Rd::Rd): Add braces around
      	inner `if' to avoid (visual) ambiguity w.r.t. a dangling `else'.
      	* mln/morpho/contrast.hh: Wrap long lines.
      	* mln/morpho/opening.hh, tests/morpho/contrast.cc:
      	Add FIXMEs.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2152 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0da8aa45
    • 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
  10. 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
  11. 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
  12. 09 Aug, 2008 1 commit
  13. 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
  14. 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
  15. 31 Jul, 2008 1 commit
  16. 30 Jul, 2008 1 commit
  17. 27 Jun, 2008 3 commits
    • Thierry Geraud's avatar
      Start cleaning up level::fill. · e2086c1c
      Thierry Geraud authored
      	* tests/level/fill_with_value.cc: New.
      	* tests/level/Makefile.am: Update.
      	* mln/level/fill_with_image.hh: New.
      	* mln/level/fill.hh (generic): Remove.
      	(fill): Use fill_with_value and fill_with_image.
      	* mln/level/fill.spe.hh: Deactivate obsolete contents.
      	* mln/level/fill_with_value.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2088 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e2086c1c
    • 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
    • Thierry Geraud's avatar
      Augment gradient_elementary; it is a sample code. · 796c3803
      Thierry Geraud authored
      	* tests/morpho/gradient_elementary.cc: New.
      	* tests/morpho/Makefile.am: Update.
      	* mln/morpho/gradient_elementary.hh
      	(gradient_elementary_): Rename as...
      	(gradient_elementary_on_function): ...this.
      	(gradient_elementary_on_set): New.
      	(todo): Update.
      	Add a selector.
      	* img/tiny.pbm: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2086 4aad255d-cdde-0310-9447-f3009e2ae8c0
      796c3803
  18. 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
  19. 23 Jun, 2008 2 commits
  20. 19 Jun, 2008 1 commit
    • Roland Levillain's avatar
      Fix priority queue-based point sets. · b4cd2c5e
      Roland Levillain authored
      	These problems were spotted using TESTS_CXXFLAGS_DEBUG.
      
      	* mln/core/p_priority_queue.hh: 
      	(mln::p_priority_queue<P, T>::queue_map_t): New typedef.
      	Use it...
      	(mln::p_priority_queue<P, T>::q_): ...here, and fix the type
      	of this member.
      	(mln::p_priority_queue<P, T>): Adjust users.
      	* mln/core/p_priority_queue_fast.hh
      	(mln::p_priority_queue_fast<P, T>::queue_map_t): New typedef.
      	Use it...
      	(mln::p_priority_queue_fast<P, T>::q_): ...here, and fix the type
      	of this member.
      	(mln::p_priority_queue_fast<P, T>): Adjust users.
      	* tests/tests.mk (TESTS_CXXFLAGS_DEBUG): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2040 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b4cd2c5e
  21. 12 Jun, 2008 1 commit
    • Thierry Geraud's avatar
      Revamp design of Neighborhood and Window. · 4055fe8c
      Thierry Geraud authored
      	Add a new utility set whose behavior is transparent for the client
      	(conversely to util::lazy_set_) and memory saving (conversely to
      	internal::set_of_).
      
      	* mln/util/set.hh: New.
      	* tests/util/set.cc: New.
      
      	Revamp design of Neighborhood and Window.
      	
      	* doc/tutorial/examples/image2d.cc: Use window2d.
      	* mln/core/point.hh (dpsite): New associated type.
      	* mln/core/window.hh: Update inheritance.
      	(is_centered): Move here from dpoints_base_; such a method
      	is not featured by neighborhoods so it cannot be factored in
      	window_base.
      	(fwd_qiter, bkd_qiter, insert): Move in impl super class.
      	(operator<<): Split decl and def; update.
      	(window): Now rely on...
      	* mln/core/internal/basic_window_impl.hh: ...this new class.
      	(set_of_): Replace inheritance by delegation to util::set.
      	(fwd_qiter, bkd_qiter, insert): New factor defs; they were in
      	window class.  Now delegate code to insert_.
      	(insert_): New default impl; such method can be overridden.
      	* mln/core/internal/window_base.hh: New; for consistency
      	purpose.
      	* mln/core/dpoint.hh (psite, site): New.
      	* mln/core/concept/neighborhood.hh: Layout.
      	(Neighborhood): Change inheritance to Window.
      	(dpoint, point): Remove cause not general.
      	* mln/core/concept/window.hh (point, dpoint): Rename as...
      	(psite, dpsite): ...these.
      	(site): New associated type.
      	(is_empty, is_centered, is_symmetric, sym): Remove; not general.
      	* mln/core/concept/doc/window.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2013 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4055fe8c
  22. 11 Jun, 2008 1 commit
    • Thierry Geraud's avatar
      Get rid of owns_. · a2bb25e2
      Thierry Geraud authored
      	* tests/border/resize_sub_image.cc,
      	* tests/border/get.cc,
      	* tests/border/resize_image_if.cc,
      	* tests/fun/x2x/rotation.cc,
      	* mln/core/translate_image.hh,
      	* mln/core/internal/image_if_base.hh,
      	* mln/core/internal/image_identity.hh,
      	* mln/core/internal/image_value_morpher.hh,
      	* mln/core/internal/check/image_fastest.hh,
      	* mln/core/interpolated.hh,
      	* mln/core/cast_image.hh,
      	* mln/core/pixel.hh,
      	* mln/core/t_image.hh,
      	* mln/core/image1d.hh,
      	* mln/core/fi_adaptor.hh,
      	* mln/core/image3d.hh,
      	* mln/core/hexa.hh,
      	* mln/core/tr_image.hh,
      	* mln/core/safe.hh,
      	* mln/core/concept/doc/image.hh,
      	* mln/level/memset_.hh,
      	* mln/value/stack.hh,
      	* mln/pw/image.hh,
      	* mln/pw/value.hh,
      	* sandbox/duhamel/translate_image.hh,
      	* sandbox/nivault/rotation.cc,
      	* sandbox/nivault/plugin-gimp/src/gimp-image.hh,
      	* sandbox/jardonnet/subsampling/sub_sampled_image.hh,
      	* sandbox/geraud/cs2d/cs2d_morpho.hh,
      	* sandbox/garrigues/level_set.hh,
      	* sandbox/garrigues/fllt/compute_level_set_fast2.hh,
      	* sandbox/garrigues/fllt/compute_level_set_fast.hh,
      	* sandbox/garrigues/fllt/compute_level_set.hh,
      	* sandbox/garrigues/tiled_image2d/tiled_image2d.hh,
      	* sandbox/garrigues/image_identity/image_value_morpher.hh,
      	* sandbox/garrigues/image_identity/interpolated.hh,
      	* sandbox/ballas/refactorization/p_run.hh,
      	* sandbox/ballas/refactorization/rle_image.hh,
      	* sandbox/ballas/refactorization/image2d.hh,
      	* sandbox/ballas/refactorization/concept.hh,
      	* sandbox/ballas/refactorization/rle_pset.hh,
      	* sandbox/ballas/refactorization/internal/pset_base.hh,
      	* sandbox/ballas/refactorization/internal/image_base.hh,
      	* sandbox/ballas/refactorization/box2d.hh (owns_): Rename as...
      	(has): ...this.
      	* mln/trait/image/status.txt (image2d): Set OK.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2012 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a2bb25e2
  23. 09 Jun, 2008 1 commit
    • Thierry Geraud's avatar
      Deactivate site set inclusion tests. · a170b29f
      Thierry Geraud authored
      	Operators that test inclusion relationships between a couple of
      	site sets are not always correct as is.  Yet they are widely used
      	thru the library.  They are temporarily deactivated thanks to
      	their return value.
      	
      	* mln/util/yes.hh: New utility class that always responds yes,
      	i.e., converts to 'true'.
      	* tests/util/yes.cc: New.
      	
      	* mln/core/concept/site_set.hh (operator==): Deactivate body and
      	return yes.
      	(operator <=): Likewise.
      	(operator <): Likewise.
      	* doc/tutorial/examples/p_array.cc: Add a test of inclusion.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2005 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a170b29f
  24. 08 Jun, 2008 1 commit
    • Roland Levillain's avatar
      Have mln::util::vertex_id and mln::util::edge_id be distinct types. · 4bd548cb
      Roland Levillain authored
      	* mln/util/internal/graph_base.hh
      	(mln::util::gen_id<Tag, Typename>): New class.
      	(mln::util::vertex_tag, mln::util::edge_tag): New tags
      	(mln::util::vertex_id, mln::util::edge_id): Define these typedefs
      	as specializations of mln::util::gen_id instead of unsigned.
      	(mln::util::graph_base<V, E>::add_edge_): Adjust.
      	(operator==(const edge<E>&, const edge<E>&))
      	(operator< (const edge<E>&, const edge<E>&)):
      	Add missing an inline qualifier.
      	(mln::util::graph_base<V, E>::vertex(vertex_id)): Have the
      	declarations and definitions of thee methods have the exact same
      	signature.
      	* mln/core/line_graph_psite.hh
      	(line_graph_psite(const p_line_graph<P>&, util::edge_id))
      	(mln::util::line_graph_psite<P>::id):
      	Likewise.
      	* mln/core/graph_psite.hh
      	(graph_psite(const p_graph<P>&, util::vertex_id)):
      	Likewise.
      	* mln/core/p_line_graph_piter.hh
      	(p_line_graph_fwd_piter_<P>::next_): 
      	(p_line_graph_bkd_piter_<P>::next_):
      	Adjust.
      	* tests/morpho/lena_line_graph_image_wst1.cc: Adjust. 
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2003 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4bd548cb
  25. 06 Jun, 2008 1 commit