26 #ifndef MLN_MORPHO_CLOSING_APPROX_STRUCTURAL_HH
27 # define MLN_MORPHO_CLOSING_APPROX_STRUCTURAL_HH
33 # include <mln/morpho/approx/dilation.hh>
34 # include <mln/morpho/approx/erosion.hh>
53 template <
typename I,
typename W>
59 # ifndef MLN_INCLUDE_ONLY
62 template <
typename I,
typename W>
65 structural(const Image<I>& input, const Window<W>& win)
67 mln_trace(
"morpho::closing::approx::structural");
69 mln_precondition(
exact(input).is_valid());
70 mln_precondition(!
exact(win).is_empty());
79 mln_postcondition(output >= input);
85 # endif // ! MLN_INCLUDE_ONLY
96 #endif // ! MLN_MORPHO_CLOSING_APPROX_STRUCTURAL_HH