27 #ifndef MLN_ACCU_SHAPE_HEIGHT_HH
28 # define MLN_ACCU_SHAPE_HEIGHT_HH
44 # include <mln/accu/internal/base.hh>
45 # include <mln/core/concept/meta_accumulator.hh>
47 # include <mln/util/pix.hh>
48 # include <mln/math/min.hh>
49 # include <mln/math/max.hh>
123 template <
typename I>
135 # ifndef MLN_INCLUDE_ONLY
140 template <
typename I>
147 template <
typename I>
152 min_level__ = mln_max(
value);
153 max_level__ = mln_min(
value);
157 template <
typename I>
164 height_ = max_level__ - min_level__;
167 template <
typename I>
174 height_ = max_level__ - min_level__;
177 template <
typename I>
185 template <
typename I>
192 min_level__ = mln_max(
value);
193 max_level__ = mln_min(
value);
196 template <
typename I>
206 # endif // ! MLN_INCLUDE_ONLY
213 #endif // ! MLN_ACCU_SHAPE_HEIGHT_HH