26 #ifndef MLN_MORPHO_OPENING_STRUCTURAL_HH
27 # define MLN_MORPHO_OPENING_STRUCTURAL_HH
33 # include <mln/morpho/includes.hh>
48 template <
typename I,
typename W>
50 structural(const Image<I>& input, const Window<W>& win);
54 # ifndef MLN_INCLUDE_ONLY
57 template <
typename I,
typename W>
60 structural(const Image<I>& input, const Window<W>& win)
62 trace::entering(
"morpho::opening::structural");
64 mln_precondition(exact(input).is_valid());
65 mln_precondition(! exact(win).is_empty());
69 mln_postcondition(output <= input);
71 trace::exiting("morpho::opening::structural");
76 # endif // ! MLN_INCLUDE_ONLY
85 #endif // ! MLN_MORPHO_OPENING_STRUCTURAL_HH