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());
79 histo::array<mln_value(I)>
compute(const Image<I>& input)
81 mln_trace(
"histo::compute");
82 mlc_equal(mln_trait_image_quant(I), mln::trait::image::quant::low)::check();
83 mln_precondition(
exact(input).is_valid());
85 histo::array<mln_value(I)> h = impl::compute_(mln_trait_image_speed(I)(),
91 # endif // ! MLN_INCLUDE_ONLY
98 #endif // ! MLN_HISTO_COMPUTE_HH