27 #ifndef MLN_BORDER_FIND_HH
28 # define MLN_BORDER_FIND_HH
35 # include <mln/core/internal/image_morpher.hh>
54 unsigned find(
const Image<I>& ima);
57 # ifndef MLN_INCLUDE_ONLY
62 template <
typename I,
typename T,
typename S,
typename E>
69 template <
typename T,
typename S,
typename E>
78 unsigned find_(trait::image::speed::any,
const I& ima)
80 return border::impl::find__(ima);
85 unsigned find_(trait::image::speed::fastest,
const I& ima)
97 unsigned find(
const Image<I>& ima)
99 mln_trace(
"border::find");
101 mln_precondition(
exact(ima).is_valid());
102 unsigned res = border::impl::find_(mln_trait_image_speed(I)(),
exact(ima));
107 # endif // ! MLN_INCLUDE_ONLY
114 #endif // ! MLN_BORDER_FIND_HH