$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Morphological Watershed

Functions

template<typename L , typename I , typename N >
mln::trait::ch_value< I, L >::ret mln::morpho::watershed::flooding (const Image< I > &input, const Neighborhood< N > &nbh, L &n_basins)
template<typename L , typename I , typename N >
mln::trait::ch_value< I, L >::ret mln::morpho::watershed::flooding (const Image< I > &input, const Neighborhood< N > &nbh)

Detailed Description

Variants of the Morphological Watershed.

Function Documentation

template<typename L , typename I , typename N >
mln::trait::ch_value< I , L >::ret mln::morpho::watershed::flooding ( const Image< I > &  input,
const Neighborhood< N > &  nbh,
L &  n_basins 
)

Meyer's Watershed Transform (WST) algorithm.

Parameters
[in]inputThe input image.
[in]nbhThe connexity of markers.
[out]n_basinsThe 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.
template<typename L , typename I , typename N >
mln::trait::ch_value< I , L >::ret mln::morpho::watershed::flooding ( const Image< I > &  input,
const Neighborhood< N > &  nbh 
)

Meyer's Watershed Transform (WST) algorithm, with no count of basins.

Parameters
[in]inputThe input image.
[in]nbhThe connexity of markers.
  • 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.

Note that the first parameter, L, is not automatically valued from the type of the actual argument during implicit instantiation: you have to explicitly pass this parameter at call sites.