26 #ifndef MLN_DATA_TO_ENC_HH
27 # define MLN_DATA_TO_ENC_HH
35 # include <mln/data/transform.hh>
36 # include <mln/fun/v2v/enc.hh>
52 template <
typename I,
typename O>
53 void to_enc(
const Image<I>& input, Image<O>& output);
56 # ifndef MLN_INCLUDE_ONLY
58 template <
typename I,
typename O>
62 trace::entering(
"data::to_enc");
64 mln_precondition(exact(output).domain() == exact(input).domain());
67 trace::exiting(
"data::to_enc");
70 # endif // ! MLN_INCLUDE_ONLY
77 #endif // ! MLN_DATA_TO_ENC_HH