1. 15 May, 2009 1 commit
    • Roland Levillain's avatar
      Have uniform signatures for watershed transforms. · 585cd01d
      Roland Levillain authored
      	* mln/morpho/meyer_wst.hh
      	(meyer_wst<I, N, L>(const Image<I>&, const Neighborhood<N>&, L&))
      	Reorder the template parameters...
      	(meyer_wst<L, I, N>(const Image<I>&, const Neighborhood<N>&, L&)):
      	...so that the type of labels (L) comes first.
      	* mln/morpho/watershed/flooding.hh:
      	Remove useless #include.
      	(watershed::flooding(const Image<I>&, const Neighborhood<N>&, L&)):
      	Likewise.
      	(watershed::flooding(const Image<I>&, const Neighborhood<N>&)):
      	New facade.
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3819 4aad255d-cdde-0310-9447-f3009e2ae8c0
      585cd01d
  2. 06 Feb, 2009 2 commits
    • Thierry Geraud's avatar
      Have fastest morpho wst flooding, plus several fixes. · 7d278e5a
      Thierry Geraud authored
      	* mln/morpho/watershed/flooding.hh
      	(flooding_fastest): Finalize it.
      	(flooding_dispatch): Activate the fastest version.
      	* mln/io/pnm/load.hh (io::pnm::load): Fix trace balancing.
      	* sandbox/fabien/labeling.hh
      	(labeling_video_fastest): Make it work.
      	* tests/morpho/watershed/flooding.cc: Augment.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3312 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7d278e5a
    • Thierry Geraud's avatar
      Prepare to fast the morpho wst by flooding. · bba0c0e9
      Thierry Geraud authored
      	* mln/morpho/watershed: New directory.
      	* mln/morpho/meyer_wst.hh: Copy to...
      	* mln/morpho/watershed/flooding.hh: ...this new file.
      	(watershed): New namespace.
      	(nbasins): Rename as...
      	(n_basins): ...this.
      	(meyer_wst): Remove overload without n_basins.
      	(meyer_wst): Rename this only remaining routine as...
      	(flooding): ...this.
      	(flooding_dispatch): New.
      	* mln/morpho/watershed/all.hh: New.
      	* mln/morpho/all.hh: Update.
      	* tests/morpho/watershed: New directory.
      	* tests/morpho/watershed/flooding.cc: New.
      	* tests/morpho/watershed/Makefile.am: New.
      	* tests/morpho/Makefile.am: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3308 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bba0c0e9