mln::morpho::watershed Namespace Reference

Namespace of morphological watershed routines. More...


Classes

struct  topo_wst

Namespaces

namespace  impl
namespace  internal
namespace  watershed
 Namespace of morphological watershed routines implementations.

Functions

template<typename L, typename I, typename N>
mln::trait::ch_value< I, L >::ret flooding (const Image< I > &input, const Neighborhood< N > &nbh)
 Meyer's Watershed Transform (WST) algorithm, with no count of basins.
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.
template<class I>
I::site max (p_set< typename I::site > &components)
template<class I>
I::site min (const Image< I > &ima_, p_set< typename I::site > &components)
template<typename I, typename J>
mln::trait::ch_value< I,
value::rgb8 >::ret 
superpose (const Image< I > &input, const Image< J > &ws_ima)
 Convert an image to a rgb8 image and draw the watershed lines.
template<typename I, typename J>
mln::trait::ch_value< I,
value::rgb8 >::ret 
superpose (const Image< I > &input_, const Image< J > &ws_ima_, const value::rgb8 &wsl_color)
 Convert an image to a rgb8 image and draw the watershed lines.
template<class T>
T::image_t topological (T &tree)
 Compute a toological watershed transform from tree.
template<class T>
bool w_constructible (T &tree, typename T::site p)
template<class T>
bool w_constructible (T &tree, typename T::site p, typename T::site &r)


Detailed Description

Namespace of morphological watershed routines.

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 
) [inline]

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

Parameters:
[in] input The input image.
[in] nbh The 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.

Definition at line 396 of file flooding.hh.

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 
) [inline]

Meyer's Watershed Transform (WST) algorithm.

Parameters:
[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 381 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(), 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().

template<class I>
I ::site mln::morpho::watershed::max ( p_set< typename I::site > &  components  )  [inline]

template<class I>
I ::site mln::morpho::watershed::min ( const Image< I > &  ima_,
p_set< typename I::site > &  components 
) [inline]

Definition at line 67 of file topological.hh.

References mln::exact().

template<typename I, typename J>
mln::trait::ch_value< I, value::rgb8 >::ret mln::morpho::watershed::superpose ( const Image< I > &  input,
const Image< J > &  ws_ima 
) [inline]

Convert an image to a rgb8 image and draw the watershed lines.

Definition at line 109 of file morpho/watershed/superpose.hh.

References mln::literal::red, and superpose().

template<typename I, typename J>
mln::trait::ch_value< I, value::rgb8 >::ret mln::morpho::watershed::superpose ( const Image< I > &  input_,
const Image< J > &  ws_ima_,
const value::rgb8 &  wsl_color 
) [inline]

template<class T>
T::image_t mln::morpho::watershed::topological ( T &  tree  )  [inline]

template<class T>
bool mln::morpho::watershed::w_constructible ( T &  tree,
typename T::site  p 
) [inline]

Definition at line 669 of file topological.hh.

References w_constructible().

template<class T>
bool mln::morpho::watershed::w_constructible ( T &  tree,
typename T::site  p,
typename T::site &  r 
) [inline]


Generated on Sun Apr 25 02:04:07 2010 for Milena (Olena) by  doxygen 1.5.6