- 26 Jul, 2007 2 commits
-
-
Thierry Geraud authored
* tests/int_s8.cc: Rename as... * tests/int_s.cc: ...this. * tests/sort_points.cc, * mln/pw/all.hh, * mln/pw/value.hh, * mln/core/win/vline2d.hh, * mln/core/win/hline2d.hh, * mln/core/win/rectangle2d.hh: Fix doc. * doc/Doxyfile.in: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1041 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
Clean-up functions. * mln/fun/i2v, * mln/fun/p2b, * mln/fun/p2v, * mln/fun/v2v: New directories. * mln/fun/chess.hh: Rename as... * mln/fun/p2b/chess.hh: New. * mln/fun/to_enc.hh: Rename as... * mln/fun/v2v/enc.hh: ...this. (to_enc): Rename as... (enc): ...this. * mln/fun/all.hh: Rename as... * mln/fun/i2v/all.hh: ...this. * mln/core/point.hh, * mln/core/window.hh, * mln/core/dpoint.hh, * mln/core/image2d_b.hh, * mln/level/to_enc.hh: Update. Clean-up windows. * mln/core/win: New directory. * mln/core/hline2d.hh: Rename as... * mln/core/win/hline2d.hh: ...this. * mln/core/rectangle2d.hh: Rename as... * mln/core/win/rectangle2d.hh: ...this. * mln/core/vline2d.hh: Rename as... * mln/core/win/vline2d.hh: ...this. * tests/median.cc, * tests/fast_median.cc, * tests/main.cc, * tests/to_image.cc, * tests/psubset.cc, * tests/fimage.cc, * tests/rectangle2d.cc, * tests/cast_image.cc, * tests/subimage.cc, * tests/hmedian.cc, * tests/erosion.cc, * tests/naive_median.cc, * mln/core/box2d.hh, * mln/morpho/erosion.hh, * mln/level/was.median.hh, * mln/level/median.hh, * mln/level/approx/median.hh: Update. Clean-up metal. * mlc/equal.hh: Rename as... * mln/metal/equal.hh: ...this. * mlc/same_coord.hh: Rename as... * mln/metal/same_coord.hh: ...this. * mlc/same_point.hh: Rename as... * mln/metal/same_point.hh: ...this. * mlc: Remove. * mln/core/concept/generalized_point.hh: Update. Light changes. * TODO: Update. * mln/core/dpoints_piter.hh (dpoints_bkd_piter): New; fake. * mln/core/fimage.hh: Add doc. * mln/core/pvec.hh (pvec_fwd_piter_, pvec_bkd_piter_): Move to... * mln/core/pvec_piter.hh: ...this new file. * mln/core/internal/fixme.hh: Add empty body. New stuff. * tests/line2d.cc: New. * mln/pw/all.hh: New. * mln/core/line2d.hh: New. * mln/math: New. * mln/math/min.hh: New. * mln/math/abs.hh: New. * mln/math/max.hh: New. * mln/math/all.hh: New. * mln/math/sign.hh: New. * mln/draw: New. * mln/draw/line.hh: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1040 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 25 Jul, 2007 2 commits
-
-
Thierry Geraud authored
* tests/labeling.cc: New. * tests/label.cc: New. * mln/fun/to_enc.hh: New. * mln/level/to_enc.hh: New. * mln/level/labeling.hh: New. * mln/value/label.hh: New. * img/tiny.pgm: New. * tests/README: Fix missing CR. * doc/Doxyfile.in: Update. * mln/core/trait/is_lowq.hh: Remove. * mln/core/trait/all.hh: Update. * mln/core/macros.hh: Update. * mln/value/set.hh: Update. * mln/core/concept/value.hh (++, --): New. * mln/level/fill.hh (memset): Force cast. * mln/value/lut_vec.hh: Fix warning. * mln/value/props.hh (card, mln_card): Rename as... (card_, mln_card_): ...these. (convert_): New. * mln/value/int_s.hh (+=, -=): New. * mln/value/int_u.hh: Likewise. * mln/value/internal/iterable_set.hh: Use convert_. * mln/value/internal/encoding.hh: Factor names. * mln/value/internal/value_like.hh (to_enc): New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1039 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* tests/sort_points.cc: New. * tests/pset.cc: New. * tests/histo.cc: Update. * mln/histo/sort.hh: Rename as... * mln/level/sort_points.hh: ...this new file. (sort_points): New overload. * mln/histo/data.hh (vec): Rename as... (vect): ...this. * mln/core/dpoints_piter.hh: Update. * mln/core/pvec.hh: New. * mln/core/pset.hh: New. * mln/core/internal/set_of.hh: Update. * mln/accu/histo.hh: Update. * mln/accu/bbox.hh: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1038 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 24 Jul, 2007 3 commits
-
-
Thierry Geraud authored
* tests/int_s8.cc: New. * tests/int_u8.cc: Augment. * mln/histo/sort.hh: New. * mln/histo/data.hh: New. * mln/histo/compute.hh: New. * mln/accu/histo.hh: Fix doc. * mln/accu/median.hh: Fix doc. * mln/value/int_s8.hh: New. * mln/value/int_u16.hh: New. * mln/value/int_u8.hh: New. * mln/value/int_s.hh: New. * mln/value/int_u.hh (zero, one): New. (encoding_): Move to... * mln/value/internal/encoding.hh: ...this new file. * tests/median.cc, * tests/fast_median.cc, * tests/main.cc, * tests/hmedian.cc, * tests/erosion.cc, * tests/naive_median.cc, * tests/vset.cc, * tests/histo.cc, * mln/io/save_pgm.hh, * mln/io/load_pgm.hh: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1037 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* mln/value/set.hh: Rename as... * mln/value/internal/iterable_set.hh: ...this. (the): Remove. (E): New. * mln/value/set.hh: New. * tests/vset.cc, * tests/histo.cc, * TODO, * mln/core/macros.hh, * mln/core/trait/is_lowq.hh, * mln/core/fimage.hh, * mln/core/image2d_b.hh, * mln/level/naive/median.hh, * mln/level/was.median.hh, * mln/level/fast_median.hh, * mln/level/transform.hh, * mln/level/median.hh, * mln/accu/histo.hh, * mln/accu/median.hh, * mln/accu/median_alt.hh, * mln/value/props.hh, * mln/value/cast.hh, * mln/value/int_u.hh: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1036 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* mln/core/trait/qlf_value.hh: New. * mln/core/internal/pixel_iterator_base.hh (qualified_value): Move and rename as... * mln/core/trait/qlf_value.hh (qlf_value): ...this. * doc/Doxyfile.in: Update. * mln/core/macros.hh (mln_qlf_value): New. Add space. * mln/core/pixter2d_b.hh (eor_): Update type. (image): New. * mln/core/dpoints_pixter.hh (value_ref_): Update type. * mln/core/internal/pixel_impl.hh (value_): Remove; obsolete. (image): New. * mln/core/fimage.hh: Fix warning. * mln/core/concept/generalized_pixel.hh (image): New. (address_): Update type. (todo): New. (ctor): Re-activate check. * mln/core/concept/fast_image.hh (offset): New; factor code. (buffer): New overload. * mln/core/concept/doc/generalized_pixel.hh (image): New. (address_): Update type. * mln/core/concept/doc/fast_image.hh (offset): Remove; factored. * mln/core/image2d_b.hh (offset): Remove; factored. (buffer): New. * mln/level/assign.hh: Fix doc. * mln/value/cast.hh: Fix warning. * TODO: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1035 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 23 Jul, 2007 8 commits
-
-
Thierry Geraud authored
Add new morphers. * tests/cast_image.cc: New. * tests/assign.cc: New. * tests/fimage.cc: New. * mln/core/fimage.hh: New. * mln/level/assign.hh: New. * mln/value/cast.hh: New. * mln/core/safe.hh: Rename as... * mln/core/safe_image.hh: ...this. * tests/safe_image.cc: Update. * mln/core/vec.hh: Rename as... * mln/metal/vec.hh: ...this. Handle constness in pixel iterators. * mln/core/internal/pixel_impl.hh (value_): New. (address): Update. * mln/core/internal/pixel_iterator_base.hh (qualified_value, value_): New. * mln/core/pixter2d_b.hh (value_): Update. * mln/core/dpoints_pixter.hh (value_): Update. * mln/core/internal/image_adaptor.hh (vset, values): Fix missing. * mln/core/concept/generalized_pixel.hh (ctor): Comment check on address. * mln/core/concept/pixel_iterator.hh (ctor): Comment check on lvalue and op*. * mln/core/concept/fast_image.hh (offset): Fix missing const. * mln/core/image2d_b.hh: Likewise. * mln/core/concept/doc/image.hh: Cosmetic changes. * mln/level/fast_median.hh (input): Update. * TODO: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1034 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* configure.ac (static/samples/mini-std/Makefile) (static/samples/mini-std/cpp/Makefile) (static/samples/mini-std/cpp2/Makefile): Configure them. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1033 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* samples/mini-std/cpp/equipment.hh: No longer use stc_scoop_equipment_for_namespace. Include stc/scoop.hxx instead. Rename template parameters `E' to `Exact'. (stc_using, stc_using_from): Remove macros. * samples/mini-std/cpp/impl.hh: (morpher_container, primary_container): Adjust callers of stc_using_from. (morpher_container::delegatee): Rename methods as... (morpher_container::delegatee_): ...these. Adjust callers. * samples/mini-std/cpp/stack.hh, * samples/mini-std/cpp/value_cast.hh (impl_delegatee): Rename methods as... (impl_delegatee_): ...these. * samples/mini-std/cpp/concepts.hh, * samples/mini-std/cpp/impl.hh, * samples/mini-std/cpp/list.hh, * samples/mini-std/cpp/vector.hh, * samples/mini-std/cpp/deque.hh, * samples/mini-std/cpp/stack.hh, * samples/mini-std/cpp/value_cast.hh, * samples/mini-std/cpp/identity.hh, * samples/mini-std/cpp/fwddecls.hh Remove the `_type' suffix from all virtual types. Remove virtual types named `super_type' and replace them with a `super_trait_' class. Rename template parameters `E' to `Exact'. * samples/mini-oln/mini-oln.cc: Likewise. s/set_super_type/super_trait_/. * samples/mini-std/cpp2/mini-std.cc (LOGGER_BEGIN, LOGMETHODVOID, LOGMETHODARG, LOGGER_END): Wrap long lines in macros. (LOGMETHOD): Likewise. Add a space after the printed location. * samples/mini-std/Makefile.am, * samples/mini-std/cpp/Makefile.am: New. * samples/mini-std/cpp2/Makefile: Rename as... * samples/mini-std/cpp2/Makefile.am: ...this. (CPPFLAGS, .PHONY): Remove variables. (all, mini-std): Remove targets. (AM_CPPFLAGS, TESTS_CXXFLAGS, AM_CXXFLAGS) (check_PROGRAMS, mini_std_SOURCES, TESTS): New variables. * samples/Makefile.am (SUBDIRS): Add mini-std. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1032 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* mln/pw: New directory. * mln/fun/var.hh: Rename as... * mln/pw/var.hh: ...this. * mln/fun/val.hh: Rename as... * mln/pw/cst.hh: ...this. * mln/fun/pw_value.hh: Renameas ... * mln/pw/value.hh: ...this. * mln/core/concept/image.hh: . * mln/core/concept/iterator.hh: . * tests/erosion.cc, * tests/pw_value.cc, * TODO: Update. * mln/convert/to_window.hh: Fix doc. * mln/border/resize.hh: New. * mln/border/fill.hh: New. * mln/border/all.hh: New. * mln/border/duplicate.hh: New. * mln/border/mirror.hh: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1031 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* tests/super.cc, tests/vtypes-and-exact.cc: No longer use stc_scoop_equipment_for_namespace. Include stc/scoop.hxx instead. Remove the `_type' suffix from all virtual types. s/set_super_type/super_trait_/. * tests/vtypes.cc: Likewise. my::set_super_type<Z>: Remove. vtypes<Z>::delegatee: New virtual type. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1030 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1029 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* stc/scoop.hxx: Add a copyright header. Typos. Re-indent some parts. (helper_check): Fix documentation. Actually use check_final_stm and check_delegatee_inherited as described in the documentation. (helper_find): Add some documentation. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1028 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
* mln/core/concept/piter.hh, * mln/core/concept/genpoint.hh, * mln/core/concept/psite.hh, * mln/core/concept/viter.hh, * mln/core/concept/doc/genpoint.hh, * mln/core/concept/doc/piter.hh, * mln/core/concept/doc/viter.hh, * mln/core/concept/doc/genpixel.hh, * mln/core/concept/genpixel.hh: Rename respectively as... * mln/core/concept/point_iterator.hh, * mln/core/concept/generalized_point.hh, * mln/core/concept/point_site.hh, * mln/core/concept/value_iterator.hh, * mln/core/concept/doc/generalized_point.hh, * mln/core/concept/doc/point_iterator.hh, * mln/core/concept/doc/value_iterator.hh, * mln/core/concept/doc/generalized_pixel.hh, * mln/core/concept/generalized_pixel.hh: ...these. * mln/convert/to_dpoint.hh, * mln/geom/pmin_pmax.hh, * mln/core/dpoints_piter.hh, * mln/core/psubset.hh, * mln/core/box.hh, * mln/core/psubset_piter.hh, * mln/core/rectangle2d.hh, * mln/core/box_piter.hh, * mln/core/window.hh, * mln/core/dpoints_pixter.hh, * mln/core/internal/image_adaptor.hh, * mln/core/internal/image_base.hh, * mln/core/internal/piter_adaptor.hh, * mln/core/pixel.hh, * mln/core/hline2d.hh, * mln/core/neighb.hh, * mln/core/concept/value_set.hh, * mln/core/concept/point.hh, * mln/core/concept/pixel_iterator.hh, * mln/core/concept/point_set.hh, * mln/core/concept/doc/image.hh, * mln/core/concept/doc/value_set.hh, * mln/core/concept/doc/pixel_iterator.hh, * mln/core/concept/doc/point_set.hh, * mln/core/concept/doc/window.hh, * mln/core/concept/doc/neighborhood.hh, * mln/core/vline2d.hh, * mln/level/approx/median.hh, * mln/value/lut_vec.hh, * mln/value/viter.hh, * mln/value/set.hh: Update. * TODO: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1027 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 20 Jul, 2007 2 commits
-
-
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
-
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
-
- 19 Jul, 2007 2 commits
-
-
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
-
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
-
- 18 Jul, 2007 1 commit
-
-
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
-
- 17 Jul, 2007 7 commits
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
- 13 Jul, 2007 5 commits
-
-
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
-
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
-
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
-
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
-
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
-
- 12 Jul, 2007 4 commits
-
-
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
-
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
-
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
-
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
-
- 11 Jul, 2007 2 commits
-
-
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
-
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
-
- 09 Jul, 2007 2 commits
-
-
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
-
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
-