1. 30 Dec, 2008 15 commits
    • Roland Levillain's avatar
      Exercise the curvature computation routines ported from Trimesh. · 93b20ae0
      Roland Levillain authored
      	* apps/statues/mesh-complex-max-curv.cc: New.
      	* test-mesh-complex-max-curv.in: New test.
      	* apps/statues/Makefile.am (bin_PROGRAMS): Add
      	mesh-complex-max-curv.
      	(mesh_complex_max_curv_SOURCES): New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3104 4aad255d-cdde-0310-9447-f3009e2ae8c0
      93b20ae0
    • Roland Levillain's avatar
      Port Trimesh's curvature computation routines to Milena. · 2a42db14
      Roland Levillain authored
      	* apps/statues/trimesh/: New directory.
      	* apps/statues/trimesh/misc.hh: New.
      	* apps/statues/trimesh/README: New.
      	* apps/statues/Makefile.am (noinst_HEADERS): New.
      	Add trimesh/misc.hh.
      	(EXTRA_DIST): New.
      	Add trimesh/README.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3103 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2a42db14
    • Roland Levillain's avatar
      Simplify the normalization of vectors. · 242a0b22
      Roland Levillain authored
      	* mln/algebra/vec.hh (mln::algebra::vec<n, T>::normalize):
      	Use mln::norm::l2 instead of ad hoc code.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3102 4aad255d-cdde-0310-9447-f3009e2ae8c0
      242a0b22
    • Roland Levillain's avatar
      More complex-related aliases. · 1f67bcdf
      Roland Levillain authored
      	* mln/core/alias/complex_geometry.hh
      	(mln::discrete_plane_2complex_geometry)
      	* mln/core/alias/complex_image.hh
      	(mln::int_u8_2complex_image2d):
      	New typedefs.
      	Typos & aesthetic changes.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3101 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f67bcdf
    • Roland Levillain's avatar
      Clean up apps/statues/ a bit. · 07554a3d
      Roland Levillain authored
      	* apps/statues/mesh-max-curv.cc, apps/statues/mesh-pinv-curv.cc,
      	* apps/statues/mesh-segm.cc, apps/statues/mesh-skel.cc:
      	s/exit/std::exit/.
      	* apps/statues/mesh-pinv-curv.cc (pi): Make it a constant.
      	* apps/statues/mesh-max-curv.cc (pi): Remove useless constant.
      	Remove useless #include directives.
      	Typo in comment.
      	* apps/statues/mesh-skel.cc: Fix Doxygen headers.
      	* apps/statues/mesh-complex-segm.cc: Aesthetic changes.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3100 4aad255d-cdde-0310-9447-f3009e2ae8c0
      07554a3d
    • Roland Levillain's avatar
      Disable graph-based applications depending on Trimesh. · c6bfed2b
      Roland Levillain authored
      	* apps/statues/Makefile.am (bin_PROGRAMS)
      	(mesh_segm_SOURCES, mesh_segm_CPPFLAGS)
      	(mesh_segm_LDFLAGS, mesh_segm_LDADD)
      	(mesh_skel_SOURCES, mesh_skel_CPPFLAGS)
      	(mesh_skel_LDFLAGS, mesh_skel_LDADD):
      	Disable mesh-segm and mesh-skel.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3099 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c6bfed2b
    • Roland Levillain's avatar
      Add a squared L2-norm. · 337c61be
      Roland Levillain authored
      	* mln/norm/l2.hh (mln::norm::internal::sqr_l2_(const V&)):
      	New function.
      	(mln::norm::sqr_l2(const C (&vec)[n]))
      	(mln::norm::sqr_l2(const algebra::vec<n,C>&)):
      	New facades.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3098 4aad255d-cdde-0310-9447-f3009e2ae8c0
      337c61be
    • Roland Levillain's avatar
      Add a missing accessor in mln::p_complex. · 1e5ef56b
      Roland Levillain authored
      	* mln/core/site_set/p_complex.hh
      	(mln::p_complex::nfaces(unsigned)): New accessor.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3097 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1e5ef56b
    • Roland Levillain's avatar
      Fix complex-based image-related #include's. · 08ca1085
      Roland Levillain authored
      	* mln/core/internal/complex_neighborhood_base.hh: Include
      	mln/core/image/complex_neighborhood_piter.hh.
      	* mln/core/internal/complex_window_p_base.hh: Include
      	mln/core/image/complex_window_piter.hh
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3096 4aad255d-cdde-0310-9447-f3009e2ae8c0
      08ca1085
    • Roland Levillain's avatar
      Configure segmentation tests in milena/apps/statues/. · 84e050a0
      Roland Levillain authored
      	* configure.ac: Configure milena/apps/statues/test-mesh-segm and
      	milena/apps/statues/test-mesh-complex-segm.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3095 4aad255d-cdde-0310-9447-f3009e2ae8c0
      84e050a0
    • Roland Levillain's avatar
      Reorganize tests in apps/statues/. · 854ba247
      Roland Levillain authored
      	* apps/statues/test.in: Split into...
      	* apps/statues/test-mesh-segm.in,
      	* apps/statues/test-mesh-complex-segm.in:
      	...these (new) files.
      	* apps/statues/Makefile.am (TESTS): Adjust.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3094 4aad255d-cdde-0310-9447-f3009e2ae8c0
      854ba247
    • Roland Levillain's avatar
      COPYING: Fix indentation. · 4ba1021b
      Roland Levillain authored
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3093 4aad255d-cdde-0310-9447-f3009e2ae8c0
      4ba1021b
    • Thierry Geraud's avatar
      Fix warnings due to g++ -Wconversion option. · d79cd7a9
      Thierry Geraud authored
      	* mln/core/site_set/box.hh,
      	* mln/core/site_set/p_line2d.hh,
      	* mln/core/image/extension_val.hh,
      	* mln/math/jacobi.hh,
      	* mln/level/transform.hh,
      	* mln/data/paste.spe.hh,
      	* mln/data/fill_with_image.hh,
      	* mln/data/fill_with_value.spe.hh,
      	* mln/data/fill.hh,
      	* mln/data/paste.hh,
      	* mln/data/fill_with_value.hh,
      	* mln/linear/gaussian.hh,
      	* mln/accu/convolve.hh,
      	* mln/value/ops.hh,
      	* mln/value/int_u_sat.hh,
      	* mln/border/mirror.hh,
      	* mln/convert/to_image.hh,
      	* mln/geom/essential.hh,
      	* mln/fun/v2v/inc.hh,
      	* mln/fun/v2v/cast.hh,
      	* mln/fun/v2v/linear.hh,
      	* mln/fun/v2v/dec.hh,
      	* mln/win/cuboid3d.hh,
      	* mln/win/cube3d.hh,
      	* mln/algebra/quat.hh,
      	* mln/algebra/vec.hh,
      	* mln/io/pbm/load.hh,
      	* mln/norm/linfty.hh,
      	* mln/norm/l1.hh,
      	* mln/norm/l2.hh,
      	* mln/canvas/browsing/snake_fwd.hh,
      	* mln/canvas/browsing/dir_struct_elt_incr_update.hh,
      	* tests/opt/at.cc,
      	* tests/level/transform_inplace.cc,
      	* tests/level/transform.cc,
      	* tests/level/sort_psites.cc,
      	* tests/level/Makefile.am,
      	* tests/data/paste.cc,
      	* tests/data/fill_with_image.cc,
      	* tests/linear/convolve.cc,
      	* tests/linear/convolve_directional.cc,
      	* tests/linear/gaussian.cc,
      	* tests/norm/l2.cc,
      	* tests/norm/common.hh,
      	* tests/norm/linfty.cc: Fix warning with Wconversion.
      	Upgrade file doc style.
      	Layout.
      
      	Remove a couple of (full of crap) files.
      	
      	* mln/geom/resize.hh: Remove.
      	* mln/geom/all.hh: Update.
      	* tests/geom/resize.cc: Remove.
      	* tests/geom/Makefile.am: Update.
      	* tests/level/sort_psites_full.cc: Remove.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3092 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d79cd7a9
    • Thierry Geraud's avatar
      Fix warnings due to g++ Wconversion option. · 5627b2c0
      Thierry Geraud authored
      	* mln/debug/iota.spe.hh,
      	* mln/debug/put_word.hh,
      	* mln/debug/println.spe.hh,
      	* mln/core/site_set/box.hh,
      	* mln/core/site_set/box_piter.hh,
      	* mln/core/image/image1d.hh,
      	* mln/core/image/image2d.hh,
      	* mln/core/image/image3d.hh,
      	* mln/core/point.hh,
      	* mln/core/box_runstart_piter.hh,
      	* mln/core/alias/window2d.hh,
      	* mln/core/concept/site_set.hh,
      	* mln/core/dpoint.hh,
      	* mln/math/abs.hh,
      	* mln/opt/at.hh,
      	* mln/accu/sum.hh,
      	* mln/accu/line.hh,
      	* mln/accu/mean.hh,
      	* mln/value/float01_.hh,
      	* mln/value/int_s.hh,
      	* mln/value/int_u.hh,
      	* mln/value/float01.hh,
      	* mln/make/win_chamfer.hh,
      	* mln/make/image.hh,
      	* mln/make/box2d_h.hh,
      	* mln/make/point2d_h.hh,
      	* mln/make/dpoint2d_h.hh,
      	* mln/make/box1d.hh,
      	* mln/make/box2d.hh,
      	* mln/make/box3d.hh,
      	* mln/border/mirror.hh,
      	* mln/convert/to_image.hh,
      	* mln/win/line.hh,
      	* mln/win/diag2d.hh,
      	* mln/win/backdiag2d.hh,
      	* mln/win/octagon2d.hh,
      	* mln/win/disk2d.hh,
      	* mln/algebra/mat.hh,
      	* mln/algebra/h_vec.hh,
      	* mln/algebra/vec.hh,
      	* mln/io/pnm/save_header.hh,
      	* mln/io/pnm/load_header.hh,
      	* mln/io/pnm/save.hh,
      	* mln/io/pnm/load.hh,
      	* mln/io/pbm/save.hh,
      	* tests/data/fill.cc,
      	* tests/border/fill_full.cc,
      	* tests/convert/to_p_array.cc,
      	* tests/convert/to_image.cc,
      	* tests/win/diag2d.cc: Use static_cast.
      	Replace int by def::coord when needed.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3091 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5627b2c0
    • Guillaume Lazzara's avatar
      Fix from_to related errors. · ee85dfef
      Guillaume Lazzara authored
      	* mln/core/concept/window.hh: rename from_to as from_to_.
      
      	* mln/core/site_set/operators.hh: remove the inclusion of from_to.hh
      	and directly call from_to_ overloads instead of the facade.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3090 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ee85dfef
  2. 29 Dec, 2008 8 commits
    • Guillaume Lazzara's avatar
      Fix issues with GCC 2.95. · 9107acf4
      Guillaume Lazzara authored
      	* mln/value/internal/limits.hh: add support for std::numeric_limits with gcc 2.95.
      
      	* headers.mk: add limits.hh.
      
      	* mln/topo/complex.hh,
      	* mln/topo/face.hh,
      	* mln/topo/n_face.hh,
      	* mln/value/builtin/floatings.hh,
      	* mln/value/builtin/integers.hh: use value::internal::limits.
      
      
      	* mln/util/internal/graph_base.hh,
      	* mln/util/tree.hh: use <iostream> instead of <ostream>.
      
      	* mln/core/dpoint.hh,
      	* mln/core/point.hh: Help the compiler resolving 'G::dim' in method return type.
      
      	* mln/value/float01.hh: use '&&' operator instead of 'and'.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_value_internal_limits.cc: Add new unit test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3089 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9107acf4
    • Guillaume Lazzara's avatar
      Update tutorial according to the last renamings. · 94f216bd
      Guillaume Lazzara authored
      	* apps/statues/mesh-complex-segm.cc,
      	* doc/benchmark/canvas.cc,
      	* doc/oldies/2006__tour_1.txt,
      	* doc/oldies/2006__tour_2.txt,
      	* doc/tutorial/examples/image_plain.cc,
      	* doc/tutorial/examples/sub_image.cc,
      	* doc/tutorial/samples/fill-call-1.cc,
      	* doc/tutorial/samples/fill-part-image.cc,
      	* doc/tutorial/samples/fill-subdomain-shorter.cc,
      	* doc/tutorial/samples/fill-subdomain.cc,
      	* doc/tutorial/samples/fill-subimage-cfun.cc,
      	* doc/tutorial/samples/ima2d-7.cc,
      	* doc/tutorial/samples/ima2d-rot.cc,
      	* doc/tutorial/samples/paste-call-1.cc,
      	* doc/tutorial/tutorial.tex: rename level::fill/paste as
      	data::fill/paste.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3088 4aad255d-cdde-0310-9447-f3009e2ae8c0
      94f216bd
    • Guillaume Lazzara's avatar
      Fix configure.ac and INSTALL files. · ec0977ab
      Guillaume Lazzara authored
      	* configure.ac: here.
      
      	* INSTALL: fix content about DNDEBUG.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3087 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ec0977ab
    • Guillaume Lazzara's avatar
      Fix compilation issues. · 322cad79
      Guillaume Lazzara authored
      	* tests/unit_test/Makefile.am,
      	* headers.mk: remove entries related to non-commited files.
      
      	* mln/convert/impl/from_image_to_site_set.hh,
      	* mln/convert/from_to.hh: Use forward declarations.
      
      	* mln/core/routine/init.hh: fix wrong include.
      
      	* mln/core/site_set/operators.hh: add a missing forward declaration.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3086 4aad255d-cdde-0310-9447-f3009e2ae8c0
      322cad79
    • Guillaume Lazzara's avatar
      Propagate renaming level::fill/paste as data::fill/paste (again). · 2fbd5f3c
      Guillaume Lazzara authored
      	* doc/examples/erosion.cc,
      	* doc/examples/labeling_algo.cc,
      	* doc/examples/tuto_bis.cc,
      	* doc/oldies/2008__tour1.cc,
      	* doc/oldies/2008__tour3.cc,
      	* doc/tutorial/examples/box.cc,
      	* doc/tutorial/examples/for_Z.cc,
      	* doc/tutorial/examples/image_safe.cc,
      	* doc/tutorial/examples/p_array.2.cc,
      	* doc/tutorial/examples/p_array.cc,
      	* doc/tutorial/examples/p_image.cc,
      	* doc/tutorial/examples/p_key.cc,
      	* doc/tutorial/examples/p_line2d.cc,
      	* doc/tutorial/examples/p_queue.cc,
      	* doc/tutorial/examples/p_vaccess.cc,
      	* doc/tutorial/examples/proxy.cc,
      	* doc/tutorial/examples/sub_image_if.cc,
      	* tools/seed2tiling.cc: update
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3085 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2fbd5f3c
    • Guillaume Lazzara's avatar
      Add forward declarations for all init_() functions. · 80e0acea
      Guillaume Lazzara authored
      	* core/routine/init.hh: include init.hxx.
      
      	* core/routine/init.hxx: references all the init_() functions. Must be
      	updated each time a new init_() is added. This file must be used like
      	convert/from_to.hxx.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3084 4aad255d-cdde-0310-9447-f3009e2ae8c0
      80e0acea
    • Guillaume Lazzara's avatar
      Fix compilation issues. · 9320a651
      Guillaume Lazzara authored
      	* mln/core/site_set/operators.hh: add missing forward declaration.
      
      	* mln/linear/local/convolve.hh: update declaration.
      
      	* mln/morpho/closing_area_on_vertices.hh: add a missing include.
      
      	* mln/morpho/opening_area_on_vertices.hh: fix wrong declaration.
      
      	* tests/core/site_set/p_array.cc,
      	* tests/core/site_set/pset_if.cc: fix an assertion.
      
      	* tests/linear/local/convolve.cc: update doc.
      
      	* tests/unit_test/Makefile.am,
      	* headers.mk: remove entries related to non commited files.
      
      	* tests/unit_test/mln_core_routine_duplicate.cc,
      	* tests/unit_test/mln_data_all.cc
      	* tests/unit_test/mln_data_essential.cc: add new unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3083 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9320a651
    • Guillaume Lazzara's avatar
      Add a dispatch in from_to. · 3c46830e
      Guillaume Lazzara authored
      	* headers.mk: add new headers to the distribution.
      
      	* mln/convert/from_to.hh: overhaul in order to create the dispatch.
      	from_to() has now only one facade.
      
      	* mln/convert/from_to.hxx: add missing predeclarations and a new
      	namespace.
      
      	* mln/convert/impl/all.hh,
      	* mln/convert/impl/from_float_to_value.hh,
      	* mln/convert/impl/from_int_to_value.hh: add new dispatch while
      	converting from an int or a float.
      
      	* mln/core/alias/neighb2d.hh,
      	* mln/core/alias/window1d.hh,
      	* mln/core/alias/window2d.hh,
      	* mln/core/alias/window3d.hh,
      	* mln/core/concept/accumulator.hh,
      	* mln/core/concept/gdpoint.hh,
      	* mln/core/concept/gpoint.hh,
      	* mln/core/concept/image.hh,
      	* mln/core/concept/proxy.hh,
      	* mln/core/concept/site_set.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/neighb.hh,
      	* mln/core/w_window.hh,
      	* mln/fun/i2v/array.hh,
      	* mln/fun/l2l/relabel.hh,
      	* mln/util/array.hh,
      	* mln/value/rgb.hh: put convert::from_to() declarations in
      	convert::over_load::.
      
      	* mln/core/internal/site_set_base.hh
      	* mln/math/round.hh
      	* mln/value/concept/integer.hh
      	* mln/value/concept/scalar.hh
      	* mln/value/int_u8.hh: update doc.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_convert_impl_from_float_to_value.cc,
      	* tests/unit_test/mln_convert_impl_from_int_to_value.cc,
      	* tests/unit_test/mln_set_card.cc,
      	* tests/unit_test/mln_set_unique.cc: add new unit tests.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3082 4aad255d-cdde-0310-9447-f3009e2ae8c0
      3c46830e
  3. 23 Dec, 2008 8 commits
    • Thierry Geraud's avatar
      Fix minor bugs for 4 extra tests to pass. · 6b6ca175
      Thierry Geraud authored
      	* mln/core/site_set/operators.hh
      	(include): Remove dependency to set::card; it was cycling.
      	Remove temporary util::yes.
      	* mln/metal/ref.hh: Fix guard.
      	* mln/io/abort.hh: Add std::.
      	* mln/io/pnm/load_header.hh: Add std::.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3081 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6b6ca175
    • Thierry Geraud's avatar
      Propagate renaming clone as duplicate. · e6bb2006
      Thierry Geraud authored
      	* duhamel/slow_seed2tiling.cc,
      	* duhamel/labeling_algo.hh,
      	* duhamel/extract_array.cc,
      	* aroumougame/skeleton/sedt.hh,
      	* scribo/demat.hh,
      	* nivault/extract_character.cc,
      	* dalila/demat.hh,
      	* garrigues/level_set.hh,
      	* garrigues/fllt/test_fllt_lena_tiles.cc,
      	* garrigues/fllt/test_fllt10.cc,
      	* garrigues/fllt/test_fllt_tiny.cc,
      	* garrigues/fllt/test_fllt12.cc,
      	* garrigues/fllt/fllt_simple.svg.1.cc,
      	* garrigues/fllt/fllt_simple.svg.3.cc,
      	* garrigues/fllt/fllt_simple.cc,
      	* garrigues/fllt/test_fllt10_inv.cc,
      	* garrigues/fllt/fllt_theo.cc,
      	* garrigues/fllt/test_fllt3.cc,
      	* garrigues/fllt/test_fllt5.cc,
      	* garrigues/fllt/compute_level_set_fast2.hh,
      	* garrigues/fllt/test_fllt7.cc,
      	* garrigues/fllt/test_fllt9.cc,
      	* garrigues/fllt/test_fllt3_inv.cc,
      	* garrigues/fllt/test_fllt_lena.cc,
      	* garrigues/fllt/test_fllt.cc,
      	* garrigues/fllt/test_flltb.cc,
      	* garrigues/fllt/test_fllt7_inv.cc,
      	* garrigues/fllt/test_fllt13.cc,
      	* garrigues/fllt/compute_level_set_fast.hh,
      	* garrigues/fllt/test_fllt15.cc,
      	* garrigues/fllt/fllt_simple.svg.2.cc,
      	* garrigues/fllt/fllt.hh,
      	* garrigues/fllt/test.cc,
      	* garrigues/fllt/test_fllt2.cc,
      	* garrigues/fllt/test_fllt4.cc,
      	* garrigues/fllt/test_fllt6.cc,
      	* garrigues/fllt/compute_level_set.hh,
      	* garrigues/fllt/test_fllt8.cc,
      	* garrigues/ocr/ocr_without_preprocess.cc,
      	* garrigues/ocr/ocr_with_preprocess.cc,
      	* garrigues/ocr/enlarge.hh,
      	* garrigues/union_find/reconstructions_on_function.hh,
      	* garrigues/union_find/self_dual_reconstruction.hh,
      	* abraham/mln/morpho/autarkical_leveling.hh,
      	* abraham/mln/morpho/vmt.hh,
      	* abraham/mln/morpho/vector_median.hh,
      	* markov/markov.hh,
      	* geraud/fllt.svg.6.cc,
      	* geraud/fllt/fllt.hh,
      	* geraud/fllt/fllt.svg.1.cc,
      	* geraud/fllt/fllt.svg.7.hh,
      	* geraud/fllt/fllt.svg.2.cc,
      	* geraud/fllt/fllt.svg.3.cc,
      	* geraud/fllt/fllt.svg.4.cc,
      	* geraud/fllt/fllt.svg.5.cc,
      	* geraud/fllt/fllt.svg.6.cc,
      	* geraud/fllt/fllt_test.hh,
      	* geraud/fllt.svg.7.hh,
      	* geraud/Rd/hybrid.hh,
      	* geraud/Rd/parallel.hh,
      	* geraud/Rd/utils.hh,
      	* geraud/Rd/sequential_bench.hh,
      	* geraud/Rd/sequential.hh,
      	* geraud/tufa_2008/filter_n.cc,
      	* geraud/laurent/classif.cc (clone): Update as...
      	(duplicate): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3080 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e6bb2006
    • Thierry Geraud's avatar
      Rename mln::clone as mln::duplicate. · d76c586e
      Thierry Geraud authored
      	Clone is renamed for a couple of reasons:
      	- a kernel routine is named clone so the user can get strange
      	  errors when missing including mln/routine/clone;
      	- clone is a cs term and it is not very expressive for image
      	  processing partitioners.
      	
      	* mln/core/routine/clone.hh: Rename as...
      	* mln/core/routine/duplicate.hh: ...this.
      	* tests/core/routine/clone.cc: Rename as...
      	* tests/core/routine/duplicate.cc: ...this.
      	* tests/unit_test/mln_core_routine_clone.cc: Rename as...
      	* tests/unit_test/mln_core_routine_duplicate.cc: ...this.
      	
      	* mln/core/image/plain.hh,
      	* mln/core/routine/essential.hh,
      	* mln/core/routine/all.hh,
      	* mln/transform/internal/influence_zone_functor.hh,
      	* mln/border/resize.hh,
      	* mln/geom/seeds2tiling_roundness.hh,
      	* mln/geom/seeds2tiling.hh,
      	* mln/geom/resize.hh,
      	* mln/morpho/elementary/dilation.hh,
      	* mln/morpho/elementary/like_ero_set.hh,
      	* mln/morpho/elementary/gradient_internal.hh,
      	* mln/morpho/elementary/erosion.hh,
      	* mln/morpho/elementary/gradient_external.hh,
      	* mln/morpho/erosion.hh,
      	* mln/morpho/general.spe.hh,
      	* mln/morpho/dilation.hh,
      	* mln/morpho/includes.hh,
      	* mln/canvas/distance_geodesic.hh,
      	* tools/area_flooding.cc,
      	* tests/arith/plus.cc,
      	* tests/level/transform_inplace.cc,
      	* tests/level/apply_full.cc,
      	* tests/level/saturate_full.cc,
      	* tests/border/find_full.cc,
      	* tests/border/find.cc,
      	* doc/tutorial/samples/ima2d-6-clone.cc (clone): Replace by...
      	(duplicate): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3079 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d76c586e
    • Thierry Geraud's avatar
      Fix missing updates in mln data guards. · bf928773
      Thierry Geraud authored
      	* mln/data/paste.spe.hh,
      	* mln/data/fill_with_image.hh,
      	* mln/data/fill_with_value.spe.hh,
      	* mln/data/fill.hh,
      	* mln/data/fill_with_image.spe.hh,
      	* mln/data/paste.hh,
      	* mln/data/fill_with_value.hh: Fix guards.
      	* mln/morpho/tree/compute_attribute_image.hh: Disambiguate.
      	* mln/morpho/tree/data.hh (f): New overload.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3078 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bf928773
    • Thierry Geraud's avatar
      Add a filter (closing area) with n.objects as parameter. · 15c415dd
      Thierry Geraud authored
      	* geraud/tufa_2008/gradient.cc: New.
      	* geraud/tufa_2008/filter_n.cc: New.
      	* geraud/tufa_2008/wst.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3077 4aad255d-cdde-0310-9447-f3009e2ae8c0
      15c415dd
    • Thierry Geraud's avatar
      Update fill, paste, memset_, and memcpy_. · 5bec4037
      Thierry Geraud authored
      	* levillain/morpho/lower_completion.hh,
      	* levillain/morpho/shortest_path_watershed.hh,
      	* duhamel/slow_seed2tiling.cc,
      	* duhamel/labeling_algo.cc,
      	* duhamel/level.hh,
      	* duhamel/main.cc,
      	* duhamel/color_sub.cc,
      	* duhamel/chamfer.cc,
      	* duhamel/fills_test.cc,
      	* duhamel/canvas_labeling.hh,
      	* duhamel/level_cpy_from_mln.hh,
      	* duhamel/mem.hh,
      	* duhamel/fill.hh,
      	* duhamel/color_sub.hh,
      	* duhamel/extract_array.cc,
      	* duhamel/chamfer.hh,
      	* duhamel/border_duplicate.hh,
      	* duhamel/border_mirror.hh,
      	* duhamel/draw_mesh.hh,
      	* duhamel/labeling_cpy_from_mln.hh,
      	* duhamel/border_fill.hh,
      	* duhamel/translate_image.cc,
      	* duhamel/log.txt,
      	* duhamel/labeling_level.hh,
      	* duhamel/labeling.hh,
      	* scribo/demat.hh,
      	* aroumougame/skeleton/test.cc,
      	* aroumougame/skeleton/test_image2d.cc,
      	* aroumougame/skeleton/thinning.hh,
      	* aroumougame/skeleton/sedt.hh,
      	* nivault/tests/pouet.cc,
      	* nivault/plugin-gimp/src/build-image.hxx,
      	* nivault/plugin-gimp/src/build-image.hh...
      5bec4037
    • Thierry Geraud's avatar
      Fix missing update. · d244b636
      Thierry Geraud authored
      	* headers.mk: Update.
      	* tests/unit_test/mln_level_assign.cc: Remove.
      	* tests/unit_test/Makefile.am: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3075 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d244b636
    • Thierry Geraud's avatar
      Move level::fill and level::paste into data::. · a98edd35
      Thierry Geraud authored
      	* mln/data: New directory.
      
      	* mln/level/fill.hh,
      	* mln/level/fill_with_image.hh,
      	* mln/level/fill_with_image.spe.hh,
      	* mln/level/fill_with_value.hh,
      	* mln/level/fill_with_value.spe.hh,
      	* mln/level/memcpy_.hh,
      	* mln/level/memset_.hh,
      	* mln/level/paste.hh,
      	* mln/level/paste.spe.hh: Move and rename as...
      	* mln/data/fill.hh,
      	* mln/data/fill_with_image.hh,
      	* mln/data/fill_with_image.spe.hh,
      	* mln/data/fill_with_value.hh,
      	* mln/data/fill_with_value.spe.hh,
      	* mln/data/memcpy_.hh,
      	* mln/data/memset_.hh,
      	* mln/data/paste.hh,
      	* mln/data/paste.spe.hh: ...these.
      	Update.
      	* mln/data/essential.hh: New.
      	* mln/data/all.hh: New.
      
      	* tests/data: New directory.
      
      	* tests/level/fill.cc,
      	* tests/level/fill_full.cc,
      	* tests/level/fill_with_image.cc,
      	* tests/level/fill_with_value.cc,
      	* tests/level/memcpy_.cc,
      	* tests/level/memset_.cc,
      	* tests/level/paste.cc,
      	* tests/level/paste_full.cc,
      	* tests/level/transform.cc: Move and rename as...
      	* tests/data/fill.cc,
      	* tests/data/fill_full.cc,
      	* tests/data/fill_with_image.cc,
      	* tests/data/fill_with_value.cc,
      	* tests/data/memcpy_.cc,
      	* tests/data/memset_.cc,
      	* tests/data/paste.cc: ...these.
      	Update.
      	* tests/data/Makefile.am: New.
      	* tests/unit_test/mln_level_fill.cc,
      	* tests/unit_test/mln_level_fill_with_image.cc,
      	* tests/unit_test/mln_level_fill_with_value.cc,
      	* tests/unit_test/mln_level_memcpy_.cc,
      	* tests/unit_test/mln_level_memset_.cc,
      	* tests/unit_test/mln_level_paste.cc: Move and rename as...
      	* tests/unit_test/mln_data_fill.cc,
      	* tests/unit_test/mln_data_fill_with_image.cc,
      	* tests/unit_test/mln_data_fill_with_value.cc,
      	* tests/unit_test/mln_data_memcpy_.cc,
      	* tests/unit_test/mln_data_memset_.cc,
      	* tests/unit_test/mln_data_paste.cc: ...these.
      	Update.
      	
      	Assign is obsolete (it performed fill!)
      	* mln/level/assign.hh: Remove.
      	* mln/level/assign.spe.hh: Remove.
      	* tests/level/assign.cc: Remove.
      	* tests/level/assign_full.cc: Remove.
      
      	* mln/debug/println.spe.hh,
      	* mln/debug/draw_graph.hh,
      	* mln/core/site_set/p_image.hh,
      	* mln/core/image/extension_ima.hh,
      	* mln/core/w_window.hh,
      	* mln/core/routine/clone.hh,
      	* mln/core/concept/window.hh,
      	* mln/draw/line.hh,
      	* mln/draw/box.hh,
      	* mln/draw/plot.hh,
      	* mln/all.hh,
      	* mln/level/transform.spe.hh,
      	* mln/level/all.hh,
      	* mln/level/replace.hh,
      	* mln/level/essential.hh,
      	* mln/linear/gaussian.hh,
      	* mln/border/resize.hh,
      	* mln/convert/to_image.hh,
      	* mln/geom/resize.hh,
      	* mln/geom/chamfer.hh,
      	* mln/morpho/tree/compute_attribute_image.hh,
      	* mln/morpho/tree/compute_parent.hh,
      	* mln/morpho/elementary/like_ero_set.hh,
      	* mln/morpho/elementary/gradient.hh,
      	* mln/morpho/hit_or_miss.hh,
      	* mln/morpho/laplacian.hh,
      	* mln/morpho/Rd.hh,
      	* mln/morpho/includes.hh,
      	* mln/morpho/skeleton_constrained.hh,
      	* mln/morpho/meyer_wst.hh,
      	* mln/canvas/distance_front.hh,
      	* mln/canvas/morpho/algebraic_union_find.hh,
      	* mln/canvas/distance_geodesic.hh,
      	* mln/canvas/labeling.hh,
      	* mln/extension/fill.hh,
      	* mln/util/tree_to_image.hh,
      	* mln/labeling/blobs.hh,
      	* mln/labeling/level.hh,
      	* mln/labeling/regional_minima.hh,
      	* mln/labeling/regional_maxima.hh,
      	* tests/debug/println_with_border.cc,
      	* tests/debug/println.cc,
      	* tests/core/other/clock_test.cc,
      	* tests/core/image/sub_image.cc,
      	* tests/core/image/cast_image.cc,
      	* tests/core/image/sparse_image.cc,
      	* tests/core/image/obased_rle_image.cc,
      	* tests/core/image/value_enc_image.cc,
      	* tests/core/image/plain.cc,
      	* tests/core/image/bgraph_image.cc,
      	* tests/core/image/fi_adaptor.cc,
      	* tests/core/image/mono_rle_image.cc,
      	* tests/core/image/rle_image.cc,
      	* tests/core/image/mono_obased_rle_image.cc,
      	* tests/core/image/interpolated.cc,
      	* tests/draw/graph.cc,
      	* tests/draw/line.cc,
      	* tests/opt/at.cc,
      	* tests/level/transform_full.cc,
      	* tests/level/sort_psites_full.cc,
      	* tests/level/Makefile.am,
      	* tests/linear/gaussian.cc,
      	* tests/transform/distance_geodesic.cc,
      	* tests/transform/distance_front.cc,
      	* tests/border/fill_full.cc,
      	* tests/border/resize_image3d_1.cc,
      	* tests/border/resize_image3d_2.cc,
      	* tests/border/resize_image3d_3.cc,
      	* tests/test/positive.cc,
      	* tests/convert/to_p_set.cc,
      	* tests/convert/to_window.cc,
      	* tests/pw/value.cc,
      	* tests/binarization/threshold.cc,
      	* tests/morpho/artificial_line_graph_image_wst.cc,
      	* tests/morpho/dilation.cc,
      	* tests/morpho/tree/data.cc,
      	* tests/morpho/skeleton_constrained.cc,
      	* tests/morpho/elementary/gradient.cc,
      	* tests/morpho/elementary/closing.cc,
      	* tests/morpho/elementary/erosion.cc,
      	* tests/morpho/elementary/top_hat.cc,
      	* tests/morpho/elementary/gradient_external.cc,
      	* tests/morpho/elementary/opening.cc,
      	* tests/morpho/elementary/dilation.cc,
      	* tests/morpho/elementary/gradient_internal.cc,
      	* tests/morpho/lena_line_graph_image_wst1.cc,
      	* tests/morpho/rank_filter.cc,
      	* tests/morpho/complex_image_wst.cc,
      	* tests/morpho/hit_or_miss.cc,
      	* tests/morpho/combined.cc,
      	* tests/morpho/lena_line_graph_image_wst2.cc,
      	* tests/Makefile.am,
      	* tests/canvas/chamfer.cc,
      	* tests/canvas/browsing/hyper_directional.cc,
      	* tests/extension/fill.cc,
      	* tests/util/tree_to_image.cc,
      	* tests/util/tree_fast_to_image.cc,
      	* tests/labeling/level.cc: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3074 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a98edd35
  4. 19 Dec, 2008 8 commits
    • Guillaume Lazzara's avatar
      Do not parse trash directory during doc generation. · 1d3e590e
      Guillaume Lazzara authored
      	* doc/Doxygen.in: add trash to `Exclude'.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3073 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1d3e590e
    • Thierry Geraud's avatar
      Have site sets comparisons work again. · 59b8853a
      Thierry Geraud authored
      	* mln/core/site_set/box.hh: Layout.
      	* mln/core/site_set/operators.hh: Have it work.
      	* mln/core/concept/box.hh (is_empty): New.
      	* mln/core/concept/site_set.hh: Layout.
      	* mln/geom/nsites.hh (nistes): Rename site set overload as...
      	* mln/set/card.hh (card): ...this...
      	...in this new file.
      	* mln/set/sym_diff.hh: Add fwd decl.
      	* mln/set/unique.hh: New.
      	* mln/set/all.hh: Update.
      	* tests/core/site_set/operators.cc: Revamp.
      	* tests/geom/nsites.cc: New.
      	* tests/geom/Makefile.am: Update.
      	* tests/set/uni.cc: Fix include.
      	* tests/set/sym_diff.cc: Likewise.
      	* tests/set/inter.cc: Likewise.
      	* tests/set/unique.cc: New.
      	* tests/set/card.cc: New.
      	* tests/set/Makefile.am: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3072 4aad255d-cdde-0310-9447-f3009e2ae8c0
      59b8853a
    • Guillaume Lazzara's avatar
      Enable the generation of version.hh. · 885db0bb
      Guillaume Lazzara authored
      	* configure.ac: set the proper variables.
      
      	* Makefile.am: add doc target.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3071 4aad255d-cdde-0310-9447-f3009e2ae8c0
      885db0bb
    • Guillaume Lazzara's avatar
      Add version.hh. · 39b319b1
      Guillaume Lazzara authored
      	* headers.mk,
      	* generate_dist_headers.sh: make version.hh part of the distribution.
      
      	* mln/version.hh.in: base file used by autotools to generate
      	version.hh.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3070 4aad255d-cdde-0310-9447-f3009e2ae8c0
      39b319b1
    • Guillaume Lazzara's avatar
      Make the doc part of the distribution. · b4cb1be1
      Guillaume Lazzara authored
      	* doc/Doxyfile.in: make the user doc lighter.
      
      	* doc/Makefile.am: add the doc as extra dist.
      
      	* mln/core/internal/graph_window_base.hh
      	* mln/core/site_set/box.hh
      	* mln/core/site_set/p_complex.hh
      	* tests/morpho/complex_image_wst.cc,
      	* tests/morpho/tree/data.cc,
      	* trash/display_color_pretty.cc,
      	* doc/benchmark/canvas.cc,
      	* doc/examples/erosion.cc: fix doxygen warnings.
      
      	* doc/tutorial/samples/Makefile.am: do not install sample programs.
      
      	* mln/fun/l2l/relabel.hh: fix wrong guards.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3069 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b4cb1be1
    • Guillaume Lazzara's avatar
      Make the tutorial part of the distribution. · d4401af8
      Guillaume Lazzara authored
      	* milena/Makefile.am: add target `tutorial'.
      
      	* milena/doc/Doxyfile.in: Use short file names.
      
      	* milena/doc/Makefile.am,
      	* milena/doc/tutorial/Makefile.am: add documentation to EXTRA_DIST.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3068 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d4401af8
    • Guillaume Lazzara's avatar
      Fix few tests. · 411449c9
      Guillaume Lazzara authored
      	* doc/tutorial/tutorial.tex: add copyright and improve input code
      	style.
      
      	* tests/Makefile.am: enable registration test.
      
      	* tests/core/routine/clone.cc,
      	* tests/geom/seed2tiling_roundness.cc: update comments.
      
      	* tests/draw/graph.cc,
      	* tests/registration/registration.cc: fix test.
      
      	* headers.mk: add new includes in distributed headers.
      
      	* tests/unit_test/Makefile.am,
      	* tests/unit_test/mln_core_concept_meta_fun.cc,
      	* tests/unit_test/mln_core_image_violent_cast_image.cc,
      	* tests/unit_test/mln_fun_v2v_rgb_to_hsl.cc,
      	* tests/unit_test/mln_math_acos.cc,
      	* tests/unit_test/mln_math_cos.cc,
      	* tests/unit_test/mln_opt_at.cc,
      	* tests/unit_test/mln_value_hsl.cc,
      	* tests/unit_test/mln_value_mixin.cc,
      	* tests/unit_test/mln_value_shell.cc: add new unit tests.
      
      	* tests/value/Makefile.am: disable graylevel and float related tests.
      
      	* tests/core/image/Makefile.am: disable tr_image test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3067 4aad255d-cdde-0310-9447-f3009e2ae8c0
      411449c9
    • Guillaume Lazzara's avatar
      Add missing INSTALL and README. · 87980dd5
      Guillaume Lazzara authored
      	* configure.ac: add missing Makefile entry.
      
      	* INSTALL,
      	* README: new files.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3066 4aad255d-cdde-0310-9447-f3009e2ae8c0
      87980dd5
  5. 18 Dec, 2008 1 commit
    • Nicolas Ballas's avatar
      Replace some remaining .at by opt::at. · a7ca2c92
      Nicolas Ballas authored
      	* sandbox/aroumougame/skeleton/sedt.hh,
      	* sandbox/dalila/demat.hh,
      	* sandbox/abraham/mln/transform/fft.hh,
      	* sandbox/ballas/color/min_tree_volume_filter.cc,
      	* sandbox/ballas/color/reference.cc,
      	* sandbox/ballas/color/min_tree_area_filter.cc,
      	* sandbox/ballas/color/min_tree_height_filter.cc,
      	* sandbox/ballas/color/min_tree_color.cc,
      	* sandbox/ballas/color/reference2.cc,
      	* sandbox/ballas/color/src/graph.hh,
      	* sandbox/ballas/color/min_tree_color_v2.cc,
      	* sandbox/geraud/wst_edge.cc,
      	* sandbox/geraud/fllt.svg.6.cc,
      	* sandbox/geraud/fllt/fllt.svg.2.cc,
      	* sandbox/geraud/fllt/fllt.svg.3.cc,
      	* sandbox/geraud/fllt/fllt.svg.4.cc,
      	* sandbox/geraud/fllt/fllt.svg.5.cc,
      	* sandbox/geraud/fllt/fllt.svg.6.cc: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3065 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a7ca2c92