27 #ifndef MLN_DATA_WRAP_HH
28 # define MLN_DATA_WRAP_HH
36 #include <mln/core/concept/image.hh>
38 #include <mln/data/transform.hh>
39 #include <mln/fun/v2v/wrap.hh>
58 template <
typename V,
typename I>
60 wrap(const V& v, const Image<I>& input);
63 # ifndef MLN_INCLUDE_ONLY
66 template <
typename V,
typename I>
68 wrap(const V& v, const Image<I>& input_)
70 mln_trace(
"mln::data::wrap");
73 const I& input =
exact(input_);
75 mln_precondition(input.is_valid());
83 # endif // ! MLN_INCLUDE_ONLY
90 #endif // ! MLN_DATA_WRAP_HH