1. 17 Jul, 2007 1 commit
    • 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
  2. 13 Jul, 2007 1 commit
  3. 12 Jul, 2007 1 commit
    • 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
  4. 11 Jul, 2007 1 commit
    • 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