26 #ifndef MLN_DATA_WRAP_HH
27 # define MLN_DATA_WRAP_HH
35 #include <mln/core/concept/image.hh>
37 #include <mln/data/transform.hh>
38 #include <mln/fun/v2v/wrap.hh>
55 template <
typename V,
typename I>
57 wrap(const V& v, const Image<I>& input);
60 # ifndef MLN_INCLUDE_ONLY
63 template <
typename V,
typename I>
67 trace::entering(
"mln::data::wrap");
70 const I& input = exact(input_);
72 mln_precondition(input.is_valid());
77 trace::exiting(
"mln::data::wrap");
81 # endif // ! MLN_INCLUDE_ONLY
88 #endif // ! MLN_DATA_WRAP_HH