26 #ifndef MLN_MORPHO_CLOSING_AREA_HH
27 # define MLN_MORPHO_CLOSING_AREA_HH
33 # include <mln/morpho/closing/algebraic.hh>
34 # include <mln/morpho/attribute/card.hh>
47 template <
typename I,
typename N>
49 area(const Image<I>& input, const Neighborhood<N>& nbh,
53 # ifndef MLN_INCLUDE_ONLY
55 template <
typename I,
typename N>
58 area(const Image<I>& input, const Neighborhood<N>& nbh,
61 trace::entering(
"morpho::closing::area");
63 mln_precondition(exact(input).is_valid());
65 mln_concrete(I) output;
66 output = closing::algebraic(input, nbh, attribute::card<I>(), lambda);
68 trace::exiting("morpho::closing::area");
72 # endif // ! MLN_INCLUDE_ONLY
81 #endif // ! MLN_MORPHO_CLOSING_AREA_HH