$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::morpho::tree::impl::generic Namespace Reference

Functions

template<typename I , typename S , typename N >
data< I, p_array< typename
I::psite > > 
dual_union_find (const Image< I > &f, const Image< I > &m, const Site_Set< S > &s_f, const Site_Set< S > &s_m, const Neighborhood< N > &nbh)

Function Documentation

template<typename I , typename S , typename N >
data< I, p_array<typename I ::psite> > mln::morpho::tree::impl::generic::dual_union_find ( const Image< I > &  f,
const Image< I > &  m,
const Site_Set< S > &  s_f,
const Site_Set< S > &  s_m,
const Neighborhood< N > &  nbh 
)

Compute a tree using union-find method.

Parameters
fThe original image.
mThe connectivity mask.
s_fThe sorted site set of f
s_mThe sorted site set of m.
nbhThe neighborhood of the mask.
Returns
The tree structure.