1. 10 Feb, 2009 5 commits
    • Thierry Geraud's avatar
      Fix missing specialization for bkd_pixter in image1d and image3d. · 91417672
      Thierry Geraud authored
      	* mln/core/image/image1d.hh
      	(bkd_pixter): Fix missing specialization.
      	* mln/core/image/image3d.hh
      	(bkd_pixter): Fix missing specialization.
      	* mln/morpho/attribute/card.hh: Fix missing using.
      	* mln/canvas/morpho/algebraic_filter.hh: Layout.
      	* tests/morpho/closing_algebraic.cc: Remove dead code.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3333 4aad255d-cdde-0310-9447-f3009e2ae8c0
      91417672
    • Thierry Geraud's avatar
      Fetch card and algebraic_union_find.hh from Edwin's sandbox. · b8c12d45
      Thierry Geraud authored
      	* mln/trait/accumulator/props.hh (use_none): New.
      	* mln/trait/accumulators.hh
      	(mln_trait_accumulator_has_setvalue): Rename as...
      	(mln_trait_accumulator_has_set_value): ...this.
      	* mln/morpho/attribute: New directory.
      	* mln/morpho/attribute/all.hh: New.
      	* sandbox/edwin/card.hh: Copy to...
      	* mln/morpho/attribute/card.hh: ...this new file.
      	Update.
      	* mln/morpho/all.hh: Update.
      	* sandbox/edwin/algebraic_union_find.hh: Copy to...
      	* mln/canvas/morpho/algebraic_filter.hh: ...this new file.
      	(algebraic_union_find): Rename as...
      	(algebraic_filter): ...this.
      	Fix.
      	* mln/morpho/closing_algebraic.hh: New.
      	* mln/canvas/morpho/all.hh: Update.
      	* tests/morpho/attribute: New directory.
      	* tests/morpho/attribute/Makefile.am: New.
      	* tests/morpho/attribute/card.cc: New.
      	* tests/morpho/Makefile.am: Update.
      	* tests/morpho/closing_algebraic.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3332 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b8c12d45
    • Frdric Bour's avatar
      [sandbox][bour] ~Working algebraic, wip leveling. · b525f240
      Frdric Bour authored
      	* milena/sandbox/fred/Makefile: .
      	* milena/sandbox/fred/accu_trait.hh: New.
      	* milena/sandbox/fred/algebraic.cc: .
      	* milena/sandbox/fred/closing_area.cc: New.
      	* milena/sandbox/fred/leveling.cc: New.
      	* milena/sandbox/fred/mean.hh: New.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3331 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b525f240
    • Thierry Geraud's avatar
      Fetch accumulator properties from Fred's sandbox. · 158c1667
      Thierry Geraud authored
      	* mln/trait/accumulator: New directory.
      	* sandbox/fred/accuprops.cc: Copy to...
      	* mln/trait/accumulator/props.hh,
      	* mln/trait/accumulators.hh: ...these new files.
      	Rename entities to enforce consistency.
      	Remove leveling related code.
      	* mln/trait/accumulator/print.hh: New.
      	* mln/core/concept/accumulator.hh: Include props.
      	* tests/accu/max.cc: Upgrade file doc style.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3330 4aad255d-cdde-0310-9447-f3009e2ae8c0
      158c1667
    • Guillaume Lazzara's avatar
      Fix accu::center. · 0409550a
      Guillaume Lazzara authored
      	* mln/accu/center.hh: use a vector of type mln_sum(P::coord) instead
      	of P::vec. Avoid an overflow.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3329 4aad255d-cdde-0310-9447-f3009e2ae8c0
      0409550a
  2. 09 Feb, 2009 13 commits
  3. 08 Feb, 2009 3 commits
    • Thierry Geraud's avatar
      Fix missing update from 'raw' to 'dump'. · de35fe19
      Thierry Geraud authored
      	* theo/igr/raw2pgm.cc: Rename as...
      	* theo/igr/dump2pgm.cc: ...this.
      	(include, usage): Fix missing update.
      	* theo/igr/pgms2raw.cc: Rename as...
      	* theo/igr/pgms2dump.cc: ...this.
      	(usage): Fix missing update.
      	(main): Fix io save.
      	* theo/igr/irm_anat_segm.cc: Update.
      	* theo/igr/irm_anat_segm__2D_ONLY.cc: Update.
      	* theo/irm.cc: Rename as...
      	* theo/igr/irm_seg_with_mm_and_rag.cc: ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3315 4aad255d-cdde-0310-9447-f3009e2ae8c0
      de35fe19
    • Thierry Geraud's avatar
      Add a color segmentation on pixels (not on edges). · a758dddb
      Thierry Geraud authored
      	* theo/color/segment.hh: Update.
      	* theo/color/segment_rgb_pixels.cc: New.
      	* theo/color/segment_rgb_edges.cc: Update.
      	* theo/color/mean_rgb_pix.hh: New.
      	* theo/color/change_attributes.hh: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3314 4aad255d-cdde-0310-9447-f3009e2ae8c0
      a758dddb
    • Thierry Geraud's avatar
      Update segmentation code. · 741bf6fb
      Thierry Geraud authored
      	* theo/color/segment.cc: Rename as...
      	* theo/color/segment_rgb_edges.cc: ...this.
      	Update.
      	* theo/color/segment_debase.cc: Rename as...
      	* theo/color/segment_gl_pixels.cc: ...this.
      	Update.
      	* theo/color/segment.hh (filter): Add change_kind.
      	* theo/color/change_attributes.hh
      	(extinct_attributes, move_down_attributes): Use echo.
      	(fuse_down_attributes): Use echo.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3313 4aad255d-cdde-0310-9447-f3009e2ae8c0
      741bf6fb
  4. 06 Feb, 2009 7 commits
  5. 05 Feb, 2009 12 commits
    • Thierry Geraud's avatar
      Make distance-geodesic-based routines have fastest versions. · 127834be
      Thierry Geraud authored
      	* mln/canvas/distance_geodesic.hh
      	(distance_geodesic_tests, distance_geodesic_dispatch): New.
      	(distance_geodesic_fastest): New.
      	(distance_geodesic): Call dispatch.
      
      	* mln/transform/internal/influence_zone_functor.hh
      	(init_p): New; fix missing.
      	* mln/transform/internal/influence_zone_functor.hh,
      	* mln/transform/internal/closest_point_functor.hh,
      	* mln/transform/internal/distance_functor.hh,
      	(P): Fix.
      	(init_, init_p_, process_): New.
      	(inqueue_p_wrt_input_p_, inqueue_p_wrt_input_n_): New.
      	* mln/transform/closest_point_geodesic.hh: New.
      	* mln/transform/all.hh: Update.
      	* tests/transform/bench_closest_point_geodesic.cc: New.
      	* tests/transform/closest_point_geodesic.cc: New.
      	* tests/transform/Makefile.am: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3305 4aad255d-cdde-0310-9447-f3009e2ae8c0
      127834be
    • Edwin Carlinet's avatar
      Fix bugs for algebraic filter and cleaning. · 187a6403
      Edwin Carlinet authored
      	* edwin/accu.cc: Separate and make clean.
      	* edwin/accu_trait.hh: Test use_p and use_whatever traits.
      	* edwin/algebraic.hh: Algebraic filter.
      	* edwin/card.hh: Card accumulator.
      	* edwin/fredwin.cc: Remove.
      	* edwin/leveling.hh: Leveling filter.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3304 4aad255d-cdde-0310-9447-f3009e2ae8c0
      187a6403
    • Thierry Geraud's avatar
      Fix sorted labeling fastest canvas. · 62c5de88
      Thierry Geraud authored
      	* fabien/labeling.hh: Fix.
      	(labeling_video_fastest): Handle extension.
      	(labeling_sorted_fastest): Likewise.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3303 4aad255d-cdde-0310-9447-f3009e2ae8c0
      62c5de88
    • Guillaume Lazzara's avatar
      Fix missing is_valid() in complex and graph windows/neighborhoods. · 9b67367c
      Guillaume Lazzara authored
      	* mln/accu/transform_diagonal.hh,
      	* mln/accu/transform_directional.hh,
      	* mln/accu/transform_snake.hh: fix wrong precondition.
      
      	* mln/core/concept/neighborhood.hh,
      	* mln/core/concept/window.hh: add static check to be sure the method
      	is present.
      
      	* mln/core/internal/complex_neighborhood_base.hh,
      	* mln/core/internal/complex_window_p_base.hh,
      	* mln/core/internal/graph_window_base.hh,
      	* mln/core/internal/weighted_window_base.hh: add missing is_valid.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3302 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9b67367c
    • Guillaume Lazzara's avatar
      Update IGR's code. · acbb86c1
      Guillaume Lazzara authored
      	* lazzara/igr.cc: update code. Add more debug and use a new variant of
      	ICP.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3301 4aad255d-cdde-0310-9447-f3009e2ae8c0
      acbb86c1
    • Guillaume Lazzara's avatar
      Add new ICP variants. · bf39a73f
      Guillaume Lazzara authored
      	* mln/registration/icp2.hh: Add two new variants.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3300 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bf39a73f
    • Guillaume Lazzara's avatar
      Small changes in transformation related classes. · aa5c25d0
      Guillaume Lazzara authored
      	* mln/algebra/quat.hh: use mln_precondition instead of assert.
      
      	* mln/core/image/interpolated.hh: add a fixme.
      
      	* mln/fun/x2x/translation.hh: add a missing accessor to the
      	translation vector.
      
      	* mln/transform/internal/closest_point_functor.hh: fix wrong update of
      	the closest point image.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3299 4aad255d-cdde-0310-9447-f3009e2ae8c0
      aa5c25d0
    • Guillaume Lazzara's avatar
      Fix make::h_mat. · 35d5c838
      Guillaume Lazzara authored
      	* mln/make/h_mat.hh: fix wrong loop.
      
      	* tests/make/Makefile.am,
      	* tests/make/h_mat.cc: add a missing test.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3298 4aad255d-cdde-0310-9447-f3009e2ae8c0
      35d5c838
    • Guillaume Lazzara's avatar
      Fix wrong comments in fun::x2x:composed. · 04be98ab
      Guillaume Lazzara authored
      	* mln/fun/x2x/composed.hh: Comments were wrong, they are fixed. The
      	template parameter names are also more explicit.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3297 4aad255d-cdde-0310-9447-f3009e2ae8c0
      04be98ab
    • Guillaume Lazzara's avatar
      Add is_valid() to window and neighborhood. · d69d5a4f
      Guillaume Lazzara authored
      	* mln/core/internal/neighborhood_base.hh,
      	* mln/core/internal/window_base.hh: add is_valid()
      
      	* 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/canvas/distance_front.hh,
      	* mln/canvas/distance_geodesic.hh,
      	* mln/canvas/labeling.hh,
      	* mln/convert/to_image.hh,
      	* mln/core/concept/neighborhood.hh,
      	* mln/core/concept/window.hh,
      	* mln/core/w_window.hh,
      	* mln/geom/delta.hh,
      	* mln/labeling/background.hh,
      	* mln/labeling/foreground.hh,
      	* mln/labeling/level.hh,
      	* mln/level/median.hh,
      	* mln/linear/convolve.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/general.hh,
      	* mln/morpho/tree/compute_parent.hh,
      	* mln/morpho/tree/max.hh,
      	* mln/transform/distance_front.hh,
      	* mln/transform/distance_geodesic.hh,
      	* mln/transform/influence_zone_front.hh,
      	* mln/transform/influence_zone_geodesic.hh,
      	* mln/win/sym.hh: enable preconditions.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3296 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d69d5a4f
    • Guillaume Lazzara's avatar
      Cleanup accu::rms. · 9e00577d
      Guillaume Lazzara authored
      	* mln/accu/rms.hh: rename attributes and add a hook to the underlying
      	values.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3295 4aad255d-cdde-0310-9447-f3009e2ae8c0
      9e00577d
    • Guillaume Lazzara's avatar
      Add debug::histo. · 2b5b2906
      Guillaume Lazzara authored
      	* mln/debug/histo.hh: new. Print a histogram into a plot data file.
      
      	* mln/debug/all.hh: include this new header.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3294 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2b5b2906