1. 02 Jul, 2007 2 commits
    • Roland Levillain's avatar
      Move Milena source files to mln/. · 7a6b43eb
      Roland Levillain authored
      	* mln/: New directory.
      	* border/, convert/, core/, debug/, io/, level/, morpho/, value/,
      	* README: Move...
      	* mln/border/, mln/convert/, mln/core/, mln/debug/,
      	* mln/io/, mln/level/, mln/morpho/, mln/value/:
      	* mln/README: ...here.
      	Adjust inclusion paths.
      	* tests/main.cc: Likewise.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@992 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7a6b43eb
    • Thierry Geraud's avatar
      Start milena documentation. · a4fc9eaa
      Thierry Geraud authored
      	* core/macros.hh,
      	* core/concept/genpoint.hh,
      	* core/concept/psite.hh,
      	* core/concept/object.hh,
      	* core/concept/point.hh,
      	* core/ops.hh,
      	* core/exact.hh: Add some documentation.
      	* core/concept/doc: New.
      	* core/concept/doc/genpoint.hh: New.
      	* mlc/equal.hh: Remove include.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@991 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a4fc9eaa
  2. 29 Jun, 2007 3 commits
  3. 28 Jun, 2007 5 commits
    • Thierry Geraud's avatar
      Update milena. · 5822157c
      Thierry Geraud authored
      	* olena/oln/morpho/Rd/union_find.hh: Update.
      	* milena/test/main.cc: Use Rd.
      	* milena/morpho/Rd.hh: New.
      	* milena/level/fill.hh: Add assertions.
      	* milena/level/compare.hh: New.
      	* milena/level/paste.hh: New.
      	* milena/core/macros.hh (mln_ch_value): New.
      	* milena/core/concept/image.hh: Update.
      	* milena/core/image2d.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@987 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5822157c
    • Thierry Geraud's avatar
      Add milena neighborhood. · 2acea521
      Thierry Geraud authored
      	* milena/test/main.cc: Update.
      	* milena/core/neighb2d.hh: New.
      	* milena/core/neighb.hh: New.
      	* milena/core/concept/neighborhood.hh: New.
      	* milena/core/dpoints_qiter.hh: Rename as...
      	* milena/core/dpoints_piter.hh: ...this.
      	* milena/core/internal/set_of.hh (operator<<): New;
      	factor code.
      	* milena/core/rectangle2d.hh: Update.
      	* milena/core/window.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@986 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2acea521
    • Thierry Geraud's avatar
      Update milena. · 3318bef3
      Thierry Geraud authored
      	* milena/test/main.cc: Use erosion.
      	* milena/debug/println.hh: Remove version with win.
      	Add a facade.
      	New 2D version.
      	* milena/level/fill.hh: Add overloads.
      	* milena/core/concept/point_set.hh (npoints): New.
      	* milena/core/concept/box.hh (npoints): New.
      	* milena/core/image2d.hh (operator=): New.
      	(image2d): New cpy ctor.
      	* milena/value/props.hh: Extend.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@985 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3318bef3
    • Thierry Geraud's avatar
      Change oln_ into mln_. · d472ddd8
      Thierry Geraud authored
      	* milena/morpho/erosion.hh: New.
      	* milena/io: New.
      	* milena/value/props.hh: New.
      	* milena/border: New.
      
      	* milena/test/main.cc,
      	* milena/debug/println.hh,
      	* milena/level/fill.hh,
      	* milena/core/dpoints_qiter.hh,
      	* milena/core/macros.hh,
      	* milena/core/box_piter.hh,
      	* milena/core/concept/image.hh,
      	* milena/core/concept/genpoint.hh,
      	* milena/core/concept/piter.hh,
      	* milena/core/concept/point_set.hh,
      	* milena/core/concept/window.hh,
      	* milena/core/concept/box.hh,
      	* milena/core/concept/point.hh,
      	* milena/core/concept/dpoint.hh,
      	* milena/core/internal/image_adaptor.hh,
      	* milena/core/internal/image_base.hh,
      	* milena/core/safe_image.hh,
      	* milena/mlc/same_point.hh: Change oln_ into mln_.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@984 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d472ddd8
    • Thierry Geraud's avatar
      Introducing mini-olena (milena). · 826ea0ea
      Thierry Geraud authored
      	* milena: New.
      	* milena/test: New.
      	* milena/test/main.cc: New.
      	* milena/convert: New.
      	* milena/morpho: New.
      	* milena/debug: New.
      	* milena/debug/println.hh: New.
      	* milena/level: New.
      	* milena/level/fill.hh: New.
      	* milena/core: New.
      	* milena/core/dpoint2d.hh: New.
      	* milena/core/window2d.cc: New.
      	* milena/core/macros.hh: New.
      	* milena/core/dpoints_qiter.hh: New.
      	* milena/core/window2d_qiter.cc: New.
      	* milena/core/box.hh: New.
      	* milena/core/point.hh: New.
      	* milena/core/rectangle2d.hh: New.
      	* milena/core/box_piter.hh: New.
      	* milena/core/dpoint.hh: New.
      	* milena/core/concept: New.
      	* milena/core/concept/image.hh: New.
      	* milena/core/concept/genpoint.hh: New.
      	* milena/core/concept/piter.hh: New.
      	* milena/core/concept/point_set.hh: New.
      	* milena/core/concept/psite.hh: New.
      	* milena/core/concept/object.hh: New.
      	* milena/core/concept/window.hh: New.
      	* milena/core/concept/box.hh: New.
      	* milena/core/concept/iterator.hh: New.
      	* milena/core/concept/point.hh: New.
      	* milena/core/concept/dpoint.hh: New.
      	* milena/core/window2d.hh: New.
      	* milena/core/ops.hh: New.
      	* milena/core/exact.hh: New.
      	* milena/core/window.hh: New.
      	* milena/core/image2d.hh: New.
      	* milena/core/vec.hh: New.
      	* milena/core/internal: New.
      	* milena/core/internal/coord_impl.hh: New.
      	* milena/core/internal/image_adaptor.hh: New.
      	* milena/core/internal/image_base.hh: New.
      	* milena/core/internal/set_of.hh: New.
      	* milena/core/box2d.hh: New.
      	* milena/core/point2d.hh: New.
      	* milena/core/safe_image.hh: New.
      	* milena/mlc: New.
      	* milena/mlc/equal.hh: New.
      	* milena/mlc/same_point.hh: New.
      	* milena/value: New.
      	* milena/README: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@983 4aad255d-cdde-0310-9447-f3009e2ae8c0
      826ea0ea
  4. 19 Jun, 2007 1 commit
    • Nicolas Ballas's avatar
      change fiter name to pixter, and index name to offset in Fast_image concept. · 66f89282
      Nicolas Ballas authored
      	* tests/core/fiter_point1d.cc,
      	* tests/core/fiter_point2d.cc,
      	* tests/core/fiter_point1d_b.cc,
      	* tests/core/fiter_point3d.cc,
      	* tests/core/fiter_point2d_b.cc,
      	* tests/core/fiter_point3d_b.cc,
      	* tests/core/fast_image2d.cc,
      	* tests/core/fast_image2d_b.cc,
      	* tests/core/fast_image3d.cc,
      	* tests/core/fast_image3d_b.cc,
      	* oln/core/1d/image1d.hh,
      	* oln/core/1d/image1d_b.hh,
      	* oln/core/2d/image2d.hh,
      	* oln/core/2d/image2d_b.hh,
      	* oln/core/equipment.hh,
      	* oln/core/3d/image3d.hh,
      	* oln/core/3d/image3d_b.hh,
      	* oln/core/concept/image.hh,
      	* oln/core/concept/image_identity.hh,
      	* oln/core/internal/image_selectors.hh: Change types name.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@982 4aad255d-cdde-0310-9447-f3009e2ae8c0
      66f89282
  5. 16 Jun, 2007 1 commit
    • Nicolas Ballas's avatar
      Adapt image1d, image2d, image3d to the Fast_image concept. · 7e0c20fe
      Nicolas Ballas authored
      	* tests/core/fiter_point1d_b.cc,
      	* tests/core/fiter_point2d_b.cc: Update tests.
      	* tests/core/fast_image2d.cc,
      	* tests/core/fast_image2d_b.cc,
      	* tests/core/fast_image3d.cc,
      	* tests/core/fast_image3d_b.cc: New tests.
      	* tests/core/Makefile.am: Update.
      	* oln/core/1d/image1d.hh,
      	* oln/core/1d/image1d_b.hh,
      	* oln/core/2d/image2d.hh,
      	* oln/core/2d/image2d_b.hh,
      	* oln/core/3d/image3d.hh,
      	* oln/core/3d/image3d_b.hh: Adapt image classes to fast image concept.
      	* oln/core/1d/fast_iterator_1d.hh,
      	* oln/core/1d/fast_iterator_1d_b.hh,
      	* oln/core/2d/fast_iterator_2d.hh,
      	* oln/core/2d/fast_iterator_2d_b.hh,
      	* oln/core/3d/fast_iterator_3d.hh,
      	* oln/core/3d/fast_iterator_3d_b.hh: Depend on image interface.
      	* oln/core/concept/image.hh: .
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@981 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7e0c20fe
  6. 15 Jun, 2007 1 commit
  7. 25 May, 2007 2 commits
    • Ugo Jardonnet's avatar
      Fix wrong type in cc_tarjan versions. · 15a9e24b
      Ugo Jardonnet authored
      	* oln/core/gen/neighb.hh: .
      	* oln/morpho/cc_tarjan_v0.hh: .
      	* oln/morpho/cc_tarjan_v2.hh: .
      	* oln/morpho/cc_tarjan_v4.hh: .
      	* oln/morpho/cc_tarjan_v1.hh: .
      	* oln/morpho/cc_tarjan_v3.hh: .
      	* oln/canvas/queue_based.hh: .
      	* oln/canvas/sequential.hh: .
      	* oln/canvas/parallel.hh: .
      	* oln/canvas/two_pass_until_stability.hh: .
      	* oln/canvas/two_pass.hh: .
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@979 4aad255d-cdde-0310-9447-f3009e2ae8c0
      15a9e24b
    • Thierry Geraud's avatar
      Add raw code for morphological reconstruction by d. · f54cdd15
      Thierry Geraud authored
      	* oln/morpho/Rd: New directory.
      	* oln/morpho/Rd/hybrid.hh,
      	* oln/morpho/Rd/queue_based.hh,
      	* oln/morpho/Rd/parallel.cc,
      	* oln/morpho/Rd/hybrid.cc,
      	* oln/morpho/Rd/union_find.hh,
      	* oln/morpho/Rd/queue_based.cc,
      	* oln/morpho/Rd/sequential.hh,
      	* oln/morpho/Rd/debase.union_find.hh,
      	* oln/morpho/Rd/parallel.hh,
      	* oln/morpho/Rd/diff.cc,
      	* oln/morpho/Rd/union_find.cc,
      	* oln/morpho/Rd/sequential.cc,
      	* oln/morpho/Rd/utils.hh,
      	* oln/io/save_pgm.hh,
      	* oln/io/load_pgm.hh: New.
      	* oln/debug/format.hh: Update.
      	* oln/core/gen/neighb.hh (niter): New associated type.
      	* oln/level/fill.hh (iterator): Add include.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@978 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f54cdd15
  8. 14 May, 2007 1 commit
    • Ugo Jardonnet's avatar
      Add dOrnellas morphological canvas + Reconstruction. · 6e105756
      Ugo Jardonnet authored
      	* oln/morpho/binary_reconstruction_v0.hh: Remove useless code.
      	* oln/morpho/binary_reconstruction_v2.hh: Impl with canvas reconstruction.
      	* oln/morpho/cc_tarjan_v1.hh: Minor modification.
      	* oln/morpho/binary_reconstruction_v1.hh: Draft sequential canvas.
      	* oln/morpho/cc_tarjan_v3.hh: cc with auxiliary data canvas.
      	* oln/level/apply_local.hh: whitespaces.
      	* oln/canvas/reconstruction.hh: Canvas reconstruction.
      	* oln/canvas/queue_based.hh: dOrnellas canvas.
      	* oln/canvas/sequential.hh: dOrnellas canvas.
      	* oln/canvas/parallel.hh: dOrnellas canvas.
      	* oln/canvas/two_pass_until_stability.hh: Fix.
      	* oln/canvas/two_pass.hh: Remove useless code.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@977 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6e105756
  9. 11 May, 2007 1 commit
  10. 04 May, 2007 1 commit
  11. 02 May, 2007 1 commit
    • Thierry Geraud's avatar
      Add materials for value types and builtins. · 4ffebd19
      Thierry Geraud authored
      	* oln/core/internal/f_grid_coord_to_point.hh: New.
      	* oln/core/internal/macros_ops.hh: New.
      	* oln/core/internal/value_base.hh: New.
      	* oln/morpho/thinning.hh: New.
      	* oln/value/gray_level.hh: New.
      	* oln/value/bool.hh: New.
      	* oln/value/gray.hh: New.
      	* oln/value/black.hh: New.
      	* oln/value/mlc_extra.hh: New.
      	* oln/core/2d/image2d_b.hh (fiter): Update.
      	* oln/core/3d/image3d_b.hh: Likewise.
      	* oln/core/equipment.hh (encoding, fiter, nbits): New.
      	* oln/core/gen/extended_by.hh: Add mutable nbh version.
      	* oln/core/gen/inplace.hh: New error type.
      	* oln/core/gen/value.hh (unwrap): New.
      	(make_value): New overload.
      	* oln/core/gen/zero.hh: Replace operators by...
      	(assignment_): New.
      	* oln/core/concept/literal.hh (operator T): New.
      	* oln/core/concept/dpoint.hh (operator%=): Fix and factor.
      	* oln/core/internal/dpoint_base.hh (impl_op_mod_equal_): Remove.
      	* oln/core/concept/value.hh (Boolean): Remove.
      	* oln/core/concept/operators.hh: Handle builtins.
      	* oln/morpho/elementary_gradient.hh (postcondition): Update.
      	* oln/morpho/top_hat_black.hh,
      	* oln/morpho/top_hat_white.hh,
      	* oln/morpho/elementary_gradient_internal.hh,
      	* oln/morpho/elementary_gradient_external.hh,
      	* oln/morpho/gradient_internal.hh,
      	* oln/morpho/gradient.hh,
      	* oln/morpho/gradient_external.hh: Likewise.
      	* oln/arith/plus.hh,
      	* oln/arith/minus.hh,
      	* oln/level/local_sup.hh,
      	* oln/level/fill.hh,
      	* oln/level/local_inf.hh,
      	* oln/value/builtin_traits.hh,
      	* oln/value/builtin.hh: Update.
      	* oln/level/compare.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@974 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4ffebd19
  12. 30 Apr, 2007 1 commit
    • Ugo Jardonnet's avatar
      Canvas : Add union-find, two_pass version. Fix reconstruction. · 4aea7242
      Ugo Jardonnet authored
      	* oln/core/internal/point_impl.hh: Whitespaces.
      	* oln/morpho/binary_reconstruction_v0.hh: Procedure version.
      	* oln/morpho/fast_binary_reconstruction.hh: Fast hybrid version.
      	* oln/morpho/reconstruction.hh: removed.
      	* oln/morpho/binary_reconstruction.hh: Removed.
      	* oln/morpho/binary_reconstruction_v1.hh: Canvas version.
      	* oln/level/local_sup.hh: Fixed.
      	* oln/level/local_inf.hh: Fixed.
      	* oln/canvas/union_find.hh: New.
      	* oln/canvas/two_pass.hh: New version (v4) with inheritens.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@973 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4aea7242
  13. 27 Apr, 2007 2 commits
    • Nicolas Ballas's avatar
      fast iterator on image3b_b. · 24dbefa4
      Nicolas Ballas authored
      	* tests/core/fiter_point2d_b.cc: update test.
      	* tests/core/fiter_point3d_b.cc: New test.
      	* tests/core/Makefile.am: Update.
      	* oln/core/2d/fast_iterator_2d.hh,
      	* oln/core/2d/fast_iterator_2d_b.hh,
      	* oln/core/3d/fast_iterator_3d.hh: clean code.
      	* oln/core/3d/image3d_b.hh: add method to get the image array.
      	* oln/core/3d/fast_iterator_3d_b.hh: New fast iterator.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@972 4aad255d-cdde-0310-9447-f3009e2ae8c0
      24dbefa4
    • Thierry Geraud's avatar
      Augment morphology. · fecb7aa7
      Thierry Geraud authored
      	* oln/core/gen/ternary_fun.hh: New.
      	* oln/logic: New directory.
      	* oln/logic/and.hh,
      	* oln/logic/not.hh,
      	* oln/morpho/hit_or_miss_all.hh,
      	* oln/morpho/hit_or_miss.hh,
      	* oln/morpho/hit_or_miss_background_closing.hh,
      	* oln/morpho/hit_or_miss_background_opening.hh,
      	* oln/morpho/hit_or_miss_closing.hh,
      	* oln/morpho/complementation.hh,
      	* oln/morpho/hit_or_miss_opening.hh,
      	* oln/level/ternary.hh,
      	* oln/arith/min.hh,
      	* oln/arith/negate.hh: New.
      	* oln/convert/to_window.hh
      	(to_window_values_, fill_): New in internal.
      	(to_window): New overload.
      	* oln/convert/to_weighted_window.hh: Update.
      	* oln/core/gen/dpoints_piter.hh
      	(dpoints_fwd_piter_, dpoints_bkd_piter_): New ctor overloads.
      	* oln/core/gen/window.hh (impl_fill_with): New.
      	* oln/core/gen/pw_value.hh (pw_value_base_): New.
      	(pw_value): Make inheritance flexible. 
      	* oln/core/concept/window.hh (is_centered): New.
      	* oln/core/internal/window.hh (impl_is_centered): New.
      	* oln/core/internal/dpoints_impl.hh: Fix.
      	* oln/morpho/cc_tarjan_v1.hh (cc_tarjan): New facade.
      	* oln/morpho/cc_tarjan_v2.hh: Fix.
      	* oln/morpho/erosion.hh (postcondition): Fix.
      	* oln/morpho/dilation.hh (postcondition): Fix.
      	* oln/level/apply.hh: Cosmetic change.
      	* oln/canvas/two_pass.hh: Fix.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@971 4aad255d-cdde-0310-9447-f3009e2ae8c0
      fecb7aa7
  14. 26 Apr, 2007 5 commits
    • Ugo Jardonnet's avatar
      cc-tarjan(two_pass) : Fix + Comparative statement : v0, v1, v2. · 9435fc08
      Ugo Jardonnet authored
      	* tests/algorithms/cc_tarjan_v2.cc: New.
      	* tests/algorithms/Makefile.am: .
      	* tests/algorithms/cc_tarjan_v0.cc: New.
      	* tests/algorithms/cc_tarjan_v1.cc: New.
      	* oln/core/concept/point.hh: .
      	* oln/morpho/cc_tarjan_v1.hh: .
      	* oln/morpho/cc_tarjan_v2.hh: .
      	* oln/morpho/cc_tarjan_v4.hh: .
      	* oln/canvas/two_pass.hh: .
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@970 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9435fc08
    • Thierry Geraud's avatar
      Introduce zero and update some traits and ops. · 32087c69
      Thierry Geraud authored
      	* oln/convert/to_dpoint.hh: New.
      	* oln/core/gen/zero.hh: New.
      	* oln/core/concept/literal.hh: New.
      	* tests/core/pw_value.cc,
      	* oln/core/gen/over.hh,
      	* oln/convert/to_weighted_window.hh,
      	* oln/draw/bresenham.hh,
      	* oln/morpho/elementary_gradient.hh,
      	* oln/morpho/elementary_gradient_external.hh,
      	* oln/morpho/gradient_internal.hh,
      	* oln/morpho/top_hat_black.hh,
      	* oln/morpho/gradient.hh,
      	* oln/morpho/top_hat_white.hh,
      	* oln/morpho/gradient_external.hh,
      	* oln/morpho/elementary_gradient_internal.hh,
      	* oln/level/compare.hh,
      	* oln/linear/convolution.hh,
      	* oln/linear/mean.hh: Update.
      	* oln/core/gen/traits.hh
      	(oln_internal_specialize_un_trait_T_): New.
      	(clean_for_trait_): New specializations.
      	* oln/core/gen/value.hh (set_trait_): Remove.
      	* oln/core/gen/such_as.hh: Add reminder.
      	* oln/core/concept/iterator_on_points.hh
      	(set_trait_): New specializations.
      	* oln/core/concept/point.hh (assign_): New.
      	(operator): Fix.
      	* oln/core/concept/dpoint.hh: Likewise.
      	* oln/core/concept/window.hh (op_unary_minus_): Change into...
      	(operator-): ...this.
      	* oln/core/concept/operators.hh: Fix.
      	* oln/core/internal/dpoint_base.hh
      	(impl_op_equal_),
      	(impl_op_mod_equal_),
      	(impl_op_less_),
      	(impl_op_plus_equal_),
      	(impl_op_minus_equal_),
      	(impl_op_mod_equal_),
      	(impl_op_unary_minus_): Rmove; obsolete.
      	* oln/value/builtin.hh (super_trait_): New ones.
      	* oln/value/builtin_traits.hh (set_trait_): New one.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@969 4aad255d-cdde-0310-9447-f3009e2ae8c0
      32087c69
    • Thierry Geraud's avatar
      Cleanup ChangeLog. · 9ce350c0
      Thierry Geraud authored
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@968 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9ce350c0
    • Thierry Geraud's avatar
      Cleanup ChangeLog. · 8187d4c1
      Thierry Geraud authored
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@967 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8187d4c1
    • Thierry Geraud's avatar
      Better oln operators mechanism. · 06230818
      Thierry Geraud authored
      	* oln/core/gen/literal.hh: Rename as...
      	* oln/core/gen/constant.hh: ...this.
      	(lit_p2v_, lit_p2b_): Rename as...
      	(constant_p2v_, constant_p2b_): ...these.
      	(literal_): Remove.
      	* oln/core/gen/value.hh: New.
      	* oln/core/gen/traits.hh
      	(oln_not_trait, not_id),
      	(set_utrait_, get_utrait_),
      	(uminus_id, plus_equal_id, minus_equal_id, modulus_equal_id):
      	New.
      	* oln/core/gen/fun_ops.hh
      	(oln_decl_p2v_cmp_),
      	(oln_decl_p2v_arith_),
      	(oln_decl_p2b_bin_): Merge into...
      	(oln_decl_binary_fun_): ...this new macro.
      	(oln_decl_p2v_un_),
      	(oln_decl_p2b_un_): Merge into...
      	(oln_decl_unary_fun_): ...this new macro.
      	(oln_decl_binary_op_),
      	(oln_decl_binary_op_p2v_),
      	(oln_decl_builtin_op_),
      	(oln_decl_unary_op_): New.
      	* oln/core/concept/iterator_on_points.hh (set_trait_): New.
      	* oln/core/concept/function.hh
      	(Function_p2v): Change inheritance to Function_v2v.
      	(Function_p2b): Change inheritance to Function_p2v.
      	(Function_p2p): Change inheritance to Function_p2v.
      	(Function_v2w2v): New commentary.
      	* oln/core/concept/point.hh
      	(op_equal_, op_less_, op_plus_equal_): Remove.
      	(op_minus_equal_, op_minus_): Remove.
      	(operator): New.
      	* oln/core/concept/dpoint.hh: Likewise.
      	* oln/core/concept/operators.hh: Rewrite.
      	* oln/value/builtin_traits.hh
      	(set_trait_, set_utrait_): New specializations.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@966 4aad255d-cdde-0310-9447-f3009e2ae8c0
      06230818
  15. 25 Apr, 2007 5 commits
    • Nicolas Ballas's avatar
      Add fast iterator for image with border in 1d or 2d. · b1144854
      Nicolas Ballas authored
      	* olena/tests/core/fiter_point1d_b.cc,
      	* olena/tests/core/fiter_point2d_b.cc: New test.
      	* olena/tests/core/Makefile.am: Update.
      	* olena/oln/core/1d/fast_iterator_1d_b.hh: 
      	 New fast_iterator for image1d_b.
      	
      	* olena/oln/core/2d/fast_iterator_2d_b.hh: 
      	New fast_iterator for image1d_b.
      	
      	* olena/oln/core/1d/fast_iterator_1d.hh,
      	* olena/oln/core/2d/fast_iterator_2d.hh,
      	* olena/oln/core/3d/fast_iterator_3d.hh: factorizing some codes 
      	* olena/oln/core/1d/image1d_b.hh, 
      	* olena/oln/core/2d/image2d_b.hh: add method to get the
      	array associated with the image.
      	
      	* olena/oln/core/1d/image1d.hh,
      	* olena/oln/core/2d/image2d.hh,
      	* olena/oln/core/3d/image3d.hh: Change fiter type.
      	* olena/oln/core/concept/fast_iterator.hh: factorizing some codes.
      	* olena/oln/core/internal/fast_iterator_base.hh: New base class
      	for fast iterator based on image with array.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@965 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b1144854
    • Ugo Jardonnet's avatar
      Fix cc_tarjan alorithms (4 versions). · a3d48fc4
      Ugo Jardonnet authored
      	* oln/morpho/union_find.hh: Remove.
      	* oln/morpho/cc_tarjan_v0.hh: New.
      	* oln/morpho/cc_tarjan_v1.hh: New.
      	* oln/morpho/cc_tarjan_v2.hh: New.
      	* oln/morpho/cc_tarjan_v3.hh: New.
      	* oln/morpho/cc_tarjan_v4.hh: New.
      	* oln/morpho/union_find_v2.hh: Remove.
      	* oln/morpho/union_find_procedure.hh: Remove.
      	* oln/morpho/union_find_v3.hh: Remove.
      	* oln/morpho/union_find_v4.hh: Remove.
      	* oln/canvas/two_pass.hh: .
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@964 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a3d48fc4
    • Ugo Jardonnet's avatar
      Implementations for each canvas propositions. · 56f3fa14
      Ugo Jardonnet authored
      	* oln/morpho/cc_tarjan.hh: Rename union_find_procedure.
      	* oln/morpho/union_find.hh: Update.
      	* oln/morpho/union_find_v2.hh: New.
      	* oln/morpho/union_find_procedure.hh: New.
      	* oln/morpho/union_find_v3.hh: New.
      	* oln/morpho/union_find_v4.hh: New.
      	* oln/canvas/two_pass.hh: update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@963 4aad255d-cdde-0310-9447-f3009e2ae8c0
      56f3fa14
    • Thierry Geraud's avatar
      Add metalic unconst. · 63a8394d
      Thierry Geraud authored
      	* mlc/unconst.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@962 4aad255d-cdde-0310-9447-f3009e2ae8c0
      63a8394d
    • Thierry Geraud's avatar
      Replace 'to_point' method by internal routine. · 9aa010d4
      Thierry Geraud authored
      	* oln/core/concept/iterator_on_points.hh (to_point): Remove method.
      	(to_point): New internal routine.
      	* oln/core/concept/point.hh: Likewise.
      	* oln/convert/to_weighted_window.hh,
      	* oln/debug/print.hh,
      	* oln/core/gen/traits.hh,
      	* oln/core/gen/sparse_encode.hh,
      	* oln/core/gen/pset_compare.hh,
      	* oln/core/gen/rle_encode.hh,
      	* oln/core/internal/box.hh,
      	* oln/core/internal/dpoints_piter_impl.hh,
      	* oln/core/internal/encoded_image_psite.hh,
      	* oln/core/internal/point_set_std_based.hh,
      	* oln/core/internal/piter_adaptor.hh,
      	* oln/core/internal/encoded_image_pset.hh,
      	* oln/core/internal/iterator_on_points_impl.hh,
      	* oln/linear/convolution.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@961 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9aa010d4
  16. 24 Apr, 2007 6 commits
    • Nicolas Ballas's avatar
      fast iterator for image 2d and 3d. · f589aa4f
      Nicolas Ballas authored
      	* tests/core/fiter_point1d.cc: Update test.
      	* tests/core/fiter_point2d.cc:,
      	* tests/core/fiter_point3d.cc: New test.
      	* tests/core/Makefile.am: Update.
      	* oln/core/1d/fast_iterator_1d.hh: remove a useless include.
      	* oln/core/2d/fast_iterator_2d.hh,
      	* oln/core/3d/fast_iterator_3d.hh: New fast iterator
      	* oln/core/2d/image2d.hh,
      	* oln/core/3d/image3d.hh: add fast iterator on the image 
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@960 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f589aa4f
    • Nicolas Ballas's avatar
      fast_iterator for image1d. · fb2aaa4d
      Nicolas Ballas authored
      	* tests/core/fiter_point1d.cc: New test.
      	* tests/core/3dtorle.cc: Update test (it was too long).
      	* tests/core/Makefile.am: Update.
      	* oln/core/1d/image1d.hh: new fiter type.
      	* oln/core/1d/fast_iterator_1d.hh: New, fast iterator for image 1d.
      	* oln/core/concept/fast_iterator.hh: New concept (operator* for fast iterators).
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@959 4aad255d-cdde-0310-9447-f3009e2ae8c0
      fb2aaa4d
    • Thierry Geraud's avatar
      Add some linear filters and update. · b008bce1
      Thierry Geraud authored
      	* oln/convert/to_weighted_window.hh,
      	* oln/core/1d/weighted_window1d.hh,
      	* oln/core/3d/weighted_window3d.hh,
      	* oln/linear/log_5x5.hh,
      	* oln/linear/laplacian_8_cross.hh,
      	* oln/linear/laplacian.hh,
      	* oln/linear/log_7x7.hh,
      	* oln/linear/laplacian_4.hh,
      	* oln/linear/log_17x17.hh,
      	* oln/linear/laplacian_8.hh,
      	* oln/linear/log_13x13.hh,
      	* oln/linear/sharpen.hh,
      	* oln/linear/mean.hh,
      	* oln/linear/mexican_hat.hh: New.
      	* tests/core/window2d.cc: Update.
      	* tests/core/3dtorle.cc: Fix.
      	* tests/core/neighb2d.cc: Update.
      	* oln/core/2d/weighted_window2d.hh: Update.
      	* oln/core/concept/point.hh (check__): Remove.
      	* oln/core/concept/dpoint.hh (check__): Remove.
      	* oln/core/concept/window.hh (size): New.
      	* oln/core/internal/dpoint_base.hh
      	(impl_op_plus_equal_),
      	(impl_op_minus_equal_),
      	(impl_op_minus_): Disambiguate.
      	* oln/core/internal/f_weighted_window.hh: Update.
      	* oln/core/internal/dpoints_impl.hh (size): Rename as...
      	(impl_size): ...this.
      	* oln/morpho/cc_tarjan.hh: Update.
      	* oln/linear/convolution.hh: Cosmetic change.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@958 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b008bce1
    • Thierry Geraud's avatar
      Cleanup ChangeLog. · 58d4370d
      Thierry Geraud authored
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@957 4aad255d-cdde-0310-9447-f3009e2ae8c0
      58d4370d
    • Thierry Geraud's avatar
      Cleanup ChangeLog. · d31b8431
      Thierry Geraud authored
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@956 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d31b8431
    • Thierry Geraud's avatar
      Add weighted window equipment and convolution. · b69be5f8
      Thierry Geraud authored
      	* oln/core/2d/weighted_window2d.hh,
      	* oln/core/gen/weighted_window.hh,
      	* oln/core/concept/weighted_window.hh,
      	* oln/core/internal/weighted_window.hh,
      	* oln/core/internal/f_weighted_window.hh,
      	* oln/core/internal/weighted_window_base.hh,
      	* oln/core/internal/weighted_dpoints_impl.hh: New.
      	* oln/linear: New directory.
      	* oln/linear/convolution.hh,
      	* oln/linear/lap_4.hh: New.
      	* doc/tour/tour3.cc: Activate code.
      	* oln/debug/fill.hh (n): New parameter.
      	* oln/core/2d/image2d.hh (image2d): New ctor overload.
      	* oln/core/equipment.hh (weight): New vtype.
      	* oln/core/concept/image.hh: Add commentary.
      	* oln/core/internal/window_base.hh (category): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@955 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b69be5f8
  17. 23 Apr, 2007 2 commits
    • Nicolas Ballas's avatar
      fix a bug on rle_encode, add a test. · 426f56bd
      Nicolas Ballas authored
      	* olena/tests/core/3dtorle.cc: New test.
      	* olena/tests/core/rle_image.cc: Update test.
      	* olena/tests/core/Makefile.am: Update.
      	* olena/oln/core/gen/rle_image.hh,
      	* olena/oln/core/gen/rle_encode.hh: fix a bug.
      	* olena/oln/core/concept/iterator_on_values.hh: change vit.to_point() to vit.to_value().
      	* olena/oln/core/internal/encoded_image.hh: small modifications.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@954 4aad255d-cdde-0310-9447-f3009e2ae8c0
      426f56bd
    • Thierry Geraud's avatar
      Add tour3.cc and update. · 222a0ce8
      Thierry Geraud authored
      	* doc/tour/tour3.cc: New.
      	* oln/convert: New directory.
      	* oln/convert/to_window.hh: New.
      	* oln/core/internal/f_grid_to_window.hh: New.
      	* oln/core/internal/f_image_to_window.hh: New.
      	* doc/tour/tour2.cc: Add some text.
      	* doc/tour/tour1_extra.cc (include): Fix missing.
      	(at): Update.
      	* doc/tour/tour1.cc: Change a word.
      	* oln/debug/fill.hh (fill_): New.
      	(fill): Update.
      	* oln/debug/print.hh (format): Move into...
      	* oln/debug/format.hh: ...this new file.
      	* oln/core/1d/window1d.hh: Fix.
      	* oln/core/1d/image1d.hh,
      	* oln/core/2d/image2d_b.hh,
      	* oln/core/3d/image3d.hh (init_): New.
      	* oln/core/gen/torus_pset.hh (operator Ps): New.
      	(torus_pset): Fix ctor.
      	* oln/core/gen/niter_has.hh: Update.
      	* oln/core/gen/fun_ops.hh (oln_decl_p2v_cmp_): New overload.
      	* oln/core/concept/image.hh (dpoint): New in Image.
      	* oln/core/internal/box.hh: Add static check.
      	* oln/core/internal/op_image_extended_by_nbh.hh (operator I): New.
      	* oln/core/internal/point_base.hh (point_base_): New ctor overload;
      	decl only.
      	* oln/core/internal/op_pset_such_as_fp2b.hh
      	(pset_such_as_fp2b_fwd_piter_),
      	(pset_such_as_fp2b_bkd_piter_): New ctor overload.
      	* oln/core/internal/iterator_on_points_impl.hh
      	(iterator_on_points_impl_base_): New.
      	(vec): New.
      	* oln/core/internal/iterator_on_points_base.hh (point):
      	Disambiguate.
      	* oln/level/local.hh: Update.
      	* oln/level/clone.hh (clone_): New.
      	(clone): Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@953 4aad255d-cdde-0310-9447-f3009e2ae8c0
      222a0ce8