26 #ifndef MLN_TRANSFORM_INFLUENCE_ZONE_FRONT_HH
27 # define MLN_TRANSFORM_INFLUENCE_ZONE_FRONT_HH
33 # include <mln/canvas/distance_front.hh>
34 # include <mln/transform/internal/influence_zone_functor.hh>
44 template <
typename I,
typename N,
typename W,
typename D>
47 const Neighborhood<N>& nbh, const Weighted_Window<W>& w_win, D max);
50 template <typename I, typename N, typename W>
53 const Neighborhood<N>& nbh, const Weighted_Window<W>& w_win);
56 # ifndef MLN_INCLUDE_ONLY
58 template <
typename I,
typename N,
typename W,
typename D>
63 trace::entering(
"transform::influence_zone_front");
65 mln_precondition(exact(input).is_valid());
66 mln_precondition(exact(nbh).is_valid());
67 mln_precondition(exact(w_win).is_valid());
69 internal::influence_zone_functor<I> f;
72 trace::exiting(
"transform::influence_zone_front");
76 template <
typename I,
typename N,
typename W>
84 # endif // ! MLN_INCLUDE_ONLY
91 #endif // ! MLN_TRANSFORM_INFLUENCE_ZONE_FRONT_HH