27 #ifndef MLN_TRANSFORM_DISTANCE_FRONT_HH
28 # define MLN_TRANSFORM_DISTANCE_FRONT_HH
34 # include <mln/canvas/distance_front.hh>
35 # include <mln/transform/internal/distance_functor.hh>
48 template <
typename I,
typename N,
typename W,
typename D>
51 const Neighborhood<N>& nbh, const Weighted_Window<W>& w_win, D
max);
54 # ifndef MLN_INCLUDE_ONLY
56 template <
typename I,
typename N,
typename W,
typename D>
60 const Neighborhood<N>& nbh, const Weighted_Window<W>& w_win, D max)
62 mln_trace(
"transform::distance_front");
64 mln_precondition(
exact(input).is_valid());
65 mln_precondition(
exact(nbh).is_valid());
66 mln_precondition(
exact(w_win).is_valid());
68 mln_ch_value(I, D) output;
69 internal::distance_functor<I> f;
75 # endif // ! MLN_INCLUDE_ONLY
82 #endif // ! MLN_TRANSFORM_DISTANCE_FRONT_HH