1. 31 Dec, 2008 1 commit
    • Guillaume Lazzara's avatar
      Rename Image::has_data() to Image::is_valid(). · aa62d349
      Guillaume Lazzara authored
      	* mln/accu/compute.hh,
      	* mln/accu/line.hh,
      	* mln/accu/take.hh,
      	* mln/accu/transform.hh,
      	* mln/accu/transform_diagonal.hh,
      	* mln/accu/transform_directional.hh,
      	* mln/accu/transform_snake.hh,
      	* mln/accu/transform_stop.hh,
      	* mln/arith/diff_abs.hh,
      	* mln/arith/minus.hh,
      	* mln/arith/plus.hh,
      	* mln/arith/revert.hh,
      	* mln/arith/times.hh,
      	* mln/binarization/binarization.hh,
      	* mln/binarization/threshold.hh,
      	* mln/border/adjust.hh,
      	* mln/border/duplicate.hh,
      	* mln/border/equalize.hh,
      	* mln/border/fill.hh,
      	* mln/border/find.hh,
      	* mln/border/get.hh,
      	* mln/border/mirror.hh,
      	* mln/border/resize.hh,
      	* mln/canvas/browsing/fwd.hh,
      	* mln/canvas/browsing/snake_fwd.hh,
      	* mln/canvas/browsing/snake_generic.hh,
      	* mln/canvas/browsing/snake_vert.hh,
      	* mln/canvas/distance_front.hh,
      	* mln/canvas/distance_geodesic.hh,
      	* mln/canvas/labeling.hh,
      	* mln/convert/from_to.hh,
      	* mln/convert/to_p_set.hh,
      	* mln/convert/to_window.hh,
      	* mln/core/concept/doc/image.hh,
      	* mln/core/concept/image.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/dpoints_pixter.hh,
      	* mln/core/image/bgraph_image.hh,
      	* mln/core/image/cast_image.hh,
      	* mln/core/image/ch_piter.hh,
      	* mln/core/image/complex_image.hh,
      	* mln/core/image/decorated_image.hh,
      	* mln/core/image/extended.hh,
      	* mln/core/image/extension_fun.hh,
      	* mln/core/image/extension_ima.hh,
      	* mln/core/image/extension_val.hh,
      	* mln/core/image/flat_image.hh,
      	* mln/core/image/fun_image.hh,
      	* mln/core/image/hexa.hh,
      	* mln/core/image/image1d.hh,
      	* mln/core/image/image2d.hh,
      	* mln/core/image/image3d.hh,
      	* mln/core/image/image_if.hh,
      	* mln/core/image/interpolated.hh,
      	* mln/core/image/lazy_image.hh,
      	* mln/core/image/mono_obased_rle_image.hh,
      	* mln/core/image/mono_rle_image.hh,
      	* mln/core/image/obased_rle_image.hh,
      	* mln/core/image/plain.hh,
      	* mln/core/image/rle_image.hh,
      	* mln/core/image/safe.hh,
      	* mln/core/image/sparse_image.hh,
      	* mln/core/image/sub_image.hh,
      	* mln/core/image/sub_image_if.hh,
      	* mln/core/image/t_image.hh,
      	* mln/core/image/tr_image.hh,
      	* mln/core/image/value_enc_image.hh,
      	* mln/core/image/violent_cast_image.hh,
      	* mln/core/internal/check/image_fastest.hh,
      	* mln/core/internal/image_base.hh,
      	* mln/core/internal/image_morpher.hh,
      	* mln/core/internal/pixel_iterator_base.hh,
      	* mln/core/internal/run_image.hh,
      	* mln/core/pixel.hh,
      	* mln/core/pixter1d.hh,
      	* mln/core/pixter2d.hh,
      	* mln/core/pixter3d.hh,
      	* mln/core/routine/duplicate.hh,
      	* mln/core/routine/initialize.hh,
      	* mln/core/routine/primary.hh,
      	* mln/core/site_set/p_image.hh,
      	* mln/core/w_window.hh,
      	* mln/data/fill.hh,
      	* mln/data/fill_with_image.hh,
      	* mln/data/fill_with_value.hh,
      	* mln/data/memcpy_.hh,
      	* mln/data/memset_.hh,
      	* mln/data/paste.hh,
      	* mln/debug/colorize.hh,
      	* mln/debug/iota.hh,
      	* mln/draw/box.hh,
      	* mln/draw/line.hh,
      	* mln/draw/plot.hh,
      	* mln/estim/mean.hh,
      	* mln/estim/min_max.hh,
      	* mln/estim/sum.hh,
      	* mln/extension/adjust.hh,
      	* mln/extension/fill.hh,
      	* mln/geom/bbox.hh,
      	* mln/geom/max_col.hh,
      	* mln/geom/max_ind.hh,
      	* mln/geom/max_row.hh,
      	* mln/geom/max_sli.hh,
      	* mln/geom/min_col.hh,
      	* mln/geom/min_ind.hh,
      	* mln/geom/min_row.hh,
      	* mln/geom/min_sli.hh,
      	* mln/geom/ncols.hh,
      	* mln/geom/ninds.hh,
      	* mln/geom/nrows.hh,
      	* mln/geom/nsites.hh,
      	* mln/geom/nslis.hh,
      	* mln/geom/seeds2tiling.hh,
      	* mln/geom/seeds2tiling_roundness.hh,
      	* mln/histo/compute.hh,
      	* mln/io/txt/save.hh,
      	* mln/labeling/background.hh,
      	* mln/labeling/blobs.hh,
      	* mln/labeling/compute.hh,
      	* mln/labeling/flat_zones.hh,
      	* mln/labeling/foreground.hh,
      	* mln/labeling/level.hh,
      	* mln/labeling/regional_maxima.hh,
      	* mln/labeling/regional_minima.hh,
      	* mln/labeling/relabel.hh,
      	* mln/level/abs.hh,
      	* mln/level/apply.hh,
      	* mln/level/convert.hh,
      	* mln/level/fast_median.hh,
      	* mln/level/replace.hh,
      	* mln/level/saturate.hh,
      	* mln/level/sort_psites.hh,
      	* mln/level/stretch.hh,
      	* mln/level/transform.hh,
      	* mln/level/transform_inplace.hh,
      	* mln/level/update.hh,
      	* mln/level/was.median.hh,
      	* mln/linear/convolve.hh,
      	* mln/linear/convolve_2x1d.hh,
      	* mln/linear/convolve_directional.hh,
      	* mln/linear/gaussian.hh,
      	* mln/linear/lap.hh,
      	* mln/linear/local/convolve.hh,
      	* mln/linear/log.hh,
      	* mln/linear/sobel_2d.hh,
      	* mln/logical/includes.hh,
      	* mln/logical/not.hh,
      	* mln/make/dual_neighb.hh,
      	* mln/make/graph.hh,
      	* mln/morpho/closing.hh,
      	* mln/morpho/closing_area.hh,
      	* mln/morpho/closing_area_on_vertices.hh,
      	* mln/morpho/closing_attribute.hh,
      	* mln/morpho/closing_height.hh,
      	* mln/morpho/closing_volume.hh,
      	* mln/morpho/complementation.hh,
      	* mln/morpho/contrast.hh,
      	* mln/morpho/dilation.hh,
      	* mln/morpho/elementary/closing.hh,
      	* mln/morpho/elementary/dilation.hh,
      	* mln/morpho/elementary/erosion.hh,
      	* mln/morpho/elementary/gradient.hh,
      	* mln/morpho/elementary/gradient_external.hh,
      	* mln/morpho/elementary/gradient_internal.hh,
      	* mln/morpho/elementary/laplacian.hh,
      	* mln/morpho/elementary/opening.hh,
      	* mln/morpho/elementary/top_hat.hh,
      	* mln/morpho/erosion.hh,
      	* mln/morpho/general.hh,
      	* mln/morpho/gradient.hh,
      	* mln/morpho/hit_or_miss.hh,
      	* mln/morpho/laplacian.hh,
      	* mln/morpho/opening.hh,
      	* mln/morpho/opening_area.hh,
      	* mln/morpho/opening_area_on_vertices.hh,
      	* mln/morpho/opening_attribute.hh,
      	* mln/morpho/opening_height.hh,
      	* mln/morpho/opening_volume.hh,
      	* mln/morpho/rank_filter.hh,
      	* mln/morpho/thickening.hh,
      	* mln/morpho/thin_fit.hh,
      	* mln/morpho/thinning.hh,
      	* mln/morpho/top_hat.hh,
      	* mln/morpho/tree/compute_parent.hh,
      	* mln/morpho/tree/data.hh,
      	* mln/morpho/tree/max.hh,
      	* mln/morpho/tree/utils.hh,
      	* mln/pw/value.hh,
      	* mln/subsampling/gaussian_subsampling.hh,
      	* mln/subsampling/subsampling.hh,
      	* mln/test/positive.hh,
      	* mln/test/predicate.hh,
      	* mln/transform/distance_front.hh,
      	* mln/transform/distance_geodesic.hh,
      	* mln/transform/influence_zone_front.hh,
      	* mln/transform/influence_zone_geodesic.hh,
      	* mln/value/stack.hh: apply the renaming here.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3123 4aad255d-cdde-0310-9447-f3009e2ae8c0
      aa62d349
  2. 28 Nov, 2008 1 commit
    • Guillaume Lazzara's avatar
      Fix more tests. · 2e845d6c
      Guillaume Lazzara authored
      	* mln/accu/count_adjacent_vertices.hh: make it work with the
      new graph images.
      
      	* mln/accu/median_alt.hh: fix compilation issue.
      
      	* mln/util/multi_site.hh,
      	* mln/util/vertex.hh,
      	* mln/util/internal/graph_nbh_iter.hh,
      	* mln/core/internal/pixel_impl.hh,
      	* mln/core/internal/set_of.hh,
      	* mln/core/site_set/box_piter.hh,
      	* mln/core/site_set/p_centered.hh,
      	* mln/fun/p2b/has.hh,
      	* mln/fun/x2p/closest_point.hh,
      	* mln/geom/seeds2tiling_roundness.hh,
      	* mln/io/txt/save.hh,
      	* mln/metal/vec.hh,
      	* mln/morpho/internal/elementary.hh,
      	* mln/morpho/tree/data.hh,
      	* mln/registration/get_rot.hh,
      	* mln/registration/get_rtransf.hh,
      	* mln/registration/multiscale.hh,
      	* mln/topo/face.hh,
      	* mln/topo/face_iter.hh,
      	* mln/topo/n_face.hh,
      	* mln/trait/op/ord.hh,
      	* mln/util/edge.hh,
      	* mln/core/dpoints_pixter.hh,
      	* mln/core/internal/check/image_all.hh,
      	* mln/core/internal/check/image_fastest.hh,
      	* mln/core/internal/graph_neighborhood_base.hh,
      	* mln/core/internal/graph_window_base.hh,
      	* mln/core/concept/graph.hh,
      	* mln/canvas/browsing/snake_generic.hh,
      	* mln/accu/rank_high_quant.hh: fix includes.
      
      	* mln/border/resize.hh: avoid a warning.
      
      	* mln/core/internal/image_if_base.hh: removed since it is unused and
      	not updated.
      
      	* mln/util/internal/graph_edge_impl.hh: rename as...
      	* mln/util/internal/edge_impl.hh: ... this.
      
      	* mln/util/internal/graph_vertex_impl.hh: rename as...
      	* mln/util/internal/vertex_impl.hh: ... this.
      
      	* tests/morpho/Makefile.am: disable more tests.
      
      	* tests/unit_test/build_unit_test.sh: do not include mln/core/doc
      	headers.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@2973 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2e845d6c
  3. 13 Nov, 2008 2 commits
    • Guillaume Lazzara's avatar
      Make Olena compile with MLN_INCLUDE_ONLY and cleanup comments. · 2124e60a
      Guillaume Lazzara authored
      	* mln/arith/diff_abs.hh: Fix bad namespace closure.
      
      	* mln/morpho/dilation_fast.hh,
      	* mln/trait/image/print.hh,
      	* mln/trait/op/ord.hh,
      	* mln/level/median.hh,
      	* mln/estim/mean.hh,
      	* mln/estim/min_max.hh,
      	* mln/estim/sum.hh,
      	* mln/estim/all.hh,
      	* mln/estim/essential.hh,
      	* mln/arith/diff_abs.hh,
      	* mln/arith/min.hh,
      	* mln/arith/min.spe.hh,
      	* mln/arith/minus.hh,
      	* mln/arith/plus.hh,
      	* mln/arith/revert.hh,
      	* mln/arith/revert.spe.hh,
      	* mln/arith/times.hh,
      	* mln/arith/times.spe.hh: Cleanup comments.
      
      	* mln/morpho/hit_or_miss.hh,
      	* mln/display/save.hh,
      	* mln/canvas/browsing/backdiagonal2d.hh,
      	* mln/canvas/browsing/diagonal2d.hh,
      	* mln/canvas/browsing/dir_struct_elt_incr_update.hh,
      	* mln/canvas/browsing/directional.hh,
      	* mln/canvas/browsing/essential.hh,
      	* mln/canvas/browsing/fwd.hh,
      	* mln/canvas/browsing/hyper_directional.hh,
      	* mln/canvas/browsing/snake_fwd.hh,
      	* mln/canvas/browsing/snake_generic.hh,
      	* mln/canvas/browsing/snake_vert.hh: Fix wrong declaration of global
      	variables.
      
      	* mln/value/float01.hh,
      	* mln/core/contract.hh: add missing inline.
      
      	* mln/fun/p2b/chess.hh,
      	* mln/fun/p2v/iota.hh: remove global variables.
      
      	* mln/fun/v2v/rgb_to_hsi.hh: Split interface and implementation.
      
      	* mln/geom/chamfer.hh: Fix compilation issue.
      
      	* mln/make/win_chamfer.hh: Move implementation between
      	MLN_INCLUDE_ONLY guards.
      
      	* tests/Makefile.am,
      	* tests/global_vars1.cc,
      	* tests/global_vars2.cc: Add a new test to check whether global
      	variables are declared correctly or not.
      
      	* tests/border/find_full.cc,
      	* tests/border/get_full.cc,
      	* tests/convert/to_image.cc,
      	* tests/core/image/cast_image.cc,
      	* tests/core/image/image_if.cc,
      	* tests/core/site_set/pset_if.cc,
      	* tests/level/fill_with_image.cc,
      	* tests/level/fill_with_value.cc,
      	* tests/level/paste.cc,
      	* tests/level/transform.cc,
      	* tests/trait/image/images.cc: update according the new use of
      	p2v::iota and p2b::chess.
      
      	* tests/pw/image.cc: Make it a real test.
      
      	* mln/level/compute.hh: Fix ambiguity.
      
      	* tests/border/get.cc,
      	* tests/border/resize_image_if.cc: Fix tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2865 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2124e60a
    • Thierry Geraud's avatar
      Specialize accu tranform for fastest images. · e2e80afa
      Thierry Geraud authored
      	* mln/accu/snake_2d.hh (todo): New.
      	* mln/accu/transform.hh (transform_fastest): New.
      	(transform_dispatch): New overload.
      	(todo): Remove; obsolete.
      	* mln/canvas/browsing/snake_generic.hh: Upgrade doc style.
      	(include): Remove useless 'stack'.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2862 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e2e80afa
  4. 01 Oct, 2008 1 commit