26 #ifndef MLN_TRANSFORM_DISTANCE_FRONT_HH
27 # define MLN_TRANSFORM_DISTANCE_FRONT_HH
33 # include <mln/canvas/distance_front.hh>
34 # include <mln/transform/internal/distance_functor.hh>
45 template <
typename I,
typename N,
typename W,
typename D>
48 const Neighborhood<N>& nbh, const Weighted_Window<W>& w_win, D max);
51 # ifndef MLN_INCLUDE_ONLY
53 template <
typename I,
typename N,
typename W,
typename D>
59 trace::entering(
"transform::distance_front");
61 mln_precondition(exact(input).is_valid());
62 mln_precondition(exact(nbh).is_valid());
63 mln_precondition(exact(w_win).is_valid());
65 mln_ch_value(I, D) output;
66 internal::distance_functor<I> f;
69 trace::exiting(
"transform::distance_front");
73 # endif // ! MLN_INCLUDE_ONLY
80 #endif // ! MLN_TRANSFORM_DISTANCE_FRONT_HH