31 #include <mln/core/alias/point2d.hh>
34 #include <mln/core/image/vertex_image.hh>
35 #include <mln/core/var.hh>
36 #include <mln/fun/i2v/array.hh>
37 #include <mln/util/graph.hh>
38 #include <mln/make/vertex_image.hh>
40 #include <mln/morpho/meyer_wst.hh>
65 typedef fun::i2v::array<point2d> fsite_t;
91 typedef fun::i2v::array<unsigned> viota_t;
92 viota_t
iota(g.v_nmax());
93 for (
unsigned i = 0; i <
iota.size(); ++i)
103 typedef ima_t::nbh_t nbh_t;
108 std::cout <<
"nbasins = " << nbasins << std::endl;
111 mln_piter_(ima_t) pw(wshed.domain());
113 std::cout << "wshed (" << pw << ") = " << wshed(pw) << std::endl;