1. 31 Aug, 2007 2 commits
    • Thierry Geraud's avatar
      Augment morphology. · cee613b7
      Thierry Geraud authored
      	* mln/value/cast.hh: Rename as...
      	* mln/core/cast_image.hh: ...this.
      	Update.
      	* mln/core/concept/value.hh (cast): Move to and rename as...
      	* mln/value/cast.hh (cast_image): ...this, here.
      	* tests/cast_image.cc: Update.
      
      	* mln/morpho/thickening.hh: New.
      	* mln/morpho/laplacian.hh: New.
      	* mln/morpho/thick_miss.hh: New.
      	* mln/morpho/thin_fit.hh: New.
      	* mln/morpho/thinning.hh: New.
      	* tests/morpho_thinning.cc: New.
      	* tests/morpho_laplacian.cc: New.
      	* tests/morpho_hit_or_miss.cc: Update.
      
      	* mln/morpho/plus.hh (mln_postcondition): Remove.
      	* mln/morpho/minus.hh: Remove dead lines.
      	* mln/morpho/hit_or_miss.hh: Augment doc.
      	Add postconditions.
      	Add a FIXME.
      	* mln/io/save_pgm.hh: Rewrite.
      	* mln/arith/plus.hh (plus_cst, plus_cst_inplace): New.
      	* img/picasso.pgm: Invert.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1064 4aad255d-cdde-0310-9447-f3009e2ae8c0
      cee613b7
    • Thierry Geraud's avatar
      Add hit-or-miss and p2v ternary+elif functions. · f5d52c2f
      Thierry Geraud authored
      	* tests/morpho_hit_or_miss.cc: New.
      	* mln/fun/p2v/elifs.hh: New.
      	* mln/fun/p2v/ternary.hh: New.
      	* mln/morpho/min.hh: New.
      	* mln/morpho/hit_or_miss.hh: New.
      	* mln/arith/min.hh: New.
      	* mln/value/int_u_sat.hh: New.
      	* img/picasso.pgm: New.
      
      	* mln/arith/revert.hh: Fix.
      	* mln/morpho/includes.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1063 4aad255d-cdde-0310-9447-f3009e2ae8c0
      f5d52c2f
  2. 30 Aug, 2007 1 commit
    • Thierry Geraud's avatar
      Make operations on windows more explicit. · e04278fb
      Thierry Geraud authored
      	* mln/convert/to_std_set.hh: New.
      	* mln/geom/sym.hh: New.
      	* mln/geom/shift.hh: New.
      	* mln/set: New directory.
      	* mln/set/inter.hh: New.
      	* mln/set/diff.hh: New.
      	* mln/set/union.hh: New.
      	* mln/set/sym_diff.hh: New.
      
      	* mln/convert/to_image.hh: Typo.
      	* mln/convert/to_window.hh (to_window): New overload.
      	* mln/convert/to_dpoint.hh: Typo.
      	* mln/core/w_window.hh (sym_): Rename as...
      	(sym): ...this and update.
      	* mln/core/window.hh: Likewise.
      	(operator-): Remove the unary version.
      	(operator+, operator-): Remove; now handle by...
      	* mln/geom/shift.hh (shift): ...this.
      	* mln/core/concept/weighted_window.hh: Update.
      	(operator-): Remove.
      	* mln/core/concept/window.hh: Likewise.
      	* mln/core/concept/doc/weighted_window.hh,
      	* mln/core/concept/doc/window.hh,
      	* mln/core/win/vline2d.hh,
      	* mln/core/win/hline2d.hh,
      	* mln/core/win/rectangle2d.hh,
      	* mln/morpho/includes.hh,
      	* mln/morpho/closing.hh,
      	* mln/morpho/opening.hh,
      	* mln/level/was.median.hh,
      	* mln/level/median.hh,
      	* mln/level/fast_median.hh,
      	* tests/rectangle2d.cc: Update.
      	* mln/core/concept/value.hh: Fix warning.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1062 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e04278fb
  3. 29 Aug, 2007 3 commits
    • Thierry Geraud's avatar
      Add morphological complementation. · 45f9259e
      Thierry Geraud authored
      	* tests/morpho_contrast.cc: Augment.
      	* mln/core/concept/value.hh (cast): New.
      	* mln/fun/v2v/saturate.hh: Update.
      	* mln/morpho/minus.hh: Move assertions.
      	* mln/logical/and.hh,
      	* mln/logical/and_not.hh,
      	* mln/logical/or.hh: Fix doc.
      
      	* mln/value/int_s.hh (operator=): New.
      	* mln/value/int_u.hh: Likewise.
      	* mln/morpho/complementation.hh: New.
      	* mln/morpho/includes.hh: Update.
      	* mln/arith/revert.hh: New.
      	* mln/logical/not.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1061 4aad255d-cdde-0310-9447-f3009e2ae8c0
      45f9259e
    • Thierry Geraud's avatar
      Add morphology plus and minus. · 8acba43d
      Thierry Geraud authored
      	* tests/erosion.cc: Rename as...
      	* tests/morpho_erosion.cc: ...this.
      	* mln/geom/pmin_pmax.hh: Fix.
      	* mln/morpho/plus.hh: New.
      	* mln/morpho/minus.hh: New.
      	* mln/logical: New.
      	* mln/logical/and.hh: New.
      	* mln/logical/and_not.hh: New.
      	* mln/logical/or.hh: New.
      	* mln/morpho/includes.hh,
      	* mln/morpho/gradient.hh,
      	* mln/morpho/contrast.hh,
      	* mln/morpho/top_hat.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1060 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8acba43d
    • Thierry Geraud's avatar
      Add morphological top-hats and contrast. · 3614dc12
      Thierry Geraud authored
      	* tests/morpho_gradient.cc: Fix doc.
      	* mln/geom/pmin_pmax.hh (pmin_pmax): Overload for point set.
      	* mln/geom/bbox.hh: Update.
      	* mln/morpho/includes.hh (include): Add mln/test/positive.hh
      	and mln/arith/plus.hh.
      	* mln/morpho/gradient.hh: Add commentaries.
      
      	* tests/morpho_contrast.cc: New.
      	* mln/morpho/contrast.hh: New.
      	* mln/morpho/top_hat.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1059 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3614dc12
  4. 28 Aug, 2007 2 commits
    • Thierry Geraud's avatar
      Replace 2D specific methods in 2D images by routines. · 18232963
      Thierry Geraud authored
      	* mln/geom/max_col.hh: New.
      	* mln/geom/nrows.hh: New.
      	* mln/geom/min_row.hh: New.
      	* mln/geom/max_row.hh: New.
      	* mln/geom/ncols.hh: New.
      	* mln/geom/size2d.hh: New.
      	* mln/geom/min_col.hh: New.
      
      	* mln/core/image2d_b.hh (image2d_b): Remove inheritance to
      	box_impl.
      	
      	* tests/image2d_b.cc,
      	* mln/core/pixter2d_b.hh,
      	* mln/io/save_pgm.hh,
      	* mln/io/load_pgm.hh,
      	* mln/level/was.median.hh,
      	* mln/level/median.hh,
      	* mln/level/fast_median.hh,
      	* mln/canvas/sbrowsing.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1058 4aad255d-cdde-0310-9447-f3009e2ae8c0
      18232963
    • Thierry Geraud's avatar
      Fix compilation errors. · 9c11b307
      Thierry Geraud authored
      	* tests/run_pset.cc: Fix and clean.
      	* tests/README: Augment.
      	* tests/erosion.cc: Clean.
      	* mln/core/internal/run_pset.hh: Fix.
      	* mln/core/concept/function.hh: Add explicit calls to cpy
      	ctors.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1057 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9c11b307
  5. 27 Aug, 2007 9 commits
    • Thierry Geraud's avatar
      Augment morpho and add saturation for int-like types. · 66f4ade1
      Thierry Geraud authored
      	* mln/arith/minus.hh (minus_inplace): New.
      	* mln/arith/plus.hh (plus_inplace): New.
      	* mln/fun/v2v/saturate.hh: New.
      	* mln/level/abs.hh: New.
      	* mln/level/saturate.hh: New.
      	* mln/linear/sobel.hh: Update.
      	* mln/math/round.hh (round_): Rename as...
      	(round): ...this.
      	* tests/convolve.cc,
      	* tests/line_convolve.cc,
      	* tests/sobel.cc: Update.
      
      	* mln/linear/line_convolve.hh,
      	* mln/linear/line_x2_convolve.hh,
      	* mln/make/w_window_line.hh: Unconst array literals to help
      	g++-2.95.
      
      	* mln/core/concept/function.hh (Function_v2b): New.
      	* mln/core/macros.hh (mln_value_): New.
      	* mln/fun/ops.hh (l_, r_, f_): Add const.
      	(mln_decl_binary_expr_): Use 'Out' part of fun type name.
      	(mln_decl_unary_expr_): Likewise.
      	New overload for "v2v -> v2b" operators.
      	* mln/fun/v2v/id.hh: New.
      	* mln/level/assign.hh,
      	* mln/level/fill.hh: Add todo.
      	* mln/morpho/erosion.hh: Update.
      
      	* mln/morpho/includes.hh,
      	* mln/morpho/closing.hh,
      	* mln/morpho/dilation.hh
      	* mln/morpho/gradient.hh
      	* mln/morpho/opening.hh: New.
      	* mln/test: New directory.
      	* mln/test/positive.hh,
      	* mln/test/predicate.hh,
      	* tests/morpho_gradient.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1056 4aad255d-cdde-0310-9447-f3009e2ae8c0
      66f4ade1
    • Thierry Geraud's avatar
      Augment tools for linear filtering; add sobel. · 2e66d4d3
      Thierry Geraud authored
      	* mln/core/decorated_image.hh
      	(helper_decorated_image_write_): Replace by...
      	(decorated_image_impl_): ...this.
      	(impl_): New.
      	(lvalue): Update.
      	(write_): Remove; now in impl_.
      
      	* mln/value/all.hh: Update.
      	* mln/value/props.hh,
      	* mln/value/int_u.hh,
      	* mln/value/int_s.hh (min, max): Change to proc.
      	* mln/value/props.hh (mln_min, mln_max): Update.
      	(epsilon): Change to proc.
      	* mln/value/aliases.hh: New.
      	* mln/level/stretch.hh: Update.
      
      	* mln/arith/abs.hh: New.
      	* mln/arith/plus.hh: Overload.
      	* mln/fun/v2v/abs.hh: New.
      	* mln/level/apply.hh: Fix meaning; add todo.
      	* mln/math/abs.hh: Overload.
      
      	* mln/core/concept/iterator.hh (for_all_3): New.
      	* mln/math/round_sat.hh: New.
      	* mln/make/w_window_line.hh: New.
      	* mln/metal/abort.hh: New.
      	* mln/linear/line_convolve.hh: New.
      	* mln/linear/line_x2_convolve.hh: New.
      	* mln/linear/sobel.hh: New.
      	* tests/line_convolve.cc: New.
      	* tests/sobel.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1055 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2e66d4d3
    • Thierry Geraud's avatar
      Add local convolution. · 0b6be5d5
      Thierry Geraud authored
      	* mln/core/concept/doc/generalized_pixel.hh,
      	* mln/core/concept/generalized_pixel.hh,
      	* mln/core/internal/pixel_impl.hh (ima): New.
      	* mln/core/concept/doc/generalized_pixel.hh,
      	* mln/core/concept/doc/pixel_iterator.hh 
      	* mln/core/concept/generalized_pixel.hh,
      	* mln/core/concept/pixel_iterator.hh,
      	* mln/core/dpoints_pixter.hh (ctor): Better sig.
      	(center_value): Rename as...
      	(center_val): ...this.
      	* mln/core/internal/pixel_impl.hh (operator*): Rename as...
      	(val): ...this.
      	* mln/debug/iota.hh,
      	* mln/histo/compute.hh,
      	* mln/level/apply.hh,
      	* mln/level/assign.hh,
      	* mln/level/fast_median.hh,
      	* mln/level/take.hh,
      	* mln/level/transform.hh,
      	* mln/linear/convolve.hh,
      	: Update.
      	* mln/core/pixel.hh (is_valid): Disambiguate.
      	(include): Fix.
      
      	* mln/linear/local: New directory.
      	* mln/linear/local/convolve.hh: New.
      	* mln/make/pixel.hh: New.
      	* mln/metal/const.hh: New.
      	* tests/decorated_image.cc: Fix warning.
      	* tests/local_convolve.cc: New.
      	* tests/pixel.cc: Update and augment.
      	* tests/pixter_point2d.cc: Rename as...
      	* tests/pixter2d_b.cc: ...this.
      	Clean, update, and augment.
      	* tests/pixter_dpoint2d.cc: Rename as...
      	* tests/dpoints_pixter.cc: ...this.
      	Clean, update, and augment.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1054 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0b6be5d5
    • Thierry Geraud's avatar
      Add proper inheritance to functions. · ef48f52d
      Thierry Geraud authored
      	* mln/core/concept/doc/neighborhood.hh,
      	* mln/core/concept/neighborhood.hh,
      	* mln/core/neighb.hh (point): New.
      	* mln/convert/to_image.hh
      	(helper_dim_, helper_image_from_): New in mln::internal.
      	(image_from_): New in mln.
      	(mln_image_from): New macro.
      	(to_image): Fix; now generalized.
      
      	* mln/metal/all.hh: New.
      	* mln/metal/equal.hh: Update.
      	(mlc_equal): New.
      	* mln/metal/if.hh: New.
      	* mln/metal/is_a.hh: New.
      	* mln/metal/unptr.hh: New.
      	* mln/metal/unqualif.hh: New.
      	* mln/metal/unref.hh: New.
      
      	* mln/core/concept/function.hh (result): New in Function_p2b.
      	* mln/fun/internal: New directory.
      	* mln/pw/cst.hh: Precise inheritance.
      	* mln/pw/value.hh: Likewise.
      	(select_function_): Move to...
      	* mln/fun/internal/selector.hh: ...this new file.
      	(select_function_): Rename as...
      	(selector_): ...this.
      	* mln/fun/c.hh: New.
      	* mln/convert/to_fun.hh: New.
      
      	* mln/convert/to_window.hh (to_window): New overload.
      	* mln/estim/mean.hh (mean): New overload.
      	* mln/estim/sum.hh: New.
      	* mln/level/run.hh: Rename as...
      	* mln/level/compute.hh: ...this.
      	(run): Rename as...
      	(compute): ...this.
      	* tests/w_window2d_int.cc: Augment.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1053 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ef48f52d
    • Thierry Geraud's avatar
      Add some linear filters and augment related tools. · 7d205129
      Thierry Geraud authored
      	* mln/linear/convolve.hh: Add doc.
      	* mln/linear/log.hh (LoG_7x7, LoG_13x13, LoG_17x17): New.
      	* mln/linear/lap.hh: New.
      	* tests/linear_lap.cc: New.
      	* mln/convert/to_dpoint.hh: Add postcondition.
      	* mln/convert/to_w_window.hh: New.
      	* mln/core/w_window2d_float.hh: New.
      	* mln/make/w_window.hh: New.
      	* mln/make/w_window2d_int.hh: Remove; useless.
      
      	* mln/core/concept/doc/weighted_window.hh: Augment doc.
      	(weight, window): Rename as...
      	(w, win): ...these.
      	(weight, window): New associated types.
      	* mln/core/concept/weighted_window.hh: Update.
      	
      	* mln/core/window.hh (window_): Rename as...
      	(window): ...this.
      	* mln/core/w_window.hh (w_window_): Rename as...
      	(w_window): ...this.
      	(insert): Swap args; add precondition.
      	Update.
      	* mln/convert/to_image.hh,
      	* mln/convert/to_window.hh,
      	* mln/geom/pmin_pmax.hh,
      	* mln/geom/bbox.hh: New overload.
      	* mln/core/window2d.hh,
      	* mln/core/w_window2d_int.hh,
      	* mln/linear/convolve.hh,
      	* mln/make/w_window2d.hh,
      	* tests/convolve.cc,
      	* tests/pixter_dpoint2d.cc,
      	* tests/w_window2d_int.cc: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1052 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7d205129
    • Thierry Geraud's avatar
      Update accus and add LoG filter. · 38469bb4
      Thierry Geraud authored
      	* mln/core/concept/accumulator.hh (merge): New.
      	* mln/core/concept/doc/accumulator.hh
      	(take): New; overload.
      	* mln/accu/bbox.hh,
      	* mln/accu/count.hh,
      	* mln/accu/histo.hh,
      	* mln/accu/max.hh,
      	* mln/accu/mean.hh,
      	* mln/accu/min.hh,
      	* mln/accu/sum.hh (operator+=): Rename as...
      	(take): ...this.
      	(conversion): Remove operator; too risky.
      	Update.
      	* mln/estim/mean.hh: Update.
      	* mln/level/fast_median.hh: Update.
      	* mln/level/median.hh: Update.
      	* mln/level/naive/median.hh: Update.
      	* mln/morpho/erosion.hh: Update.
      
      	* mln/border/duplicate.hh,
      	* mln/border/fill.hh,
      	* mln/border/mirror.hh,
      	* mln/border/resize.hh: Add fixme.
      	
      	* mln/io/load_pgm,
      	* mln/io/save_pgm: Fix for g++-2.95.
      	* mln/linear/convolve.hh: Use border.
      	* tests/convolve.cc: Update.
      	
      	* mln/accu/min_max.hh: New.
      	* mln/estim/min_max.hh: New.
      	* mln/fun/v2v/linear.hh: New.
      	* mln/level/stretch.hh: New.
      	* mln/linear/log.hh: New.
      	* mln/value/props.hh (epsilon): New.
      	* tests/linear_log.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1051 4aad255d-cdde-0310-9447-f3009e2ae8c0
      38469bb4
    • Thierry Geraud's avatar
      Add 'decorated image' morpher. · 591901fb
      Thierry Geraud authored
      	* mln/core/decorated_image.hh: New.
      	* mln/core/internal/image_adaptor.hh (adaptee): New.
      	* mln/metal/unconst.hh: New.
      	* mln/metal/vec.hh (vec): New ctors.
      	(operator==): New.
      	* mln/metal/make: New directory.
      	* mln/metal/make/vec.hh: New.
      	* mln/value/proxy: New.
      	* mln/value/stack.hh (helper_stack_image_lvalue_): New.
      	(read_, write_): New.
      	(operator()): Fix.
      	(stack): New overload for n=2 and I mutable.
      	* tests/decorated_image.cc: New.
      	* tests/stack.cc: Augment.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1050 4aad255d-cdde-0310-9447-f3009e2ae8c0
      591901fb
    • Thierry Geraud's avatar
      Handle const promotion for morphers. · ef1feee9
      Thierry Geraud authored
      	* mln/core/internal/image_adaptor.hh (operator I): New.
      	(pset_): Remove; uncompatible with temporary pset.
      	(domain): Change sig.
      	* mln/core/inplace.hh: New.
      	* tests/line2d.cc: Augment; use inplace.
      	* mln/core/sub_image.hh: New.
      	* tests/sub_image.cc: New.
      
      	* mln/core/safe.hh (safe): New overload; const version.
      	(safe_image): Update.
      	(default_value): New.
      	(operator safe_image<const I>): New.
      	* tests/safe_image.cc: Augment.
      	* mln/core/queue_p.hh (push): Fix missing return.
      	* mln/core/internal/image_base.hh: Add doc.
      	* mln/core/pset_if_piter.hh (fixme): Remove include; useless.
      	* mln/core/vec_p_piter.hh: Likewise.
      	* mln/make/box2d: Change arg list (all min first).
      	* tests/to_image.cc: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1049 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ef1feee9
    • Thierry Geraud's avatar
      Renaming. · d7cfbdbf
      Thierry Geraud authored
      	* mln/core/fimage.hh,
      	* tests/fimage.cc: Rename as...
      	* mln/pw/image.hh,
      	* tests/pw_image.cc: ...these.
      	* mln/pw/all.hh,
      	* mln/draw/line.hh,
      	* tests/line2d.cc: Update.
      	
      	* mln/core/pqueue.hh,
      	* mln/core/pvec.hh,
      	* mln/core/pvec_piter.hh,
      	* mln/core/pset.hh,
      	* tests/pqueue.cc,
      	* tests/pset.cc: Rename as...
      	* mln/core/queue_p.hh,
      	* mln/core/vec_p.hh,
      	* mln/core/vec_p_piter.hh,
      	* mln/core/set_p.hh,
      	* tests/queue_p.cc,
      	* tests/set_p.cc: ...these.
      	* mln/core/line2d.hh: Update.
      	
      	* mln/core/psubset.hh,
      	* mln/core/psubset_piter.hh,
      	* mln/core/subimage.hh,
      	* tests/psubset.cc,
      	* tests/subimage.cc: Rename as...
      	* mln/core/pset_if.hh,
      	* mln/core/pset_if_piter.hh,
      	* mln/core/image_if.hh,
      	* tests/pset_if.cc,
      	* tests/image_if.cc: ...these.
      	* tests/to_image.cc: Update.
      
      	* mln/accu/counter.hh: Rename as...
      	* mln/accu/count.hh: ...this.
      	* mln/accu/count.hh,
      	* mln/accu/mean.hh,
      	* mln/accu/sum.hh (operator+=): New.
      	* mln/value/props.hh (mln_sum, sum): New.
      	* mln/accu/mean.hh,
      	* mln/accu/sum.hh,
      	* mln/value/int_u.hh,
      	* mln/value/int_s.hh: Update.
      	* mln/level/apply.hh: Move accumulator version into...
      	* mln/level/take.hh: ...this new file.
      	* mln/level/run.hh: New.
      	* mln/estim/mean.hh: Update.
      	
      	* mln/core/internal/set_of.hh (operator==): Remove;
      	too error-prone.
      	* mln/core/concept/window.hh (operator==): New.
      	* tests/rectangle2d.cc: Fix.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1048 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d7cfbdbf
  6. 08 Aug, 2007 1 commit
  7. 30 Jul, 2007 1 commit
    • Nicolas Ballas's avatar
      Add RLE and Sparse image to milena. · 404fc075
      Nicolas Ballas authored
      	* tests/sparse_image.cc,
      	* tests/run_pset.cc,
      	* tests/rle_image.cc: test.
      	* mln/core/sparse_encode.hh: Encode an image into a sparse image.
      	* mln/core/internal/run_image.hh: New, factorisation class.
      	* mln/core/internal/run_psite.hh: New, run psite class.
      	* mln/core/internal/run_pset.hh: New, point set of run image.
      	* mln/core/rle_image.hh: New, rle_image class.
      	* mln/core/rle_encode.hh: Encode an image into an rle image.
      	* mln/core/sparse_image.hh: New, sparse_image class.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1046 4aad255d-cdde-0310-9447-f3009e2ae8c0
      404fc075
  8. 27 Jul, 2007 2 commits
    • Thierry Geraud's avatar
      Clean-up windows! · 7e1da0e6
      Thierry Geraud authored
      	* mln/core/internal/dpoints_base.hh: New.
      	* mln/core/concept/doc/weighted_window.hh: New.
      	* mln/core/w_window.hh
      	(element, nelements): Rename as...
      	(dp, ndpoints): ...these.
      	(sym_): Add body.
      	Update.
      	* mln/core/window.hh (super_): Update.
      	(qiter): Remove; obsolete.
      	(point, dpoint, is_centered, delta): Remove; factored.
      	* mln/core/dpoints_pixter.hh: Update.
      	* mln/core/concept/weighted_window.hh
      	(is_symmetric): Remove; too ambiguous.
      	* mln/core/win/vline2d.hh: Update inheritance.
      	* mln/core/win/hline2d.hh: Likewise.
      	* mln/core/win/rectangle2d.hh: Likewise.
      	(qiter): Remove; obsolete.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1045 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7e1da0e6
    • Thierry Geraud's avatar
      Add weighted windows and related tools + a generic convolution. · dc84877e
      Thierry Geraud authored
      	* tests/convolve.cc: New.
      	* tests/w_window2d_int.cc: New.
      	* mln/core/w_window.hh: New.
      	* mln/core/concept/weighted_window.hh: New.
      	* mln/core/w_window2d_int.hh: New.
      	* mln/math/round.hh: New.
      	* mln/linear: New.
      	* mln/linear/convolve.hh: New.
      	* mln/make/w_window2d.hh: New.
      	* mln/make/w_window2d_int.hh: New.
      	* mln/core/dpoints_piter.hh: Change accessibility.
      	* mln/core/internal/pixel_impl.hh
      	(address_): Remove preconditions.
      	* mln/core/image2d_b.hh: Update include.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1044 4aad255d-cdde-0310-9447-f3009e2ae8c0
      dc84877e
  9. 26 Jul, 2007 4 commits
    • Thierry Geraud's avatar
      Add a queue of points. · 9096ba3e
      Thierry Geraud authored
      	* tests/pqueue.cc: New.
      	* TODO: Update.
      	* mln/core/pvec.hh: Fix.
      	* mln/core/pqueue.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1043 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9096ba3e
    • Thierry Geraud's avatar
      Add stack and transpose morphers. · 4a1c591a
      Thierry Geraud authored
      	* tests/t_image.cc: New.
      	* tests/stack.cc: New.
      	* tests/approx_median.cc: New.
      	* mln/core/t_image.hh: New.
      	* mln/value/stack.hh: New.
      	* tests/median.cc: Update.
      	* tests/README: Update.
      	* mln/core/internal/image_base.hh
      	(morpher_lvalue_): New.
      	* mln/core/internal/image_adaptor.hh: Use morpher_lvalue_.
      	(image_adaptor_): Change Image<I> into I.
      	* mln/core/safe.hh: Update.
      	* mln/core/image2d_b.hh: Remove dead code.
      	* mln/metal/vec.hh: Split decls and defs.
      	(operator<<): New.
      	* mln/level/median.hh (hline2d): Update.
      	(vline2d): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1042 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4a1c591a
    • Thierry Geraud's avatar
      Fix doc. · 585b68e6
      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
      585b68e6
    • Thierry Geraud's avatar
      Various clean-ups + add line2d. · 9705761c
      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
      9705761c
  10. 25 Jul, 2007 2 commits
    • Thierry Geraud's avatar
      Add a label type and labeling. · 21d11b8f
      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
      21d11b8f
    • Thierry Geraud's avatar
      Add pset and pvec point sets. · 2655e8c7
      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
      2655e8c7
  11. 24 Jul, 2007 3 commits
    • Thierry Geraud's avatar
      Add int_s, an histogram class, and distributed sort. · 2df3dd07
      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
      2df3dd07
    • Thierry Geraud's avatar
      Make value::set works for any type. · 8b9996bc
      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
      8b9996bc
    • Thierry Geraud's avatar
      Handle constness properly in pixel iterators. · dd2ed9b3
      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
      dd2ed9b3
  12. 23 Jul, 2007 8 commits
    • Thierry Geraud's avatar
      Add some morphers and handle constness in pixterators. · 3e354f09
      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
      3e354f09
    • Roland Levillain's avatar
      Configure new Makefiles. · ab3010b4
      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
      ab3010b4
    • Roland Levillain's avatar
      Adjust samples to the new interface of Static. · 8f138ec8
      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
      8f138ec8
    • Thierry Geraud's avatar
      Some renaming and add phantom border routines. · b289c13f
      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
      b289c13f
    • Roland Levillain's avatar
      Adjust tests to the new interface of Static. · 6ca9715f
      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
      6ca9715f
    • Roland Levillain's avatar
      Fix ChangeLogs. · dfc9fcd7
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1029 4aad255d-cdde-0310-9447-f3009e2ae8c0
      dfc9fcd7
    • Roland Levillain's avatar
      Clean up stc/scoop.hxx a bit. · d0ca3c91
      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
      d0ca3c91
    • Thierry Geraud's avatar
      Renaming some concepts with more explicit and longer names. · 1cc37c7a
      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
      1cc37c7a
  13. 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