1. 31 Jul, 2008 1 commit
  2. 30 Jul, 2008 1 commit
  3. 29 Jan, 2008 4 commits
  4. 08 Jan, 2008 1 commit
    • Roland Levillain's avatar
      Have morpho tests using input images be independent of the · 7dd41e0c
      Roland Levillain authored
      	location of the build tree w.r.t. the source tree by removing
      	hard-coded paths.
      
      	* tests/data.hh.in: New.
      	* tests/morpho/contrast.cc,
      	* tests/morpho/dilation.cc,
      	* tests/morpho/dilation_max_h.cc,
      	* tests/morpho/erosion.cc,
      	* tests/morpho/erosion_min_h.cc,
      	* tests/morpho/gradient.cc,
      	* tests/morpho/hit_or_miss.cc,
      	* tests/morpho/laplacian.cc,
      	* tests/morpho/opening_area.cc,
      	* tests/morpho/thinning.cc: Use tests/data.hh to get the path to
      	the img/ directory.
      	* tests/tests.mk (AM_CPPFLAGS): Add -I$(top_builddir)/milena.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1638 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7dd41e0c
  5. 02 Jan, 2008 1 commit
    • Guillaume Duhamel's avatar
      Fix and update morpho and util tests. · 34f95db5
      Guillaume Duhamel authored
      	* tests/util/tree_fast_to_image.cc,
      	* tests/util/tree_to_image.cc,
      	* tests/morpho/contrast.cc,
      	* tests/morpho/dilation.cc,
      	* tests/morpho/dilation_max_h.cc,
      	* tests/morpho/erosion.cc,
      	* tests/morpho/erosion_min_h.cc,
      	* tests/morpho/gradient.cc,
      	* tests/morpho/hit_or_miss.cc,
      	* tests/morpho/laplacian.cc,
      	* tests/morpho/opening_area.cc,
      	* tests/morpho/thinning.cc: Fix path of images and update brief.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1628 4aad255d-cdde-0310-9447-f3009e2ae8c0
      34f95db5
  6. 01 Jan, 2008 1 commit
    • Roland Levillain's avatar
      Fix the tests in tests/morpho. · d309b8c3
      Roland Levillain authored
      	* mln/morpho/erosion.spe.hh
      	(erosion_iterative_(kind::logic, speed::fastest, const I&, const W&)):
      	Fix the assignment of the out pixter in the case of a non-centered
      	window.
      	* mln/value/int_u_sat.hh (mln::value::props< int_u_sat<n> >):
      	Remove.
      	Superseded by...
      	(mln::trait::value_< mln::value::int_u_sat<n> >): ...this (new
      	specialization).
      	* mln/set/inter.hh (mln::set::inter): Fix uses of the tracing
      	mechanism.
      	* mln/value/int_u.hh: Don't use Doxygen comments to announce
      	forward declarations.
      	* tests/morpho/contrast.cc,
      	* tests/morpho/dilation.cc, 
      	* tests/morpho/dilation_max_h.cc, 
      	* tests/morpho/erosion.cc,
      	* tests/morpho/erosion_min_h.cc, 
      	* tests/morpho/gradient.cc, 
      	* tests/morpho/hit_or_miss.cc, 
      	* tests/morpho/laplacian.cc, 
      	* tests/morpho/opening_area.cc, 
      	* tests/morpho/thinning.cc: 
      	Catch up with the new I/O interface of Milena.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1627 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d309b8c3
  7. 22 Dec, 2007 1 commit
    • Roland Levillain's avatar
      Move mathematical morphology-related tests into tests/morpho. · fb12a6cb
      Roland Levillain authored
      	* tests/Makefile.am (SUBDIRS): Add morpho.
      	(morpho_contrast, morpho_dilation, morpho_dilation_max_h)
      	(morpho_erosion, morpho_erosion_min_h, morpho_gradient)
      	(morpho_hit_or_miss, morpho_laplacian, morpho_opening_area)
      	(morpho_thinning):
      	Remove.
      	(morpho_contrast_SOURCES, morpho_dilation_SOURCES)
      	(morpho_dilation_max_h_SOURCES, morpho_erosion_SOURCES)
      	(morpho_erosion_min_h_SOURCES, morpho_gradient_SOURCES)
      	(morpho_hit_or_miss_SOURCES, morpho_laplacian_SOURCES)
      	(morpho_opening_area_SOURCES, morpho_thinning_SOURCES):
      	Remove.
      	* tests/morpho/Makefile.am (check_PROGRAMS): New.
      	(contrast_SOURCES, dilation_SOURCES, dilation_max_h_SOURCES)
      	(erosion_SOURCES, erosion_min_h_SOURCES, gradient_SOURCES)
      	(hit_or_miss_SOURCES, laplacian_SOURCES, opening_area_SOURCES)
      	(thinning_SOURCES): New.
      	(TESTS): New.
      	* tests/morpho/contrast.cc,
      	* tests/morpho/dilation.cc,
      	* tests/morpho/dilation_max_h.cc,
      	* tests/morpho/erosion.cc,
      	* tests/morpho/erosion_min_h.cc,
      	* tests/morpho/gradient.cc,
      	* tests/morpho/hit_or_miss.cc,
      	* tests/morpho/laplacian.cc,
      	* tests/morpho/opening_area.cc,
      	* tests/morpho/thinning.cc:
      	Rename and move as...
      	* tests/morpho_contrast.cc,
      	* tests/morpho_dilation.cc,
      	* tests/morpho_dilation_max_h.cc,
      	* tests/morpho_erosion.cc,
      	* tests/morpho_erosion_min_h.cc,
      	* tests/morpho_gradient.cc,
      	* tests/morpho_hit_or_miss.cc,
      	* tests/morpho_laplacian.cc,
      	* tests/morpho_opening_area.cc,
      	* tests/morpho_thinning.cc:
      	...these.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1626 4aad255d-cdde-0310-9447-f3009e2ae8c0
      fb12a6cb
  8. 09 Nov, 2007 1 commit
    • Thierry Geraud's avatar
      Rename point set types after p_something. · b791b86f
      Thierry Geraud authored
      	
      	* mln/core/queue_p.hh: Rename as...
      	* mln/core/p_queue.hh: ...this.
      	* mln/core/queue_p_fast.hh: Rename as...
      	* mln/core/p_queue_fast.hh: ...this.
      	* mln/core/queue_p_fast_priority.hh: Rename as...
      	* mln/core/p_priority_queue_fast.hh: ...this.
      	* mln/core/vec_p_piter.hh: Rename as...
      	* mln/core/p_array_piter.hh: ...this.
      	* mln/core/queue_p_priority.hh: Rename as...
      	* mln/core/p_priority_queue.hh: ...this.
      	* mln/core/set_p.hh: Rename as...
      	* mln/core/p_set.hh: ...this.
      	* mln/core/vec_p.hh: Rename as...
      	* mln/core/p_array.hh: ...this.
      	* mln/convert/to_set_p.hh: Rename as...
      	* mln/convert/to_p_set.hh: ...this.
      	* mln/convert/to_vec_p.hh: Rename as...
      	* mln/convert/to_p_array.hh: ...this.
      	* tests/queue_p.cc: Rename as...
      	* tests/core_p_queue.cc: ...this.
      	* tests/set_p.cc: Rename as...
      	* tests/core_p_set.cc: ...this.
      	* tests/queue_p_priority.cc: Rename...
      	* tests/core_p_priority_queue.cc: ...this.
      	* tests/queue_p_fast.cc: Rename as...
      	* tests/core_p_queue_fast.cc: ...this.
      	* tests/queue_p_fast_priority.cc: Rename as...
      	* tests/core_p_priority_queue_fast.cc: ...this.
      	* tests/convert_to_set_p.cc: Rename as...
      	* tests/convert_to_p_set.cc: ...this.
      	* tests/convert_to_vec_p.cc: Rename as...
      	* tests/convert_to_p_array.cc: ...this.
      
      	* mln/core/p_queue.hh (queue_p): Rename as...
      	(p_queue): ...this.
      	* mln/core/p_queue_fast.hh (queue_p_fast): Rename as...
      	(p_queue_fast): ...this.
      	* mln/core/p_priority_queue_fast.hh
      	(queue_p_fast_priority): Rename as...
      	(p_priority_queue_fast): ...this.
      	* mln/core/p_array_piter.hh
      	(vec_p_fwd_piter, vec_p_bkd_piter): Rename as...
      	(p_array_fwd_piter, p_array_bkd_piter): ...these.
      	* mln/core/p_priority_queue.hh
      	(queue_p_priority): Rename as...
      	(p_priority_queue): ...this.
      	* mln/core/p_set.hh (set_p): Rename as...
      	(p_set): ...this.
      	* mln/core/p_array.hh (vec_p): Rename as...
      	(p_array): ...this.
      
      	* mln/core/line2d.hh,
      	* mln/level/sort_points.hh,
      	* mln/level/fill.hh,
      	* mln/value/rgb.hh,
      	* mln/convert/all.hh,
      	* mln/geom/seeds2tiling.hh,
      	* mln/geom/seeds2tiling_with_chamfer.hh,
      	* mln/set/inter.hh,
      	* mln/set/diff.hh,
      	* mln/set/uni.hh,
      	* mln/set/sym_diff.hh,
      	* mln/morpho/opening_attribute.hh,
      	* mln/morpho/erosion.spe.hh,
      	* mln/display/color_pretty.hh,
      	* mln/display/all.hh,
      	* mln/util/tree_to_image.hh,
      	* mln/labeling/regional_minima.hh,
      	* mln/labeling/regional_maxima.hh,
      	* tests/morpho_dilation_max_h.cc,
      	* tests/level_sort_points.cc,
      	* tests/morpho_erosion.cc,
      	* tests/morpho_erosion_min_h.cc,
      	* tests/trait_op_uminus.cc,
      	* tests/convert_to_window.cc,
      	* tests/tree_fast_to_image.cc,
      	* tests/tree_to_image.cc,
      	* tests/show.cc,
      	* tests/color_pretty.cc,
      	* tests/morpho_dilation.cc: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1460 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b791b86f
  9. 16 Oct, 2007 1 commit
    • Nicolas Neri's avatar
      Update typo for tests. · 5f05e52e
      Nicolas Neri authored
      
      	* tests/border_duplicate/test_border_duplicate_image1d_1.cc,
      	* tests/border_duplicate/test_border_duplicate_image1d_2.cc,
      	* tests/border_duplicate/test_border_duplicate_image1d_3.cc,
      	* tests/border_duplicate/test_border_duplicate_image1d_4.cc,
      	* tests/border_duplicate/test_border_duplicate_image1d_5.cc,
      	* tests/border_duplicate/test_border_duplicate_image2d_1.cc,
      	* tests/border_duplicate/test_border_duplicate_image2d_2.cc,
      	* tests/border_duplicate/test_border_duplicate_image2d_3.cc,
      	* tests/border_duplicate/test_border_duplicate_image2d_4.cc,
      	* tests/border_duplicate/test_border_duplicate_image3d_1.cc,
      	* tests/border_duplicate/test_border_duplicate_image3d_2.cc,
      	* tests/border_duplicate/test_border_duplicate_image3d_3.cc,
      	* tests/border_duplicate/test_border_duplicate_image3d_4.cc,
      	* tests/border_fill/test_border_fill_image1d_1.cc,
      	* tests/border_fill/test_border_fill_image1d_2.cc,
      	* tests/border_fill/test_border_fill_image1d_3.cc,
      	* tests/border_fill/test_border_fill_image1d_4.cc,
      	* tests/border_fill/test_border_fill_image1d_5.cc,
      	* tests/border_fill/test_border_fill_image2d_1.cc,
      	* tests/border_fill/test_border_fill_image2d_2.cc,
      	* tests/border_fill/test_border_fill_image2d_3.cc,
      	* tests/border_fill/test_border_fill_image2d_4.cc,
      	* tests/border_fill/test_border_fill_image3d_1.cc,
      	* tests/border_fill/test_border_fill_image3d_2.cc,
      	* tests/border_fill/test_border_fill_image3d_3.cc,
      	* tests/border_fill/test_border_fill_image3d_4.cc,
      	* tests/border_resize_image2d_1.cc,
      	* tests/border_resize_image2d_2.cc,
      	* tests/border_resize_image2d_3.cc,
      	* tests/border_resize_image3d_3.cc,
      	* tests/chamfer.cc,
      	* tests/color_pretty.cc,
      	* tests/fun_x2x_composed.cc,
      	* tests/fun_x2x_rotation.cc,
      	* tests/fun_x2x_translation.cc,
      	* tests/histo_compute.cc,
      	* tests/histo_to_image1d.cc,
      	* tests/image_if_interval.cc,
      	* tests/interpolated.cc,
      	* tests/io_pbm.cc,
      	* tests/io_pgm.cc,
      	* tests/io_pgm16.cc,
      	* tests/io_pgm19.cc,
      	* tests/io_pgm27.cc,
      	* tests/io_ppm.cc,
      	* tests/io_ppm16.cc,
      	* tests/io_ppm23.cc,
      	* tests/labeling_algo.cc,
      	* tests/labeling_estimate.cc,
      	* tests/labeling_level_fast.cc,
      	* tests/level_median_dir.cc,
      	* tests/level_paste.cc,
      	* tests/level_sort_points.cc,
      	* tests/linear_log.cc,
      	* tests/main.cc,
      	* tests/mat.cc,
      	* tests/metal_pow.cc,
      	* tests/morpho_dilation_max_h.cc,
      	* tests/morpho_erosion_min_h.cc,
      	* tests/new_io_pgm.cc,
      	* tests/pw_value.cc,
      	* tests/queue_p_fast.cc,
      	* tests/queue_p_fast_priority.cc,
      	* tests/rle_image.cc,
      	* tests/seed2tiling.cc,
      	* tests/show.cc,
      	* tests/sparse_image.cc,
      	* tests/tr_image.cc,
      	* tests/value_float01.cc,
      	* tests/value_float01_bis.cc,
      	* tests/value_float01_f.cc,
      	* tests/value_quat.cc,
      	* tests/vec.cc,
      	* tests/win_disk2d.cc,
      	* tests/win_hline2d.cc: Update typo.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1342 4aad255d-cdde-0310-9447-f3009e2ae8c0
      5f05e52e
  10. 11 Oct, 2007 1 commit
    • Thierry Geraud's avatar
      Update some classes with literals and precise int_u equiv. · eb6df260
      Thierry Geraud authored
      	* mln/literal/ops.hh: New.
      	* mln/literal/one.hh: New.
      	* mln/literal/all.hh: New.
      	* mln/value/int_u.hh: Update so that the equivalent type
      	really is 'unsigned'.
      	* mln/debug/all.hh: Clean-up.
      	* mln/core/point.hh,
      	* mln/core/window.hh,
      	* mln/core/neighb.hh,
      	* mln/core/dpoint.hh: New ctor overloads for coordinates.
      	* mln/core/ops.hh (operator+, operator*): New overloads for
      	unsigned.
      	(operator++, operator--): New FIXMEs.
      	* mln/core/concept/function.hh: New categories for sub-concepts
      	of Function.
      	* mln/core/concept/window.hh,
      	* mln/metal/vec.hh,
      	* mln/value/cast.hh,
      	* mln/value/internal/value_like.hh,
      	* mln/make/w_window.hh,
      	* mln/test/positive.hh,
      	* mln/convert/to_image.hh,
      	* mln/convert/to_std_set.hh,
      	* mln/convert/to_window.hh,
      	* mln/convert/to_dpoint.hh,
      	* mln/convert/to_w_window.hh,
      	* mln/geom/bbox.hh,
      	* mln/geom/shift.hh,
      	* mln/fun/v2v/saturate.hh,
      	* mln/win/octagon2d.hh,
      	* mln/morpho/hit_or_miss.hh,
      	* mln/norm/infty.hh,
      	* mln/norm/l2.hh,
      	* tests/window1d.cc,
      	* tests/morpho_dilation_max_h.cc,
      	* tests/morpho_erosion_min_h.cc,
      	* tests/dpoint2d.cc,
      	* tests/literal_zero.cc,
      	* tests/labeling_foreground.cc,
      	* tests/point1d.cc,
      	* tests/window2d.cc,
      	* tests/labeling_estimate.cc,
      	* tests/dpoint1d.cc,
      	* tests/dpoint3d.cc,
      	* tests/value_int_u8.cc,
      	* tests/point2d.cc: Update.
      	* TODO: Clear.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1304 4aad255d-cdde-0310-9447-f3009e2ae8c0
      eb6df260
  11. 09 Oct, 2007 2 commits
    • Simon Nivault's avatar
      Refactoring : move mln/core/win to mln/win. · 78013e5c
      Simon Nivault authored
      	* mln/core/win/backdiag2d.hh,
      	* mln/core/win/cube3d.hh,
      	* mln/core/win/diag2d.hh,
      	* mln/core/win/disk2d.hh,
      	* mln/core/win/hline2d.hh,
      	* mln/core/win/line.hh,
      	* mln/core/win/octagon2d.hh,
      	* mln/core/win/rectangle2d.hh,
      	* mln/core/win/segment1d.hh,
      	* mln/core/win/vline2d.hh,
      	* mln/core/win: Rename as ...
      	* mln/win/backdiag2d.hh,
      	* mln/win/cube3d.hh,
      	* mln/win/diag2d.hh,
      	* mln/win/disk2d.hh,
      	* mln/win/hline2d.hh,
      	* mln/win/line.hh,
      	* mln/win/octagon2d.hh,
      	* mln/win/rectangle2d.hh,
      	* mln/win/segment1d.hh,
      	* mln/win/vline2d.hh,
      	* mln/win: ...this.
      
      
      	* mln/level/approx/median.hh,
      	* sandbox/nivault/dyn_line.hh,
      	* sandbox/nivault/median.hh,
      	* sandbox/nivault/tests/pouet.cc,
      	* tests/convert_to_vec_p.cc,
      	* tests/dpoints_pixter.cc,
      	* tests/io_pgm16.cc,
      	* tests/io_ppm16.cc,
      	* tests/io_ppm23.cc,
      	* tests/level_approx_median.cc,
      	* tests/level_median.cc,
      	* tests/level_median_fast.cc,
      	* tests/level_median_hline2d.cc,
      	* tests/level_naive_median.cc,
      	* tests/local_convolve.cc,
      	* tests/main.cc,
      	* tests/morpho_contrast.cc,
      	* tests/morpho_dilation.cc,
      	* tests/morpho_dilation_max_h.cc,
      	* tests/morpho_erosion.cc,
      	* tests/morpho_erosion_min_h.cc,
      	* tests/morpho_gradient.cc,
      	* tests/morpho_hit_or_miss.cc,
      	* tests/morpho_laplacian.cc,
      	* tests/morpho_thinning.cc,
      	* tests/value_float01.cc,
      	* tests/w_window1d_int.cc,
      	* tests/w_window2d_int.cc,
      	* tests/w_window3d_int.cc,
      	* tests/win_backdiag2d.cc,
      	* tests/win_diag2d.cc,
      	* tests/win_disk2d.cc,
      	* tests/win_hline2d.cc,
      	* tests/win_octagon2d.cc,
      	* tests/win_rectangle2d.cc: Update according to the refactoring.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1283 4aad255d-cdde-0310-9447-f3009e2ae8c0
      78013e5c
    • Thierry Geraud's avatar
      Get rid of the _b (with border) suffix. · 993ed618
      Thierry Geraud authored
      	* tests/histo_to_image1d_b.cc,
      	* tests/image3d_b.cc,
      	* tests/pixter3d_b.cc,
      	* tests/image2d_b.cc,
      	* tests/pixter2d_b.cc,
      	* tests/image1d_b.cc,
      	* tests/pixter1d_b.cc,
      	* mln/core/pixter1d_b.hh,
      	* mln/core/pixter3d_b.hh,
      	* mln/core/image2d_b.hh,
      	* mln/core/pixter2d_b.hh,
      	* mln/core/image1d_b.hh,
      	* mln/core/image3d_b.hh: Rename as...
      	* tests/pixter2d.cc,
      	* tests/histo_to_image1d.cc,
      	* tests/image2d.cc,
      	* tests/pixter1d.cc,
      	* tests/pixter3d.cc,
      	* tests/image1d.cc,
      	* tests/image3d.cc,
      	* mln/core/pixter1d.hh,
      	* mln/core/pixter2d.hh,
      	* mln/core/pixter3d.hh,
      	* mln/core/image1d.hh,
      	* mln/core/image2d.hh,
      	* mln/core/image3d.hh: ...those.
      	(<name>_b): Rename as...
      	(<name>): ...those.
      
      	* tests/window1d.cc,
      	* tests/image_if_value.cc,
      	* tests/window3d.cc,
      	* tests/morpho_dilation_max_h.cc,
      	* tests/image_if_interval.cc,
      	* tests/level_naive_median.cc,
      	* tests/core_clone.cc,
      	* tests/io_pgm.cc,
      	* tests/level_sort_points.cc,
      	* tests/linear_log.cc,
      	* tests/line2d.cc,
      	* tests/accu_nil.cc,
      	* tests/labeling_algo.cc,
      	* tests/histo_compute.cc,
      	* tests/debug_println_with_border.cc,
      	* tests/io_pgm19.cc,
      	* tests/io_ppm23.cc,
      	* tests/level_median_hline2d.cc,
      	* tests/level_transform.cc,
      	* tests/morpho_erosion.cc,
      	* tests/morpho_hit_or_miss.cc,
      	* tests/fun_x2x_translation.cc,
      	* tests/fun_x2x_rotation.cc,
      	* tests/core_initialize.cc,
      	* tests/morpho_opening_area.cc,
      	* tests/morpho_erosion_min_h.cc,
      	* tests/accu_min.cc,
      	* tests/labeling_level_fast.cc,
      	* tests/new_io_pgm.cc,
      	* tests/pset_if.cc,
      	* tests/labeling_regional_maxima.cc,
      	* tests/sparse_image.cc,
      	* tests/plain.cc,
      	* tests/level_memcpy_.cc,
      	* tests/level_median.cc,
      	* tests/linear_convolve.cc,
      	* tests/run_pset.cc,
      	* tests/test_positive.cc,
      	* tests/linear_lap.cc,
      	* tests/labeling_foreground.cc,
      	* tests/dpoints_pixter.cc,
      	* tests/safe_image.cc,
      	* tests/estim_mean.cc,
      	* tests/morpho_gradient.cc,
      	* tests/level_median_dir.cc,
      	* tests/convert_to_image.cc,
      	* tests/rle_image.cc,
      	* tests/interpolated.cc,
      	* tests/w_window1d_int.cc,
      	* tests/w_window2d_int.cc,
      	* tests/window2d.cc,
      	* tests/w_window3d_int.cc,
      	* tests/io_pbm.cc,
      	* tests/io_ppm.cc,
      	* tests/main.cc,
      	* tests/cast_image.cc,
      	* tests/linear_sobel._cc,
      	* tests/mesh_image.cc,
      	* tests/morpho_thinning.cc,
      	* tests/chamfer.cc,
      	* tests/morpho_laplacian.cc,
      	* tests/labeling_estimate.cc,
      	* tests/level_fill.cc,
      	* tests/pixel.cc,
      	* tests/io_ppm16.cc,
      	* tests/sub_image.cc,
      	* tests/debug_println.cc,
      	* tests/level_median_fast.cc,
      	* tests/local_convolve.cc,
      	* tests/stack.cc,
      	* tests/level_approx_median.cc,
      	* tests/io_pgm27.cc,
      	* tests/decorated_image.cc,
      	* tests/image_if.cc,
      	* tests/value_float01.cc,
      	* tests/line_convolve.cc,
      	* tests/level_paste.cc,
      	* tests/linear_gaussian.cc,
      	* tests/trait_images.cc,
      	* tests/level_assign.cc,
      	* tests/level_memset_.cc,
      	* tests/io_pgm16.cc,
      	* tests/morpho_contrast.cc,
      	* tests/pw_value.cc,
      	* tests/canvas_browsing_fwd.cc,
      	* tests/color_pretty.cc,
      	* tests/hexa.cc,
      	* tests/tr_image.cc,
      	* tests/morpho_dilation.cc,
      	* tests/trait_ch_value.cc,
      	* tests/line_piter.cc,
      	* mln/trait/image_from_mesh.hh,
      	* mln/trait/images.hh,
      	* mln/convert/to_image.hh,
      	* mln/display/color_pretty.hh,
      	* mln/io/pfm/load.hh,
      	* mln/io/pgm/load.hh,
      	* mln/io/fits/load.hh,
      	* mln/io/ppm/load.hh,
      	* mln/io/internal/pnm/load.hh,
      	* mln/io/pbm/load.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1277 4aad255d-cdde-0310-9447-f3009e2ae8c0
      993ed618
  12. 11 Sep, 2007 1 commit
  13. 10 Sep, 2007 2 commits
    • Thierry Geraud's avatar
      Add fast histogram-based erosion and color skeleton. · 8acb4cc4
      Thierry Geraud authored
      	* tests/morpho_erosion_min_h.cc: New.
      	* tests/value_rgb8.cc: New.
      	* mln/level/ero.hh: New; temporary, rename it!
      	* mln/accu/min_h.hh: New.
      	* mln/core/vec_p.hh (dpoint): New.
      	* mln/core/window.hh (operator<<): New.
      	* mln/value/rgb8.hh: New.
      
      	* tests/morpho_erosion.cc: Update.
      	* mln/convert/to_window.hh: Fix sig.
      	* mln/morpho/dilation.hh: Add todo.
      	* mln/morpho/erosion.hh: Add todo.
      	* mln/level/approx/median.hh: Add todo.
      	* mln/value/props.hh: Fix missing include.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1095 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8acb4cc4
    • Thierry Geraud's avatar
      Renaming io and fix warnings. · 90f10e66
      Thierry Geraud authored
      	* mln/io/pgm: New directory.
      	* mln/io/save_pgm.hh: Rename as...
      	* mln/io/pgm/save.hh: ...this.
      	(save_pgn): Rename as...
      	(save): ...this.
      	* mln/io/load_pgm.hh: Rename as...
      	* mln/io/pgm/load.hh: ...this.
      	(load_pgm): Rename as...
      	(load): ...this.
      
      	* tests/level_naive_median.cc,
      	* tests/linear_log.cc,
      	* tests/level_median_hline2d.cc,
      	* tests/morpho_thinning.cc,
      	* tests/morpho_erosion.cc,
      	* tests/morpho_hit_or_miss.cc,
      	* tests/morpho_laplacian.cc,
      	* tests/morpho_opening_area.cc,
      	* tests/labeling_regional_maxima.cc,
      	* tests/level_median_fast.cc,
      	* tests/level_approx_median.cc,
      	* tests/level_median.cc,
      	* tests/linear_convolve.cc,
      	* tests/linear_sobel.cc,
      	* tests/line_convolve.cc,
      	* tests/linear_gaussian.cc,
      	* tests/linear_lap.cc,
      	* tests/labeling_foreground.cc,
      	* tests/morpho_contrast.cc,
      	* tests/morpho_gradient.cc: Update.
      
      	* mln/linear/gaussian.hh,
      	* mln/canvas/morpho/algebraic_union_find.hh,
      	* mln/canvas/dirbrowsing.hh,
      	* mln/canvas/labeling.hh: Fix warnings.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1093 4aad255d-cdde-0310-9447-f3009e2ae8c0
      90f10e66
  14. 29 Aug, 2007 1 commit
    • 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
  15. 28 Aug, 2007 1 commit
  16. 26 Jul, 2007 1 commit
    • 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
  17. 24 Jul, 2007 1 commit
    • 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
  18. 23 Jul, 2007 1 commit
    • 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
  19. 20 Jul, 2007 1 commit
    • 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
  20. 17 Jul, 2007 2 commits
    • Thierry Geraud's avatar
      New 2D window types in mln. · 56c80ae1
      Thierry Geraud authored
      	* tests/median.cc: Clean up.
      	* tests/hmedian.cc: New.
      	* tests/erosion.cc: Clean up.
      	* tests/rectangle2d.cc: Update.
      	* mln/core/hline2d.hh: New.
      	* mln/core/rectangle2d.hh
      	(half_width_, half_height_): Change to...
      	(width_, height_): ...these.
      	Update.
      	* mln/core/vline2d.hh: New.
      	* mln/morpho/erosion.hh (erosion_wrt_win): New overload.
      	* mln/level/was.median.hh: New.
      	* mln/level/approx: New.
      	* mln/level/approx/median.hh: New.
      	* mln/level/median.hh (median_as_procedure): Move into...
      	* mln/level/was.hmedian.hh: ...this new file.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1021 4aad255d-cdde-0310-9447-f3009e2ae8c0
      56c80ae1
    • Thierry Geraud's avatar
      Add delta to windows in mln. · c54f5439
      Thierry Geraud authored
      	* tests/erosion.cc: New.
      	* mln/arith/minus.hh: New.
      	* mln/core/point.hh,
      	* mln/core/dpoint.hh (vec_t, to_vec): New.
      	* mln/core/rectangle2d.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/concept/doc/window.hh,
      	* mln/core/window.hh (delta): New.
      	* mln/level/fill.hh: New overload.
      	* mln/norm: New.
      	* mln/norm/infty.hh: New.
      	* mln/accu/min.hh: New.
      	* mln/accu/sum.hh: New.
      	* mln/accu/max.hh: New.
      
      	* tests/window2d.cc: Use delta.
      	* tests/box2d.cc: Add assertion.
      	* tests/dpoint2d.cc: Test to_vec.
      	* mln/morpho/erosion.hh: Add dispatch.
      	* mln/accu/mean.hh: Rewrite.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1016 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c54f5439
  21. 12 Jul, 2007 1 commit
    • Thierry Geraud's avatar
      Add naive median to milena + fix problems with g++-2.95. · 1f478867
      Thierry Geraud authored
      	* tests/window2d.cc: .
      	* tests/median.cc: .
      	* tests/box2d.cc: .
      	* tests/naive_median.cc: New.
      	* tests/histo.cc: .
      	* tests/rectangle2d.cc: New.
      	* mln/convert/to_dpoint.hh: Fix missing include.
      	* mln/level/naive: New.
      	* mln/level/naive/median.hh: New.
      	* mln/level/median.hh: Update.
      	* mln/io/save_pgm.hh,
      	* mln/io/load_pgm.hh: Conform with g++-2.95.
      	* mln/core/dpoint2d.hh (up, down, left, right): New.
      	* mln/core/box.hh: Add impl inheritance.
      	* mln/core/rectangle2d.hh: Fake typedef; add FIXME.
      	(sym_): New.
      	* mln/core/concept/window.hh (operator-): New.
      	* mln/core/concept/doc/window.hh: Update.
      	* mln/core/window.hh (sym_): New.
      	(operators): Help g++-2.95.
      	* mln/core/image2d_b.hh: Add impl inheritance.
      	(init_with, bbox): New.
      	(nrows, ncols): Remove; now inherited.
      	* mln/core/internal/coord_impl.hh: Fix missing include.
      	* mln/core/internal/box_impl.hh: New.
      	* mln/core/internal/set_of.hh: Turn to lazy.
      	(operator==): New.
      	* mln/accu/median.hh: Conform with g++-2.95.
      	* mln/value/viter.hh: Help g++-2.95.
      	* mln/value/set.hh: Cosmetics.
      	* mln/value/int_u.hh: Help g++-2.95.
      	* mln/value/internal/value_like.hh (to_equiv): New.
      	* mln/border/thickness.hh: Remove const.
      	* img: New.
      	* img/lena.pgm: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1006 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f478867
  22. 11 Jul, 2007 1 commit
    • Thierry Geraud's avatar
      Better milena median. · 9fe6c1fc
      Thierry Geraud authored
      	* tests/median.cc: Update.
      	* mln/convert/to_dpoint.hh: New.
      	* mln/debug/println.hh (println): Add endl.
      	* mln/level/median.hh: New.
      	* mln/io/save_pgm.hh: New.
      	* mln/io/load_pgm.hh: New.
      	* mln/core/box.hh (len): New.
      	* mln/core/concept/box.hh: Likewise.
      	* mln/core/point.hh (zero): New.
      	* mln/core/dpoint.hh: Likewise.
      	* mln/core/concept/window.hh (dpoint, point): New.
      	* mln/core/window.hh,
      	* mln/core/rectangle2d.hh: Update.
      	* mln/core/concept/genpoint.hh: Remove dead line.
      	* mln/core/concept/dpoint.hh (operator+): New.
      	* mln/core/image2d_b.hh: .
      	* mln/core/internal/force_exact.hh: Avoid obj creation.
      	* mln/accu: New.
      	* mln/value/histo.hh: Rename as...
      	* mln/value/median.hh: ...this.
      	* mln/accu/histo.hh: Rename as...
      	* mln/accu/median.hh: ...this.
      	* mln/accu/median_alt.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1005 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9fe6c1fc
  23. 09 Jul, 2007 1 commit
    • Thierry Geraud's avatar
      Add progressive histogram and median in milena. · 35293fda
      Thierry Geraud authored
      	* tests/median.cc: New.
      	* mln/value/vset.hh: Rename as...
      	* mln/value/set.hh: ... this new file.
      	* tests/vset.cc: Update.
      	* tests/histo.cc: New.
      	* mln/histo: New.
      	* mln/core/concept/value_set.hh: Update.
      	* mln/core/concept/doc/value_set.hh: Update.
      	* mln/value/histo.hh: New.
      	* mln/value/median.hh: New.
      	* mln/value/int_u.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1003 4aad255d-cdde-0310-9447-f3009e2ae8c0
      35293fda