Functions | |
template<typename L, typename I, typename N> | |
mln::trait::ch_value< I, L >::ret | flooding (const Image< I > &input_, const Neighborhood< N > &nbh_, L &n_basins) |
Meyer's Watershed Transform (WST) algorithm. |
mln::trait::ch_value< I , L >::ret mln::morpho::watershed::impl::generic::flooding | ( | const Image< I > & | input_, | |
const Neighborhood< N > & | nbh_, | |||
L & | n_basins | |||
) | [inline] |
Meyer's Watershed Transform (WST) algorithm.
[in] | input | The input image. |
[in] | nbh | The connexity of markers. |
[out] | n_basins | The number of basins. |
L
is the type of labels, used to number the watershed itself (with the minimal value), and the basins. I
is the exact type of the input image. N
is the exact type of the neighborhood used to express input's connexity. Definition at line 114 of file flooding.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::data::fill(), mln::morpho::watershed::internal::flooding_dispatch(), mln::p_priority< P, Q >::front(), mln::initialize(), mln::internal::site_set_base_< P, E >::is_empty(), mln::morpho::watershed::max(), mln::p_priority< P, Q >::pop(), mln::p_priority< P, Q >::push(), mln::labeling::regional_minima(), and mln::literal::zero.
Referenced by mln::morpho::watershed::internal::flooding_dispatch().