27 #ifndef MLN_LABELING_WRAP_HH
28 # define MLN_LABELING_WRAP_HH
35 # include <mln/core/concept/image.hh>
36 # include <mln/data/transform.hh>
37 # include <mln/fun/v2v/wrap.hh>
38 # include <mln/metal/converts_to.hh>
39 # include <mln/metal/is_a.hh>
40 # include <mln/value/label_8.hh>
59 template <
typename V,
typename I>
61 wrap(const V& value_type, const Image<I>& input);
73 mln_ch_value(I, mln::
value::label_8)
74 wrap(const Image<I>& input);
77 # ifndef MLN_INCLUDE_ONLY
79 template <
typename V,
typename I>
82 wrap(const V& value_type, const Image<I>& input)
84 mln_trace(
"labeling::wrap");
87 mln_precondition(
exact(input).is_valid());
98 mln_ch_value(I, mln::
value::label_8)
99 wrap(const Image<I>& input)
104 # endif // ! MLN_INCLUDE_ONLY
111 #endif // ! MLN_LABELING_WRAP_HH