1. 20 Jul, 2007 2 commits
    • Thierry Geraud's avatar
      Handle low quantization and fast properties. · 3f4396fc
      Thierry Geraud authored
      	* tests/transform.cc: New.
      	* tests/fill.cc: New.
      	* mln/core/macros.hh (mln_value_kind, mln_vset): New.
      	* mln/core/trait/is_fast.hh: New.
      	* mln/core/trait/all.hh: New.
      	* mln/core/trait/is_lowq.hh: New.
      	* mln/core/internal/image_base.hh
      	(select_image_concept_): New.
      	* mln/core/concept/image.hh (vset, values): New.
      	Update.
      	* mln/core/concept/fast_image.hh (operator[]): New.
      	* mln/metal/math.hh: New.
      	* mln/metal/bool.hh: New.
      	* mln/metal/bexpr.hh: New.
      	* mln/value/lut_vec.hh: New.
      	* mln/value/int_u.hh (nbits, card): New.
      
      	* tests/README (g++-2.95): New hints.
      	* tests/pixter_dpoint2d.cc: Fix warning.
      	* tests/erosion.cc: Fix doc.
      	* doc/Doxyfile.in: Update.
      	* mln/debug/iota.hh: New overload.
      	* mln/fun/pw_value.hh (function_): Rename as...
      	(select_function_): ...this.
      	* mln/core/trait/pixter.hh
      	(pixter, qixter, nixter): Remove; obsolete.
      	* mln/core/concept/value_set.hh (viter): Likewise.
      	* mln/core/concept/doc/image.hh,
      	* mln/core/concept/doc/value_set.hh,
      	* mln/core/concept/doc/fast_image.hh: Update.
      	* mln/core/image2d_b.hh: Update.
      	* mln/metal/none.hh: Fix doc.
      	* mln/morpho/erosion.hh: Update.
      	* mln/level/fill.hh: Add todos.
      	New overload.
      	* mln/level/fast_median.hh: Fix doc.
      	* mln/level/transform.hh: New overload.
      	* mln/value/props.hh (min): Change to var.
      	* mln/value/kind.hh: Fix doc.
      	* mln/value/set.hh (viter): Remove; obsolete.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1026 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3f4396fc
    • Thierry Geraud's avatar
      Clean-up and update pixel related material. · c5e09221
      Thierry Geraud authored
      	* tests/README: New.
      	* mln/core/trait: New.
      	* mln/core/trait/pixter.hh: New.
      	* mln/core/internal/pixel_impl.hh: New.
      	* mln/core/internal/fixme.hh: New.
      	* mln/core/concept/fast_image.hh: New.
      	* mln/core/concept/doc/fast_iterator.hh: Rename as...
      	* mln/core/concept/doc/pixel_iterator.hh: ...this new file.
      	Update.
      	* mln/core/concept/doc/fast_image.hh: New.
      	* mln/core/concept/doc/genpixel.hh: New.
      	* mln/core/tags.hh: New.
      	* mln/metal: New.
      	* mln/metal/none.hh: New.
      	* mln/core/internal/lineary_pixel_iterator_base.hh: Remove.
      
      	* mln/core/dpoints_piter.hh,
      	* mln/core/box_piter.hh,
      	* mln/core/internal/image_base.hh,
      	* mln/core/internal/piter_adaptor.hh,
      	* mln/core/concept/genpoint.hh,
      	* mln/core/concept/psite.hh,
      	* mln/core/concept/point.hh,
      	* mln/core/concept/doc/genpoint.hh (pointer): Rename as...
      	(pointer_): ...this.
      	
      	* tests/window2d.cc: Cosmetic change.
      	* TODO: Update.
      	* mln/core/macros.hh (mln_ima): Remove.
      	(*ixter): Update.
      	(mln_piter, mln_qiter, mln_niter): Update.
      	* mln/core/psubset.hh (bkd_piter): Use fixme.
      	(npoints): Update.
      	* mln/core/box.hh (piter): Remove.
      	* mln/core/rectangle2d.hh (bkd_piter): Use fixme.
      	* mln/core/pixter2d_b.hh: Clean-up and update.
      	* mln/core/window.hh (bkd_piter): Use fixme.
      	* mln/core/dpoints_pixter.hh: Clean-up and update.
      	* mln/core/internal/pixel_iterator_base.hh: Clean-up and update.
      	* mln/core/internal/box_impl.hh: Touch doc.
      	* mln/core/internal/image_base.hh (dpoint, coord): New.
      	(pointer): Update.
      	* mln/core/pixel.hh: Clean-up and update.
      	* mln/core/hline2d.hh (bkd_piter): Use fixme.
      	* mln/core/concept/image.hh (piter): Remove.
      	(dpoint, coord): New.
      	* mln/core/concept/pixel_iterator.hh: Update.
      	* mln/core/concept/point_set.hh (piter): Remove.
      	* mln/core/concept/object.hh: New include.
      	* mln/core/concept/doc/image.hh: Update.
      	* mln/core/concept/doc/point_set.hh: Update.
      	* mln/core/concept/genpixel.hh: Clean-up and update.
      	* mln/core/vline2d.hh (bkd_piter): Use fixme.
      	* mln/core/image2d_b.hh: Clean-up and update.
      	(buffer): New.
      	(offset, point_at_offset): Fix.
      	* mln/level/fast_median.hh: Update.
      	* mln/level/median.hh: Prefer mln_coord to int.
      	* mln/canvas/sbrowsing.hh: Update doc.
      	* tests/fast_median.cc,
      	* tests/pixter_point2d.cc,
      	* tests/pixter_dpoint2d.cc,
      	* tests/pixel.cc: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1025 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c5e09221
  2. 19 Jul, 2007 2 commits
    • Nicolas Ballas's avatar
      Repair lineary pixel iterator. · 3e4eedae
      Nicolas Ballas authored
      	* mln/core/pixter2d_b.hh: Adapt pixter2d_b to the new pixel iterator hierachy.
      	* mln/core/internal/pixel_iterator_base.hh: Fix dead code.
      	* mln/core/internal/lineary_pixel_iterator_base.hh: New factorization class.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1024 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3e4eedae
    • Thierry Geraud's avatar
      Fix pixel iterators on sets of dpoints. · f43fcfd5
      Thierry Geraud authored
      	* tests/fast_median.cc (test): New.
      	* tests/naive_median.cc: Update.
      	* mln/debug/iota.hh: New.
      	* mln/core/pixel.hh (value_ptr_): New.
      	* mln/core/dpoints_piter.hh (center_point): New.
      	(update_p_): Rename as...
      	(update): ...this.
      	* mln/core/concept/genpixel.hh: Inactivate some code.
      	* mln/core/dpoints_pixter.hh: Update.
      	* mln/core/internal/pixel_iterator_base.hh: Clean-up.
      	* mln/level/was.hmedian.hh (hmedian): Move...
      	* mln/level/was.median.hh: ...here.
      	* mln/level/was.hmedian.hh: Remove.
      	* mln/level/fast_median.hh: Clean-up.
      	Contents
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1023 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f43fcfd5
  3. 18 Jul, 2007 1 commit
    • Nicolas Ballas's avatar
      Change fast_iterator hierarchy. · 929123d9
      Nicolas Ballas authored
      	* tests/fast_median.cc: New test.
      	* tests/pixter_point2d.cc: Update test.
      	* mln/core/pixel.hh: Add typedefs in the class pixel_.
      	* mln/core/macros.hh: Add new macros.
      	* mln/core/concept/pixel_iterator.hh: New, rename Fast_Iterator concep as Pixel Iterator.
      	* mln/core/concept/fast_iterator.hh: Remove.
      	* mln/core/concept/genpixel.hh: Constructor fixed.
      	* mln/core/pixter2d_b.hh: Broken!.
      	* mln/core/image2d_b.hh: Add new method point_at_offset.
      	* mln/core/dpoints_pixter.hh: Adapt dpoint_pixter to the new hierarchy.
      	* mln/core/internal/pixel_iterator_base.hh: New, rename fast_iterator_base_ as pixel_iterator_base_.
      	* mln/core/internal/fast_iterator_base.hh: Remove.
      	* mln/level/fast_median.hh: New median using qixter.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1022 4aad255d-cdde-0310-9447-f3009e2ae8c0
      929123d9
  4. 17 Jul, 2007 7 commits
    • Thierry Geraud's avatar
      New 2D window types in mln. · 56c80ae1
      Thierry Geraud authored
      	* tests/median.cc: Clean up.
      	* tests/hmedian.cc: New.
      	* tests/erosion.cc: Clean up.
      	* tests/rectangle2d.cc: Update.
      	* mln/core/hline2d.hh: New.
      	* mln/core/rectangle2d.hh
      	(half_width_, half_height_): Change to...
      	(width_, height_): ...these.
      	Update.
      	* mln/core/vline2d.hh: New.
      	* mln/morpho/erosion.hh (erosion_wrt_win): New overload.
      	* mln/level/was.median.hh: New.
      	* mln/level/approx: New.
      	* mln/level/approx/median.hh: New.
      	* mln/level/median.hh (median_as_procedure): Move into...
      	* mln/level/was.hmedian.hh: ...this new file.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1021 4aad255d-cdde-0310-9447-f3009e2ae8c0
      56c80ae1
    • Roland Levillain's avatar
      Use SCOOP mechanism from static/stc/, not olena/oln/stc/. · 3920960f
      Roland Levillain authored
      	* oln/core/equipment.hh: Include stc/scoop.hh (resp. stc/scoop.hxx)
      	instead of oln/stc/scoop.hh (resp. oln/stc/scoop.hxx).
      	* oln/stc/scoop.hh, oln/stc/scoop.hxx: Remove.
      	* oln/stc: Remove directory.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1020 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3920960f
    • Roland Levillain's avatar
      Update stc/scoop.{hh,hxx} with the latest version from Olena. · 4e44016c
      Roland Levillain authored
      	* stc/was.scoop.hh: Rename as...
      	* stc/scoop-old-2006.hh: ...this.
      	* stc/scoop.hh: Rename as...
      	* stc/scoop-old-2007.hh: ...this.
      	* stc/scoop.hh, stc/scoop.hxx: New.
      	Imported from olena/stc/.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1019 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4e44016c
    • Roland Levillain's avatar
      Have more tests pass with scoop-alt, and clean up a bit. · c2cdd632
      Roland Levillain authored
      	Despite the new proxy-deferred mechanism in scoop-alt, a lot of
      	tests still fail to compile.  A real deferring mechanism (as in
      	standard scoop) is required.
      
      	* oln/core/2d/image2d.hh (super_trait_< image2d<T> >): Move this
      	class above vtypes< image2d<T> >.
      	* oln/core/internal/box.hh
      	(vtypes< box_fwd_piter_<B> >::point)
      	(vtypes< box_bkd_piter_<B> >::point): Use stc_deduce_typename
      	instead of a bare B::point.
      	(box_fwd_piter_, box_bkd_piter_) [OLENA_USE_SCOOP_ALT]: Don't
      	check static assertions (mlc_is_a(B, Point_Set)), since scoop-alt
      	doesn't handle it yet.
      	* oln/core/internal/f_ch_value.hh (oln_ch_value_, oln_ch_value)
      	(oln_plain_value) [OLENA_USE_SCOOP_ALT]: Rely on stc_find_type_in
      	instead of stc_type_in since scoop-alt doesn't handle it yet.
      	* oln/core/internal/image_base.hh,
      	* oln/core/internal/encoded_image.hh,
      	* oln/core/gen/rle_image.hh,
      	* oln/core/gen/sparse_image.hh,
      	* oln/core/internal/dpoint_base.hh,
      	* oln/core/internal/point_base.hh,
      	* oln/core/internal/iterator_on_points_base.hh,
      	* oln/core/internal/piter_adaptor.hh
      	* oln/core/internal/neighborhood_base.hh,
      	[OLENA_USE_SCOOP_ALT]: Handle deferred vtypes  la scoop-alt.
      	* oln/core/internal/point_set_base.hh: Likewise.
      	(super_trait_< internal::point_set_base_<Exact> >::ret): Set to
      	mlc::none.
      	(point_set_base_): Adjust super class: inherit from
      	internal::point_set_selector_< stc_type(Exact, box)*, Exact >.
      	instead of super_trait_< point_set_base_<Exact> >::ret.
      	* oln/core/internal/dpoint_base.hh
      	(super_trait_< internal::dpoint_base_<Exact> >::ret)
      	* oln/core/internal/point_base.hh
      	(super_trait_< internal::point_base_<Exact> >::ret):
      	* oln/core/internal/iterator_on_points_base.hh
      	Set to mlc::none.
      
      	* oln/core/internal/category_of.hh: Rewrite the category
      	retrieval, so that super_traits_ relationships not ending with
      	mlc::none are caught.
      	(get_category_of_): Remove.
      	Replaced by...
      	(get_category_as_a_typedef_, get_category_as_a_vtype_):
      	...these (new) classes.
      	(category_of_): Adjust.
      
      	* oln/core/internal/encoded_image_pset.hh
      	(vtypes< internal::enc_image_pset_<P> >::std_container): New
      	typedef.
      	(enc_image_pset_::std_container): New typedef.
      	Use it to define...
      	(enc_image_pset_piter_::con_): ...this member.
      	(enc_image_pset_fwd_piter_, enc_image_pset_bkd_piter_):
      	Use stc_using to retrieve the vtype std_container.
      	Use it to define...
      	(enc_image_pset_fwd_piter_::it_, enc_image_pset_bkd_piter_::it_):
      	...these members.
      
      	* tests/core/box2d.cc: New test.
      	* tests/core/Makefile.am (check_PROGRAMS): Add box2d.
      	(box2d_SOURCES): New.
      	* oln/Makefile.am (nobase_oln_HEADERS): Remove dead files.
      	Add value/gray_level.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1018 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c2cdd632
    • Roland Levillain's avatar
      Add a deferred vtype lookup mechanism to scoop-alt. · 7f5c944e
      Roland Levillain authored
      	* stc/scoop-alt.hh (deferred): New declaration.
      	(stc_find_type_in_, stc_find_type_in)
      	(stc_is_found_type, stc_is_not_found_type): New macros.
      	(stc_is_a): Rely on stc_find_type, not stc_deferred.
      	(stc_using_): New macro.
      	(stc_deferred): Rely on stc::deferred<>, not deferred_vtype<>.
      	(stc_deferred_from): New macro.
      	* stc/scoop-alt.inc (find_vtype): New forward declaration.
      	(direct_): New unwrapping mechanism.
      	(find_vtype): Use it.
      	* tests/scoop-alt.cc (ex9): Add a Point concept (interface).
      	Fix this test case.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1017 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7f5c944e
    • Thierry Geraud's avatar
      Add delta to windows in mln. · c54f5439
      Thierry Geraud authored
      	* tests/erosion.cc: New.
      	* mln/arith/minus.hh: New.
      	* mln/core/point.hh,
      	* mln/core/dpoint.hh (vec_t, to_vec): New.
      	* mln/core/rectangle2d.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/concept/doc/window.hh,
      	* mln/core/window.hh (delta): New.
      	* mln/level/fill.hh: New overload.
      	* mln/norm: New.
      	* mln/norm/infty.hh: New.
      	* mln/accu/min.hh: New.
      	* mln/accu/sum.hh: New.
      	* mln/accu/max.hh: New.
      
      	* tests/window2d.cc: Use delta.
      	* tests/box2d.cc: Add assertion.
      	* tests/dpoint2d.cc: Test to_vec.
      	* mln/morpho/erosion.hh: Add dispatch.
      	* mln/accu/mean.hh: Rewrite.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1016 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c54f5439
    • Thierry Geraud's avatar
      Introduce accumulators and point-wise operations in mln. · b5211ced
      Thierry Geraud authored
      	* tests/pw_value.cc: New.
      	* mln/estim/mean.hh: New.
      	* mln/fun/chess.hh (result): New.
      	* mln/fun/ops.hh: New.
      	* mln/fun/val.hh: New.
      	* mln/fun/pw_value.hh: New.
      	* mln/fun/var.hh: New.
      	* mln/core/concept/doc/accumulator.hh: New.
      	* mln/core/concept/accumulator.hh: New.
      	* mln/core/concept/function.hh (Function_i2v): New.
      	* mln/core/macros.hh (mln_result): New.
      	* mln/arith: New.
      	* mln/arith/plus.hh: New.
      	* mln/level/apply.hh: New.
      	* mln/level/transform.hh: New.
      	* mln/accu/counter.hh: New.
      	* mln/accu/mean.hh: New.
      	* mln/value/kind.hh: New.
      	* mln/value/props.hh (mln_kind, kind): New.
      
      	* mln/estim/count.hh: Remove; useless.
      	* mln/fun/all.hh (all): Change inheritance.
      	* mln/core/point.hh (point_): Strenghten sigs.
      	* mln/core/dpoint.hh (dpoint_): Likewise.
      	* mln/accu/histo.hh: Add inheritance.
      	* mln/accu/median.hh: Likewise.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1015 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b5211ced
  5. 13 Jul, 2007 5 commits
    • Thierry Geraud's avatar
      Fix make doc, handle todos, and pass tests with g++-2.95. · 618f8aa5
      Thierry Geraud authored
      	* tests/safe_image.cc,
      	* mln/core/concept/genpoint.hh,
      	* mln/core/window.hh,
      	* mln/core/internal/image_adaptor.hh,
      	* mln/core/internal/set_of.hh,
      	* mln/level/fill.hh,
      	* mln/level/compare.hh,
      	* mln/level/paste.hh,
      	* mln/make/window2d.hh: Fix.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1014 4aad255d-cdde-0310-9447-f3009e2ae8c0
      618f8aa5
    • Thierry Geraud's avatar
      Add subimage in milena. · 8af8d53c
      Thierry Geraud authored
      	* tests/subimage.cc: New.
      	* mln/core/subimage.hh: New.
      	* mln/debug/println.hh: Handle "not has" cases.
      	* mln/core/concept/box.hh
      	(operator==, operator<, operator<=): New.
      	* mln/core/concept/point_set.hh: Likewise.
      	* mln/core/internal/image_adaptor.hh: Add default parameter.
      	* mln/core/internal/piter_adaptor.hh: .
      	* mln/accu/histo.hh,
      	* mln/accu/median.hh,
      	* mln/accu/median_alt.hh,
      	* mln/value/viter.hh,
      	* mln/value/set.hh,
      	* mln/make/dpoint2d.hh,
      	* mln/make/point2d.hh: Fix doc.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1013 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8af8d53c
    • Thierry Geraud's avatar
      Add a canvas to milena. · 8fe3e89f
      Thierry Geraud authored
      	* mln/level/median.hh (impl::median): Rename as...
      	(impl::median_as_procedure): ...this.
      	(impl::median_functor, impl::median): New.
      	* mln/canvas: New.
      	* mln/canvas/sbrowsing.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1012 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8fe3e89f
    • Thierry Geraud's avatar
      Add pixel in milena. · 990bbc6a
      Thierry Geraud authored
      	* tests/pixel.cc: New.
      	* mln/core/pixel.hh: New.
      	* mln/core/concept/genpixel.hh: New.
      
      	* mln/core/internal/force_exact.hh
      	(mln_internal_add_force_exact_): Remove.
      	(force_exact): New.
      	* mln/convert/to_dpoint.hh,
      	* mln/core/dpoints_piter.hh,
      	* mln/core/concept/genpoint.hh,
      	* mln/core/internal/coord_impl.hh,
      	* mln/core/internal/box_impl.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1011 4aad255d-cdde-0310-9447-f3009e2ae8c0
      990bbc6a
    • Thierry Geraud's avatar
      Add subset notion in milena. · 8537be0a
      Thierry Geraud authored
      	Add materials.
      
      	* mln/convert/to_image.hh: New.
      	* mln/convert/to_window.hh: New.
      	* mln/estim: New.
      	* mln/estim/count.hh: New.
      	* mln/debug/format.hh: New.
      	* mln/geom: New.
      	* mln/geom/pmin_pmax.hh: New.
      	* mln/geom/bbox.hh: New.
      	* mln/core/psubset.hh: New.
      	* mln/core/psubset_piter.hh: New.
      	* mln/core/concept/function.hh: New.
      	* mln/core/internal/piter_adaptor.hh: New.
      	* mln/fun/chess.hh: New.
      
      	Add some tests.
      	
      	* tests/safe_image.cc: New.
      	* tests/to_image.cc: New.
      	* tests/psubset.cc: New.
      	* tests/println.cc: New.
      	
      	Several improvements.
      	
      	* mln/debug/println.hh: Use debug::format.
      	* mln/core/box.hh (len): Move...
      	* mln/core/concept/box.hh: ...here.
      	* mln/core/point.hh (zero): Turn into var.
      	(point_): Bound ctor arg f.
      	* mln/core/dpoint.hh: Likewise.
      	* mln/core/neighb.hh (dpoint): New typedef.
      	* mln/core/concept/image.hh: Remove obsolete commentary.
      	* mln/core/concept/iterator.hh
      	(for_all_remaining): New macro.
      	* mln/core/concept/point_set.hh (operator<<): New.
      	* mln/core/concept/neighborhood.hh
      	(dpoint): Make it appear in commentary.
      	* mln/core/concept/doc/neighborhood.hh (dpoint): New.
      	* mln/core/concept/doc/box.hh: Cosmetics.
      	* mln/core/window.hh (b_): New attribute.
      	Update.
      	* mln/core/image2d_b.hh (bbox): Remove; redundant.
      	(at): New couple of methods.
      	Update.
      	* mln/core/internal/image_adaptor.hh: Fix.
      	* mln/core/internal/image_base.hh: Add preconditions.
      	* mln/core/internal/set_of.hh: Add a todo entry.
      	* mln/core/safe_image.hh: Help g++-2.95.
      	* mln/fun/all.hh: Add inheritance.
      	
      	Change mk_<object> into make::<object>.
      	
      	* mln/make: New directory.
      	* mln/core/dpoint2d.hh (mk_dpoint2d): Move to...
      	* mln/make/dpoint2d.hh: this new file.
      	(mk_dpoint2d): Rename as...
      	(dpoint2d): ...this.
      	* mln/core/window2d.hh (mk_window2d): Move to...
      	* mln/make/window2d.hh: this new file.
      	(mk_window2d): Rename as...
      	(window2d): ...this.
      	* mln/core/box2d.hh (mk_box2d): Move to...
      	* mln/make/box2d.hh: this new file.
      	(mk_box2d): Rename as...
      	(box2d): ...this.
      	* mln/core/point2d.hh (mk_point2d): Move to...
      	* mln/make/point2d.hh: this new file.
      	(mk_point2d): Rename as...
      	(point2d): ...this.
      	* tests/window2d.cc,
      	* tests/pixter_dpoint2d.cc,
      	* tests/box2d.cc,
      	* tests/point2d.cc,
      	* tests/dpoint2d.cc,
      	* tests/main.cc,
      	* mln/core/neighb2d.hh,
      	* mln/debug/println.hh,
      	* mln/core/rectangle2d.hh,
      	* mln/core/pixter2d_b.hh,
      	* mln/io/save_pgm.hh,
      	* mln/io/load_pgm.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1010 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8537be0a
  6. 12 Jul, 2007 4 commits
    • Nicolas Ballas's avatar
      Fix bug in pixter_dpoint2d. · 5c0099f9
      Nicolas Ballas authored
      	* tests/pixter_dpoint2d.cc: Update.
      	* mln/core/dpoints_piter.hh: Update.
      	* mln/core/concept/doc/fast_iterator.hh: New documentation.
      	* mln/core/image2d_b.hh: Change offset method.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1009 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5c0099f9
    • Nicolas Ballas's avatar
      Separate interface from implementation. · 5712b966
      Nicolas Ballas authored
      	* oln/core/gen/zero.hh,
      	* oln/io/save_pgm.hh,
      	* oln/io/load_pgm.hh,
      	* oln/io/pnm.hh: Separte interface from implementation.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1008 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5712b966
    • Nicolas Ballas's avatar
      Add pixel iterators to milena. · 7cc2bd9d
      Nicolas Ballas authored
      	* tests/pixter_dpoint2d.cc,
      	* tests/pixter_point2d.cc: New tests.
      	* mln/core/dpoints_piter.hh: Delete trailing whitespace.
      	* mln/core/macros.hh: Add macro to get pixel iterator from an image.
      	* mln/core/concept/image.hh,
      	* mln/core/concept/doc/image.hh: Delte trailing whitespace.
      	* mln/core/concept/fast_iterator.hh: New fast iterator concept.
      	* mln/core/pixter2d_b.hh: New pixel iterator on image2d_b.
      	* mln/core/image2d_b.hh: Add a method to get an offset from a dpoint.
      	* mln/core/dpoints_pixter.hh: New pixel iterator.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1007 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7cc2bd9d
    • Thierry Geraud's avatar
      Add naive median to milena + fix problems with g++-2.95. · 1f478867
      Thierry Geraud authored
      	* tests/window2d.cc: .
      	* tests/median.cc: .
      	* tests/box2d.cc: .
      	* tests/naive_median.cc: New.
      	* tests/histo.cc: .
      	* tests/rectangle2d.cc: New.
      	* mln/convert/to_dpoint.hh: Fix missing include.
      	* mln/level/naive: New.
      	* mln/level/naive/median.hh: New.
      	* mln/level/median.hh: Update.
      	* mln/io/save_pgm.hh,
      	* mln/io/load_pgm.hh: Conform with g++-2.95.
      	* mln/core/dpoint2d.hh (up, down, left, right): New.
      	* mln/core/box.hh: Add impl inheritance.
      	* mln/core/rectangle2d.hh: Fake typedef; add FIXME.
      	(sym_): New.
      	* mln/core/concept/window.hh (operator-): New.
      	* mln/core/concept/doc/window.hh: Update.
      	* mln/core/window.hh (sym_): New.
      	(operators): Help g++-2.95.
      	* mln/core/image2d_b.hh: Add impl inheritance.
      	(init_with, bbox): New.
      	(nrows, ncols): Remove; now inherited.
      	* mln/core/internal/coord_impl.hh: Fix missing include.
      	* mln/core/internal/box_impl.hh: New.
      	* mln/core/internal/set_of.hh: Turn to lazy.
      	(operator==): New.
      	* mln/accu/median.hh: Conform with g++-2.95.
      	* mln/value/viter.hh: Help g++-2.95.
      	* mln/value/set.hh: Cosmetics.
      	* mln/value/int_u.hh: Help g++-2.95.
      	* mln/value/internal/value_like.hh (to_equiv): New.
      	* mln/border/thickness.hh: Remove const.
      	* img: New.
      	* img/lena.pgm: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1006 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f478867
  7. 11 Jul, 2007 2 commits
    • Thierry Geraud's avatar
      Better milena median. · 9fe6c1fc
      Thierry Geraud authored
      	* tests/median.cc: Update.
      	* mln/convert/to_dpoint.hh: New.
      	* mln/debug/println.hh (println): Add endl.
      	* mln/level/median.hh: New.
      	* mln/io/save_pgm.hh: New.
      	* mln/io/load_pgm.hh: New.
      	* mln/core/box.hh (len): New.
      	* mln/core/concept/box.hh: Likewise.
      	* mln/core/point.hh (zero): New.
      	* mln/core/dpoint.hh: Likewise.
      	* mln/core/concept/window.hh (dpoint, point): New.
      	* mln/core/window.hh,
      	* mln/core/rectangle2d.hh: Update.
      	* mln/core/concept/genpoint.hh: Remove dead line.
      	* mln/core/concept/dpoint.hh (operator+): New.
      	* mln/core/image2d_b.hh: .
      	* mln/core/internal/force_exact.hh: Avoid obj creation.
      	* mln/accu: New.
      	* mln/value/histo.hh: Rename as...
      	* mln/value/median.hh: ...this.
      	* mln/accu/histo.hh: Rename as...
      	* mln/accu/median.hh: ...this.
      	* mln/accu/median_alt.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1005 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9fe6c1fc
    • Thierry Geraud's avatar
      Add border to milena 2D image. · 3c42c279
      Thierry Geraud authored
      	* tests/main.cc: Update.
      	* tests/image2d_b.cc: New.
      	* mln/core/concept/image.hh (npoints): New.
      	* mln/core/concept/doc/image.hh: Update.
      	* mln/core/internal/image_base.hh: Update.
      	* mln/core/concept/genpoint.hh
      	(operator-): New.
      	* mln/core/image2d.hh: Rename as...
      	* mln/core/image2d_b.hh: ...this.
      	(vb_, bdr_): New.
      	(image2d_b): Update.
      	* mln/border/thickness.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1004 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3c42c279
  8. 09 Jul, 2007 2 commits
    • Thierry Geraud's avatar
      Add progressive histogram and median in milena. · 35293fda
      Thierry Geraud authored
      	* tests/median.cc: New.
      	* mln/value/vset.hh: Rename as...
      	* mln/value/set.hh: ... this new file.
      	* tests/vset.cc: Update.
      	* tests/histo.cc: New.
      	* mln/histo: New.
      	* mln/core/concept/value_set.hh: Update.
      	* mln/core/concept/doc/value_set.hh: Update.
      	* mln/value/histo.hh: New.
      	* mln/value/median.hh: New.
      	* mln/value/int_u.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1003 4aad255d-cdde-0310-9447-f3009e2ae8c0
      35293fda
    • Thierry Geraud's avatar
      Add materials to handle values in milena. · f6cd5f03
      Thierry Geraud authored
      	* tests/vset.cc: New.
      	* tests/int_u8.cc: New.
      	* TODO: New.
      	* mln/core/concept/value_set.hh: New.
      	* mln/core/concept/viter.hh: New.
      	* mln/core/concept/doc/value_set.hh: New.
      	* mln/core/concept/doc/viter.hh: New.
      	* mln/core/concept/value.hh: New.
      	* mln/value/vset.hh: New.
      	* mln/value/viter.hh: New.
      	* mln/value/int_u.hh: New.
      	* mln/value/internal: New.
      	* mln/value/internal/value_like.hh: New.
      	* doc/Doxyfile.in (PREDEFINED): Add mln_viter et al.
      	* mln/core/macros.hh: Sort.
      	(mln_enc, mln_equiv): New.
      	* mln/value/props.hh (mln_card, card): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1002 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f6cd5f03
  9. 06 Jul, 2007 2 commits
    • Thierry Geraud's avatar
      Make milena work correctly with g++-2.95. · 5694516b
      Thierry Geraud authored
      	* mln/core/exact.hh (force_exact): Move in...
      	* mln/core/internal/force_exact.hh: ...this new file.
      	(force_exact_): Now a method and g++-2.95 compatible.
      	* mln/core/concept/genpoint.hh: Update.
      	* mln/core/dpoints_piter.hh: Update.
      	* mln/core/internal/coord_impl.hh: Update.
      
      	* tests/window2d.cc: New.
      	* tests/box2d.cc: New.
      	* tests/point2d.cc: New.
      	* tests/dpoint2d.cc: New.
      	* mln/fun: New.
      	* mln/fun/all.hh: New.
      	* mln/core/window.hh (is_centered): Update.
      
      	* doc/Doxyfile.in (PREDEFINED): Add extra macros.
      	* mln/core/point.hh (point_): Change arg from val to fun.
      	* mln/core/dpoint.hh (dpoint_): Change arg from val to fun.
      	* mln/core/image2d.hh: Add explicit typedefs.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1001 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5694516b
    • Ugo Jardonnet's avatar
      Histogramm : Draft. · 7602c6f9
      Ugo Jardonnet authored
      	* oln/histo: New.
      	* oln/histo/histo_median.hh: New.
      	* oln/histo/histo_min.hh: New.
      	* oln/histo/histogram.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1000 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7602c6f9
  10. 05 Jul, 2007 4 commits
    • Thierry Geraud's avatar
      Add extra documentation to milena. · 17827fd8
      Thierry Geraud authored
      	* mln/debug/all.hh,
      	* mln/level/all.hh,
      	* mln/value/all.hh: New facade files.
      
      	* mln/debug/println.hh,
      	* mln/level/fill.hh,
      	* mln/level/compare.hh,
      	* mln/level/paste.hh,
      	* mln/value/props.hh: Add documentation.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@999 4aad255d-cdde-0310-9447-f3009e2ae8c0
      17827fd8
    • Thierry Geraud's avatar
      Add copyright to milena files. · 9ec5f65e
      Thierry Geraud authored
      	* tests/main.cc,
      	* mln/morpho/Rd.hh,
      	* mln/morpho/erosion.hh,
      	* mln/debug/println.hh,
      	* mln/level/fill.hh,
      	* mln/level/compare.hh,
      	* mln/level/paste.hh,
      	* mln/core/neighb2d.hh,
      	* mln/core/dpoint2d.hh,
      	* mln/core/dpoints_piter.hh,
      	* mln/core/macros.hh,
      	* mln/core/box.hh,
      	* mln/core/point.hh,
      	* mln/core/rectangle2d.hh,
      	* mln/core/box_piter.hh,
      	* mln/core/neighb.hh,
      	* mln/core/concept/image.hh,
      	* mln/core/concept/piter.hh,
      	* mln/core/concept/genpoint.hh,
      	* mln/core/concept/point_set.hh,
      	* mln/core/concept/psite.hh,
      	* mln/core/concept/object.hh,
      	* mln/core/concept/doc/image.hh,
      	* mln/core/concept/doc/genpoint.hh,
      	* mln/core/concept/doc/piter.hh,
      	* mln/core/concept/doc/point_set.hh,
      	* mln/core/concept/doc/object.hh,
      	* mln/core/concept/doc/neighborhood.hh,
      	* mln/core/concept/doc/window.hh,
      	* mln/core/concept/doc/box.hh,
      	* mln/core/concept/doc/iterator.hh,
      	* mln/core/concept/doc/dpoint.hh,
      	* mln/core/concept/neighborhood.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/concept/box.hh,
      	* mln/core/concept/point.hh,
      	* mln/core/concept/iterator.hh,
      	* mln/core/concept/dpoint.hh,
      	* mln/core/window2d.hh,
      	* mln/core/dpoint.hh,
      	* mln/core/ops.hh,
      	* mln/core/exact.hh,
      	* mln/core/window.hh,
      	* mln/core/image2d.hh,
      	* mln/core/vec.hh,
      	* mln/core/contract.hh,
      	* mln/core/internal/coord_impl.hh,
      	* mln/core/internal/image_adaptor.hh,
      	* mln/core/internal/image_base.hh,
      	* mln/core/internal/set_of.hh,
      	* mln/core/box2d.hh,
      	* mln/core/point2d.hh,
      	* mln/core/safe_image.hh,
      	* mln/value/props.hh,
      	* mlc/equal.hh,
      	* mlc/same_coord.hh,
      	* mlc/same_point.hh,
      	* sandbox/cxxcompilation/test.cc: Add copyright.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@998 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9ec5f65e
    • Thierry Geraud's avatar
      Make milena compile with g++-2.95. · 96748a3c
      Thierry Geraud authored
      	* tests/main.cc,
      	* mln/morpho/Rd.hh,
      	* mln/level/fill.hh,
      	* mln/level/compare.hh,
      	* mln/level/paste.hh,
      	* mln/core/macros.hh,
      	* mln/core/box.hh,
      	* mln/core/rectangle2d.hh,
      	* mln/core/concept/box.hh,
      	* mln/core/ops.hh,
      	* mln/core/exact.hh,
      	* mln/core/image2d.hh,
      	* mln/core/contract.hh,
      	* mln/core/box2d.hh,
      	* mln/value/props.hh: Adapt to g++-2.95.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@997 4aad255d-cdde-0310-9447-f3009e2ae8c0
      96748a3c
    • Thierry Geraud's avatar
      Add extra documentation in milena. · 5068ea58
      Thierry Geraud authored
      	* mln/core/window2d.cc,
      	* mln/core/window2d_qiter.cc: Remove; obsolete.
      
      	* mln/core/neighb2d.hh,
      	* mln/core/dpoint2d.hh,
      	* mln/core/dpoints_piter.hh,
      	* mln/core/macros.hh,
      	* mln/core/point.hh,
      	* mln/core/rectangle2d.hh,
      	* mln/core/box_piter.hh,
      	* mln/core/neighb.hh,
      	* mln/core/concept/image.hh,
      	* mln/core/concept/piter.hh,
      	* mln/core/concept/genpoint.hh,
      	* mln/core/concept/point_set.hh,
      	* mln/core/concept/psite.hh,
      	* mln/core/concept/object.hh,
      	* mln/core/concept/doc/genpoint.hh,
      	* mln/core/concept/doc/piter.hh,
      	* mln/core/concept/neighborhood.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/concept/box.hh,
      	* mln/core/concept/point.hh,
      	* mln/core/concept/iterator.hh,
      	* mln/core/concept/dpoint.hh,
      	* mln/core/window2d.hh,
      	* mln/core/dpoint.hh,
      	* mln/core/exact.hh,
      	* mln/core/window.hh,
      	* mln/core/contract.hh,
      	* mln/core/internal/coord_impl.hh,
      	* mln/core/internal/image_adaptor.hh,
      	* mln/core/internal/image_base.hh,
      	* mln/core/internal/set_of.hh,
      	* mln/core/box2d.hh,
      	* mln/core/point2d.hh: Add some documentation.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@996 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5068ea58
  11. 04 Jul, 2007 2 commits
    • Thierry Geraud's avatar
      Extend mln documentation. · 7de0a6b1
      Thierry Geraud authored
      	* doc/Doxyfile.in (PREDEFINED): Handle some macros.
      	* mln/core/neighb2d.hh,
      	* mln/core/dpoint2d.hh,
      	* mln/core/macros.hh,
      	* mln/core/box.hh,
      	* mln/core/point.hh,
      	* mln/core/rectangle2d.hh,
      	* mln/core/concept/image.hh,
      	* mln/core/concept/genpoint.hh,
      	* mln/core/concept/object.hh,
      	* mln/core/concept/doc/image.hh,
      	* mln/core/concept/doc/genpoint.hh,
      	* mln/core/concept/doc/point_set.hh,
      	* mln/core/concept/doc/object.hh,
      	* mln/core/concept/doc/neighborhood.hh,
      	* mln/core/concept/doc/window.hh,
      	* mln/core/concept/doc/box.hh,
      	* mln/core/concept/doc/iterator.hh,
      	* mln/core/concept/doc/dpoint.hh,
      	* mln/core/concept/neighborhood.hh,
      	* mln/core/concept/box.hh,
      	* mln/core/concept/point.hh,
      	* mln/core/concept/dpoint.hh,
      	* mln/core/window2d.hh,
      	* mln/core/dpoint.hh,
      	* mln/core/ops.hh,
      	* mln/core/exact.hh,
      	* mln/core/box2d.hh,
      	* mln/core/point2d.hh: Add extra documentation.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@995 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7de0a6b1
    • Nicolas Ballas's avatar
      Add benchmark about C++ compilation time. · 0a4c3734
      Nicolas Ballas authored
      	* sandbox: New.
      	* sandbox/cxxcompilation: New.
      	* sandbox/cxxcompilation/compilation_unit.rb: Tools used to create compilation unit file
      	for benchmark.
      	* sandbox/cxxcompilation/test.cc: Test file used in benchmark.
      	* sandbox/cxxcompilation/methods: Describes some existing method which improve compilation
      	time.
      	* sandbox/cxxcompilation/vaucanson_bench: Benchmark on Vaucanson method.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@994 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0a4c3734
  12. 03 Jul, 2007 1 commit
    • Thierry Geraud's avatar
      Add some documentation. · 5bd6f093
      Thierry Geraud authored
      	* doc/Doxyfile.in: Try to properly handle some macros.
      	* mln/core/macros.hh,
      	* mln/core/concept/genpoint.hh,
      	* mln/core/concept/point_set.hh,
      	* mln/core/concept/psite.hh,
      	* mln/core/concept/object.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/concept/box.hh,
      	* mln/core/concept/point.hh,
      	* mlc/equal.hh,
      	* mlc/same_point.hh,
      	* mln/core/concept/iterator.hh: Add some documentation.
      	* mln/core/concept/doc/image.hh: New.
      	* mln/core/concept/doc/genpoint.hh: Update.
      	* mln/core/concept/doc/piter.hh: New.
      	* mln/core/concept/doc/point_set.hh: New.
      	* mln/core/concept/doc/object.hh: New.
      	* mln/core/concept/doc/neighborhood.hh: New.
      	* mln/core/concept/doc/window.hh: New.
      	* mln/core/concept/doc/box.hh: New.
      	* mln/core/concept/doc/iterator.hh: New.
      	* mln/core/concept/doc/dpoint.hh: New.
      	* mln/core/contract.hh: New.
      	* mlc/same_coord.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@993 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5bd6f093
  13. 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
  14. 29 Jun, 2007 3 commits
  15. 28 Jun, 2007 1 commit
    • 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