26 #ifndef MLN_BORDER_FIND_HH
27 # define MLN_BORDER_FIND_HH
34 # include <mln/core/internal/image_morpher.hh>
52 unsigned find(
const Image<I>& ima);
55 # ifndef MLN_INCLUDE_ONLY
60 template <
typename I,
typename T,
typename S,
typename E>
62 unsigned find__(
const mln::internal::image_morpher<I, T, S, E>& ima)
67 template <
typename T,
typename S,
typename E>
69 unsigned find__(
const mln::internal::image_base<T, S, E>&)
76 unsigned find_(trait::image::speed::any,
const I& ima)
78 return border::impl::find__(ima);
83 unsigned find_(trait::image::speed::fastest,
const I& ima)
97 trace::entering(
"border::find");
99 mln_precondition(exact(ima).is_valid());
100 unsigned res = border::impl::find_(mln_trait_image_speed(I)(), exact(ima));
102 trace::exiting(
"border::find");
106 # endif // ! MLN_INCLUDE_ONLY
113 #endif // ! MLN_BORDER_FIND_HH