26 #ifndef MLN_MAKE_DETACHMENT_HH
27 # define MLN_MAKE_DETACHMENT_HH
33 # include <mln/core/image/complex_image.hh>
34 # include <mln/make/cell.hh>
35 # include <mln/topo/is_facet.hh>
57 template <
unsigned D,
typename G,
typename V>
58 p_set< complex_psite<D, G> >
60 const complex_image<D, G, V>& ima);
63 # ifndef MLN_INCLUDE_ONLY
65 template <
unsigned D,
typename G,
typename V>
67 p_set< complex_psite<D, G> >
72 mlc_equal(V,
bool)::check();
79 faces_t detach_f = f_hat;
81 typedef complex_lower_higher_neighborhood<D, G> adj_nbh_t;
83 mln_piter(faces_t) g(f_hat);
84 mln_niter(adj_nbh_t) n(adj_nbh, g);
87 if (ima(n) && !f_hat.has(n))
95 # endif // MLN_INCLUDE_ONLY
101 #endif // ! MLN_MAKE_DETACHMENT_HH