27 #ifndef MLN_HISTO_COMPUTE_HH
28 # define MLN_HISTO_COMPUTE_HH
34 # include <mln/core/concept/image.hh>
35 # include <mln/histo/array.hh>
39 # include <mln/histo/compute.spe.hh>
50 histo::array<mln_value(I)>
compute(
const Image<I>& input);
53 # ifndef MLN_INCLUDE_ONLY
63 histo::array<mln_value(I)> compute_(
const I& input)
65 histo::array<mln_value(I)> h;
66 mln_piter(I) p(input.domain());
81 trace::entering(
"histo::compute");
82 mlc_equal(mln_trait_image_quant(I), mln::trait::image::quant::low)::check();
83 mln_precondition(exact(input).is_valid());
88 trace::exiting(
"histo::compute");
92 # endif // ! MLN_INCLUDE_ONLY
99 #endif // ! MLN_HISTO_COMPUTE_HH