26 #ifndef MLN_LABELING_WRAP_HH
27 # define MLN_LABELING_WRAP_HH
34 # include <mln/core/concept/image.hh>
35 # include <mln/data/transform.hh>
36 # include <mln/fun/v2v/wrap.hh>
37 # include <mln/metal/converts_to.hh>
38 # include <mln/metal/is_a.hh>
39 # include <mln/value/label_8.hh>
55 template <
typename V,
typename I>
57 wrap(const V& value_type, const Image<I>& input);
66 mln_ch_value(I, mln::
value::label_8)
67 wrap(const Image<I>& input);
70 # ifndef MLN_INCLUDE_ONLY
72 template <
typename V,
typename I>
77 trace::entering(
"labeling::wrap");
80 mln_precondition(exact(input).is_valid());
85 trace::exiting(
"labeling::wrap");
98 # endif // ! MLN_INCLUDE_ONLY
105 #endif // ! MLN_LABELING_WRAP_HH