1. 04 Oct, 2007 1 commit
    • Thierry Geraud's avatar
      Introduce the notion of literals. · dc9569a4
      Thierry Geraud authored
      	Introduce literal zero.
      	
      	* mln/core/concept/literal.hh: New.
      	* mln/literal: New directory.
      	* mln/literal/zero.hh: New.
      	* tests/literal_zero.cc: New.
      	* mln/accu/sum.hh: Update.
      	* mln/core/concept/object.hh: Include zero.
      	* mln/metal/vec.hh (vec): Split ctor.
      	(vec): Overload ctor for literal zero.
      
      
      	Minor update for traits.
      	
      	* mln/trait/images.hh: Precise includes.
      	* mln/trait/ch_value.hh: Prefer fwd decl for vec.
      	* mln/trait/op_minus.hh,
      	* mln/trait/op_times.hh (set_binary_): Use category.
      	* mln/core/trait/op_minus.hh: Remove; obsolete.
      	* mln/core/trait/op_uminus.hh: Remove.
      	* mln/core/trait/all.hh: Update.
      
      	
      	Misc.
      	
      	* mln/core/dpoint1d.hh: Layout.
      	* mln/core/point.hh: Sort includes.
      	* mln/core/h_vec.hh (FIXME): New.
      	* mln/core/image2d_b.hh: Sort includes.
      	* mln/trace/exiting.hh,
      	* mln/trace/entering.hh: Fix missing include.
      	* tests/t_image.cc: Rename as...
      	* tests/t_image.cxx: ...this; deactivate.
      	* TODO: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1236 4aad255d-cdde-0310-9447-f3009e2ae8c0
      dc9569a4
  2. 03 Oct, 2007 11 commits
  3. 02 Oct, 2007 10 commits
    • Nicolas Neri's avatar
      Fix for accumulator from point to vec<2, float>. · abb71c5a
      Nicolas Neri authored
      
      	* accu/sum.hh,
      	* core/point.hh,
      	* draw/mesh.hh,
      	* metal/vec.hh,
      	* trait/promote.hh,
      	* util/graph.hh,
      	* value/builtin.hh: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1224 4aad255d-cdde-0310-9447-f3009e2ae8c0
      abb71c5a
    • Nicolas Neri's avatar
      Add lebeling algo in sandbox. · 584109a6
      Nicolas Neri authored
      
      	* labeling_algo.cc: Test file.
      	* labeling_algo.hh: Convert a binary image into mesh_image.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1223 4aad255d-cdde-0310-9447-f3009e2ae8c0
      584109a6
    • Thierry Geraud's avatar
      Make the trait solver rely on category inheritance. · 90e0d7ac
      Thierry Geraud authored
      	Fix image_if related-classes.
      	
      	* mln/core/image_if.hh,
      	* mln/core/internal/image_if_base.hh,
      	* mln/core/image_if_value.hh: Fix.
      	* mln/labeling/estimate.hh: Update.
      	* tests/image_if_value.cc: New.
      
      	Make float01[_] work on float!
      	
      	* mln/value/float01_.hh,
      	* mln/value/float01.hh: Fix.
      
      	
      	Enhance the trait solver mechanism; now it can rely
      	on category inheritance :-)
      	
      	* mln/core/concept/image.hh,
      	* mln/core/concept/function.hh,
      	* mln/core/concept/meta_accumulator.hh,
      	* mln/core/concept/value_set.hh,
      	* mln/core/concept/weighted_window.hh,
      	* mln/core/concept/browsing.hh,
      	* mln/core/concept/dpoint.hh,
      	* mln/core/concept/object.hh,
      	* mln/core/concept/neighborhood.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/concept/value.hh,
      	* mln/core/concept/point_site.hh,
      	* mln/core/concept/accumulator.hh: Specialize the category flag.
      	(super): New in those specializations.
      
      	
      	Update.
      	
      	* tests/trait_op_uminus.cc: New.
      	* tests/core_category.cc: New.
      	* tests/trait_op_plus.cc: Augment.
      	* mln/trait/op_plus.hh (set_binary_): Set category.
      	* mln/trait/promote.hh: Likewise.
      	* mln/trait/op_uminus.hh: Likewise.
      	* mln/trait/solve.hh: Augment.
      	* mln/trait/all.hh: Typo.
      	* mln/core/category.hh (Unknown<void>): New.
      	(Built_In): Move into...
      	* mln/value/builtin.hh: ...this new file.
      	* mln/core/ops.hh: Include builtin.hh.
      
      
      	Misc.
      
      	* mln/core/internal/exact.hh: Remove useless param.
      	* mln/value/graylevel.hh: Fix.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1222 4aad255d-cdde-0310-9447-f3009e2ae8c0
      90e0d7ac
    • Matthieu Garrigues's avatar
      Better tests on float01. · c7d6efbc
      Matthieu Garrigues authored
      	* mln/value/float01.hh: Fix.
      	* mln/value/float01_.hh: Fix.
      	* tests/value_float01.cc: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1221 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c7d6efbc
    • Simon Nivault's avatar
      Refactoring of image_if. · 2c5c4273
      Simon Nivault authored
      	* mln/core/image_if.hh: For functions.
      	* mln/core/image_if_interval.hh: New, for interval.
      	* mln/core/image_if_value.hh: New, for values.
      	* mln/core/internal/image_if_base.hh: Abstraction of image_if.
      	* mln/trait/images.hh: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1220 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2c5c4273
    • Matthieu Garrigues's avatar
      My log. · 143e9c78
      Matthieu Garrigues authored
      
      	* sandbox/garrigues/log: List all my tasks in milena.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1219 4aad255d-cdde-0310-9447-f3009e2ae8c0
      143e9c78
    • Matthieu Garrigues's avatar
      Add float01 values. · e23f4286
      Matthieu Garrigues authored
       float01_<n> type is used to represent quantified
      	float numbers in the range [0..1].
      
      	* mln/value/float01.hh: New.
      	* mln/value/float01_.hh: New.
      	* mln/value/float01_16.hh: New.
      	* mln/value/float01_8.hh: New.
      	* tests/value_float01.cc: New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1218 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e23f4286
    • Nicolas Neri's avatar
      Add empty in queue_p. · 924c89b1
      Nicolas Neri authored
      
      	Update.
      	* queue_p.hh: Add empty.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1217 4aad255d-cdde-0310-9447-f3009e2ae8c0
      924c89b1
    • Simon Nivault's avatar
      Fix for compile. · 94f6328c
      Simon Nivault authored
      	* mln/metal/vec.hh: Fix definition of vprod to reflect declaration..
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1216 4aad255d-cdde-0310-9447-f3009e2ae8c0
      94f6328c
    • Thierry Geraud's avatar
      Improve the traits system. · af03299f
      Thierry Geraud authored
      	Improve the trait system.
      	
      	* mln/core/category.hh: New.
      	* mln/core/concept/image.hh,
      	* mln/core/concept/function.hh,
      	* mln/core/concept/meta_accumulator.hh,
      	* mln/core/concept/value_set.hh,
      	* mln/core/concept/weighted_window.hh,
      	* mln/core/concept/browsing.hh,
      	* mln/core/concept/dpoint.hh,
      	* mln/core/concept/point_set.hh,
      	* mln/core/concept/object.hh,
      	* mln/core/concept/neighborhood.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/concept/value.hh,
      	* mln/core/concept/point_site.hh,
      	* mln/core/concept/accumulator.hh (category): New.
      	* mln/trait/solve.hh: New.
      	* mln/core/trait/op_plus.hh: Rename as...
      	* mln/trait/op_plus.hh: ...this.
      	Update.
      	* mln/core/trait/promote.hh: Rename as...
      	* mln/trait/promote.hh: ...this.
      	Update.
      	* mln/core/trait/all.hh: Update.
      	* mln/trait/all.hh: New.
      	* mln/trait/op_minus.hh: New.
      	* mln/trait/op_uminus.hh: New.
      	* mln/trait/op_times.hh: New.
      	* tests/trait_op_plus.cc: New.
      	* mln/metal/binary_arith_trait.hh: Remove; obsolete.
      	* mln/value/props.hh: Update.
      	(vec, mat): Move to the file they belong to.
      
      	
      	Then use it.
      
      	* mln/core/ops.hh,
      	* mln/metal/mat.hh,
      	* mln/metal/vec.hh,
      	* mln/value/int_s.hh,
      	* mln/value/int_u.hh: Use traits.
      	Update.
      	* mln/arith/plus.hh: Add code to be activated.
      
      	
      	Disambiguation.
      	
      	* mln/trait/images.hh (fixme): Rename as...
      	(fixme_): ...this to avoid conflict with mln::internal::fixme.
      	* mln/pw/image.hh: Update.
      	* mln/border/mirror.hh,
      	* mln/border/resize.hh,
      	* mln/core/dpoints_piter.hh,
      	* mln/core/image1d_b.hh,
      	* mln/core/image2d_b.hh,
      	* mln/core/image3d_b.hh,
      	* mln/core/pset_if.hh,
      	* mln/core/pset_if_piter.hh: Fully name fixme.
      	* mln/border/fill.hh (fixme): Remove include.
      
      	
      	Misc.
      	
      	* mln/border/duplicate.hh: Fix typo.
      	* mln/metal/mat.hh (operator*=): Fix sig.
      	Fix params order.
      	* mln/value/rgb.hh (min, max): Remove, cause meaningless.
      	(operator-, operator+): Likewise.
      	(card_): Set to 0.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1215 4aad255d-cdde-0310-9447-f3009e2ae8c0
      af03299f
  4. 01 Oct, 2007 15 commits
    • Nicolas Neri's avatar
      Add algorithm for extend labeling (slow 3min for this test). · 1cd7044e
      Nicolas Neri authored
      
      	* labeling_algo.cc: New.
      	* labeling_algo.hh: New.
      
      	Update.
      	* graph_labeling.hh: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1214 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1cd7044e
    • Nicolas Neri's avatar
      Fix bug in mesh_image. · 7b9e19a4
      Nicolas Neri authored
      
      	* mesh_image.hh: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1213 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7b9e19a4
    • Nicolas Neri's avatar
      Add log file. · 039d4e38
      Nicolas Neri authored
      
      	* log.txt: New.
      
      	* graph_labeling.hh: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1212 4aad255d-cdde-0310-9447-f3009e2ae8c0
      039d4e38
    • Nicolas Neri's avatar
      Add image toto.pbm in img. · 5a49eb63
      Nicolas Neri authored
      	* toto.pbm: New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1211 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5a49eb63
    • Nicolas Neri's avatar
      Move border_fill and border_duplicate into mln/border. · 105893f1
      Nicolas Neri authored
      
      	* duplicate.hh: Update.
      	* fill.hh: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1210 4aad255d-cdde-0310-9447-f3009e2ae8c0
      105893f1
    • Nicolas Neri's avatar
      Move tests for border in tests. · 27883465
      Nicolas Neri authored
      
      	Tests for border fill.
      	* border_fill: New.
      	* border_fill/test_border_fill_image1d_1.cc: New.
      	* border_fill/test_border_fill_image1d_2.cc: New.
      	* border_fill/test_border_fill_image1d_3.cc: New.
      	* border_fill/test_border_fill_image1d_4.cc: New.
      	* border_fill/test_border_fill_image1d_5.cc: New.
      	* border_fill/test_border_fill_image2d_1.cc: New.
      	* border_fill/test_border_fill_image2d_2.cc: New.
      	* border_fill/test_border_fill_image2d_3.cc: New.
      	* border_fill/test_border_fill_image2d_4.cc: New.
      	* border_fill/test_border_fill_image3d_1.cc: New.
      	* border_fill/test_border_fill_image3d_2.cc: New.
      	* border_fill/test_border_fill_image3d_3.cc: New.
      	* border_fill/test_border_fill_image3d_4.cc: New.
      
      	Tests for border duplicate.
      	* border_duplicate: New.
      	* border_duplicate/test_border_duplicate_image1d_1.cc: New.
      	* border_duplicate/test_border_duplicate_image1d_2.cc: New.
      	* border_duplicate/test_border_duplicate_image1d_3.cc: New.
      	* border_duplicate/test_border_duplicate_image1d_4.cc: New.
      	* border_duplicate/test_border_duplicate_image1d_5.cc: New.
      	* border_duplicate/test_border_duplicate_image2d_1.cc: New.
      	* border_duplicate/test_border_duplicate_image2d_2.cc: New.
      	* border_duplicate/test_border_duplicate_image2d_3.cc: New.
      	* border_duplicate/test_border_duplicate_image2d_4.cc: New.
      	* border_duplicate/test_border_duplicate_image3d_1.cc: New.
      	* border_duplicate/test_border_duplicate_image3d_2.cc: New.
      	* border_duplicate/test_border_duplicate_image3d_3.cc: New.
      	* border_duplicate/test_border_duplicate_image3d_4.cc: New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1209 4aad255d-cdde-0310-9447-f3009e2ae8c0
      27883465
    • Simon Nivault's avatar
      Add Simon's abilities. · 9644ff9b
      Simon Nivault authored
      	* sandbox/nivault/log: New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1208 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9644ff9b
    • Nicolas Neri's avatar
      Add graph_labeling in sandbox. · 8041ed9d
      Nicolas Neri authored
      	* graph_labeling.hh: New make_graph : convert a labeled image
      	into mesh_p.
      	* graph_labeling.cc: New test for graph labeling.
      	* graph_labeling2.cc: New test for graph labeling.
      
      	Update
      	* draw_mesh.hh,
      	* graph.hh,
      	* main.cc,
      	* main_mesh_image.cc,
      	* mesh_p.hh: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1207 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8041ed9d
    • Simon Nivault's avatar
      Rename dirbrowsing and improve it. · cd8394a1
      Simon Nivault authored
      	* mln/canvas/dirbrowsing.hh: Rename as ...
      	* mln/canvas/browsing/directional.hh: ...this.
      	* mln/level/median.hh: Update.
      	* tests/canvas_browsing_fwd.cc: Update.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1206 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cd8394a1
    • Matthieu Garrigues's avatar
      Fix gray and traits. · a9782943
      Matthieu Garrigues authored
      
      	* mln/core/internal/image_morpher.hh: Remove debug.
      	* mln/pw/image.hh: Add value typedef to pw::image.
      	* mln/trait/images.hh: Fix.
      	* mln/value/gray.hh: Gray inherits now from Value.
      	* mln/value/graylevel.hh: Update data_kind typedef.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1205 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a9782943
    • Simon Nivault's avatar
      Fix conflit in call of pow. · 1bf55e0c
      Simon Nivault authored
      	* mln/value/quat.hh: Fix.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1204 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1bf55e0c
    • Matthieu Garrigues's avatar
      Add gray values. · b124a157
      Matthieu Garrigues authored
      
      	* mln/value/gray.hh: General gray-level class where n bits is not know
          	at compile-time.  This class is used for exchange between gray-level
          	types purpose.
      
      	* mln/value/graylevel.hh: Graylevel class on n bits.
      	* tests/value_gray.cc: Some tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1203 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b124a157
    • Thierry Geraud's avatar
      A lot of cleaning works. · 9fe9f7c2
      Thierry Geraud authored
      
      	Make the exact routines work with any data.
      
      	* mln/core/concept/object.hh (exact_t): New typedef.
      	* mln/core/internal/exact.hh: New.
      	* mln/core/exact.hh (exact): Update.
      	(exact): Remove overloads with const; useless.
      	* tests/core_exact.cc: New.
      
      	
      	Rename init as initialize.
      	
      	* mln/core/concept/image.hh (init): Rename as...
      	(initialize): ...this.
      	* tests/core_init.cc: Rename as...
      	* tests/core_initialize.cc: ...this.
      	Update.
      	* tests/image_if.cc,
      	* mln/core/clone.hh,
      	* mln/canvas/morpho/algebraic_union_find.hh,
      	* mln/canvas/labeling.hh: Update.
      
      	
      	Augment and clean mln/metal.
      	
      	* mln/metal/is_const.hh: New.
      	* mln/core/internal/image_morpher.hh: New include.
      	* mln/metal/goes_to.hh: New.
      	* mln/metal/converts_to.hh: New.
      	* mln/metal/is.hh: New.
      	* mln/metal/is_unqualif.hh: New.
      	* tests/metal_converts_to.cc: New.
      	* tests/metal_is.cc: New.
      	* tests/metal_unconst.cc: New.
      
      	* mln/metal/unqualif.hh: Add FIXME.
      	* mln/metal/unconst.hh: New overload.
      	Add FIXME.
      	* mln/metal/bool.hh (true_, false_): New aliases.
      	(eval, check): New in bool_<true>.
      	(eval, check_not): New in bool_<false>.
      	(to_bool): Remove.
      	* mln/metal/bexpr.hh (true_, false_): Remove; obsolete.
      	(mlc_not, mlc_and, mlc_or, mlc_xor): New.
      	* mln/metal/if.hh,
      	* mln/metal/all.hh,
      	* mln/metal/is_a.hh: Update.
      	* mln/fun/internal/selector.hh (tag_): Update.
      	* mln/value/props.hh (mln_is_lowq): Update.
      
      	* mln/metal/vec.hh: Fix missing inheritance.
      	Fix warning about missing cpy ctor.
      	* mln/metal/binary_arith_trait.hh: Add FIXME.
      	* tests/metal_vec.cc,
      	* tests/metal_mat.cc: Fix doc.
      
      
      	Start factoring the conversion op.
      	
      	* mln/accu/internal: New directory.
      	* mln/accu/internal/base.hh: New.
      	* mln/core/concept/accumulator.hh: Augment todo entry.
      	* mln/accu/median.hh: Update inheritance.
      	* mln/level/fast_median.hh (to_result): Remove; useless.
      
      	
      	Start trace mechanism.
      
      	* mln/trace: New directory.
      	* mln/trace/exiting.hh: New.
      	* mln/trace/quiet.hh: New.
      	* mln/trace/all.hh: New.
      	* mln/trace/entering.hh: New.
      	* tests/level_paste.cc: Add tracing calls.
      
      
      	Better browsing materials.
      
      	* mln/core/concept/browsing.hh: New.
      	* mln/canvas/browsing/fwd.hh: New.
      	* mln/canvas/browsing/snake_fwd.hh: Update.
      	* mln/fun/p2v/iota.hh: New.
      	* tests/canvas_browsing_fwd.cc: New.
      
      	
      	Better and update image traits.
      
      	* mln/trait/images.hh: New bunch of macros.
      	(category): New.
      	(io): Add new flag types.
      	(default_image_, default_image_morpher_): Clean.
      	Fix comments.
      
      	* mln/core/image2d_b.hh (image_): Move at bof.
      	* mln/core/image1d_b.hh,
      	* mln/core/image3d_b.hh,
      	* mln/core/image_if.hh,
      	* mln/pw/image.hh (image_): New traits.
      	* mln/core/sub_image.hh: Update traits.
      
      	* mln/level/fill.hh (todo): Augment.
      	(fill): Check input writability.
      	* mln/level/paste.hh,
      	* mln/morpho/plus.hh,
      	* mln/morpho/min.hh,
      	* mln/morpho/minus.hh,
      	* mln/morpho/complementation.hh,
      	* mln/morpho/dilation.hh,
      	* mln/morpho/erosion.hh,
      	* mln/morpho/hit_or_miss.hh: Update with trait flags.
      	* tests/level_fill.cc: Add into comments an anti-test.
      	* tests/trait_images.cc: Update.
      
      	
      	Introduce the notion of interval of values.
      	
      	* mln/value/interval.hh: New.
      	* mln/value/all.hh: Update.
      	* mln/core/image_if.hh: New overload using interval.
      
      	
      	Misc.
      	
      	* mln/border/get.hh: Fix warning.
      	* mln/core/macros.hh (mln_result_): New.
      	* mln/core/ops.hh: New todo entry.
      	* mln/fun/ops.hh: Shorter names.
      	* mln/util/nil.hh: New.
      	* mln/util/ignore.hh,
      	* mln/util/eat.hh: Fix missing inheritance.
      	* TODO: Augment.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1202 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9fe9f7c2
    • Nicolas Neri's avatar
      Fix graph. · 787f83df
      Nicolas Neri authored
      
      	* graph.hh: Change coherence in consistency.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1201 4aad255d-cdde-0310-9447-f3009e2ae8c0
      787f83df
    • Simon Nivault's avatar
      Add trait for operators * + -. · aa0f9318
      Simon Nivault authored
      	* mln/core/trait/mult.hh: Rename as...
      	* mln/core/trait/op_mult.hh: ...this.
      	* mln/core/trait/op_minus.hh: New.
      	* mln/core/trait/op_plus.hh: New.
      	* mln/core/trait/op_uminus.hh: New.
      	* mln/core/trait/all.hh: Include files above.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1200 4aad255d-cdde-0310-9447-f3009e2ae8c0
      aa0f9318
  5. 28 Sep, 2007 3 commits
    • Thierry Geraud's avatar
      Start the image traits mechanism. · 2dc8ecf5
      Thierry Geraud authored
      	
      	The big deal of image traits!
      	
      	* mln/trait/images.hh: Add contents.
      	* mln/core/concept/image.hh: Include above file.
      	* tests/trait_images.cc: New.
      
      	The "data kind" trait is updated.
      	
      	* mln/trait/kind.hh: New.
      	* mln/value/kind.hh: Remove; obsolete.
      	* mln/core/macros.hh (mln_value_kind): Move to...
      	* mln/value/props.hh: ...here.
      	(mln_kind): Remove; too ambiguous.
      	(<whatever>_kind): Update.
      	* mln/morpho/min.hh,
      	* mln/morpho/plus.hh,
      	* mln/morpho/minus.hh,
      	* mln/morpho/complementation.hh,
      	* mln/morpho/dilation.hh,
      	* mln/morpho/erosion.hh,
      	* mln/morpho/hit_or_miss.hh,
      	* mln/value/int_u_sat.hh,
      	* mln/value/rgb.hh,
      	* mln/value/rgb8_non_templated.hh,
      	* mln/value/int_s.hh,
      	* mln/value/int_u.hh,
      	* mln/value/label.hh: Update.
      
      	Then declare traits for a couple of classes.
      
      	* mln/core/image2d_b.hh,
      	* mln/core/sub_image.hh (image_): New trait.
      	
      	Misc.
      	
      	* mln/fun/x2x/translation.hh,
      	* mln/fun/x2x/rotation.hh: Change layout.
      	* mln/core/point.hh (point_to_): New in internal.
      	(operator vec): Use point_to_ to help g++-2.95.
      	* mln/metal/mat.hh (operator-): Fix sig.
      	(mult): New; just for the record.
      	Sort operators.
      	* mln/metal/bool.hh (to_bool): New; for completion.
      	* mln/metal/if.hh: Update.
      	* mln/metal/binary_arith_trait.hh: New overload.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1199 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2dc8ecf5
    • Nicolas Neri's avatar
      Add test for mesh image. · 807df861
      Nicolas Neri authored
      
      	* mesh_image.cc: New test for mesh image.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1198 4aad255d-cdde-0310-9447-f3009e2ae8c0
      807df861
    • Simon Nivault's avatar
      Add traits for multiply and promotions. · c1c7efda
      Simon Nivault authored
      
      	* mln/core/ops.hh: A + B -> B + A, Idem for *.
      	* mln/core/trait/mult.hh: New.
      	* mln/core/trait/promote.hh: New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1197 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c1c7efda