26 #ifndef MLN_ESTIM_MEAN_HH
27 # define MLN_ESTIM_MEAN_HH
33 # include <mln/accu/stat/mean.hh>
34 # include <mln/data/compute.hh>
49 mln_sum(mln_value(I))
mean(const Image<I>& input);
60 template <typename S, typename I, typename M>
61 void mean(const Image<I>& input, M& result);
64 # ifndef MLN_INCLUDE_ONLY
70 mln_precondition(exact(input).is_valid());
74 template <
typename S,
typename I,
typename M>
78 mln_precondition(exact(input).is_valid());
83 # endif // ! MLN_INCLUDE_ONLY
90 #endif // ! MLN_ESTIM_MEAN_HH