• Thierry Geraud's avatar
    Fix accu::histo_h and cleanup level::median. · 3b92d8f1
    Thierry Geraud authored
    	* mln/level/median.hh (internal::median_tests): New.
    	(median_dir): Remove; useless, better replace by handling
    	(impl::median): Rename as...
    	(impl::generic::median): ...this.
    	(impl::median_line): New.
    	(internal::mediant_dispatch): New.
    	(include): Update.
    	* mln/accu/transform_line.hh: New.
    	* mln/accu/all.hh: Update.
    	* tests/level/median_dir.cc: Remove.
    	There is no median_dir.hh file so having this test is dull!
    	* tests/level/median_hline2d.cc: Likewise.
    	* tests/level/median.cc: Merge tests from removed files.
    	* tests/level/Makefile.am: Update.
    	* mln/accu/histo.hh (init): Fix.
    	Forgetting to set sum_ to 0 leads to errors in median
    	* mln/accu/median_h.hh: Upgrade file doc style.
    	* mln/canvas/browsing/dir_struct_elt_incr_update.hh:
    	Add some debug information; I think that this code is bugged...
    	* tests/accu/transform_snake.cc,
    	* tests/accu/transform_diagonal.cc,
    	* tests/accu/transform_directional.cc
    	(ref): Remove unused object.
    	* tests/accu/median_h.cc: Upgrade file doc style.
    	* tests/accu/transform_line.cc: New.
    	* tests/accu/Makefile.am: Update.
    git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3140 4aad255d-cdde-0310-9447-f3009e2ae8c0