1. 04 Oct, 2007 12 commits
  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 7 commits