26 #ifndef MLN_MORPHO_CLOSING_STRUCTURAL_HH
27 # define MLN_MORPHO_CLOSING_STRUCTURAL_HH
33 # include <mln/morpho/includes.hh>
49 template <
typename I,
typename W>
51 structural(const Image<I>& input, const Window<W>& win);
55 # ifndef MLN_INCLUDE_ONLY
58 template <
typename I,
typename W>
61 structural(const Image<I>& input, const Window<W>& win)
63 trace::entering(
"morpho::closing::structural");
65 mln_precondition(exact(input).is_valid());
66 mln_precondition(! exact(win).is_empty());
70 mln_postcondition(output >= input);
72 trace::exiting("morpho::closing::structural");
77 # endif // ! MLN_INCLUDE_ONLY
86 #endif // ! MLN_MORPHO_CLOSING_STRUCTURAL_HH