Functions | |
template<typename I, typename N> | |
mln::trait::concrete< I >::ret | seeds2tiling (const Image< I > &ima_, const Neighborhood< N > &nbh_) |
Generic implementation of geom::seed2tiling. | |
template<typename I, typename N> | |
I | seeds2tiling_roundness (Image< I > &ima_, const w_window2d_int &w_win, unsigned max, const Neighborhood< N > &nbh_) |
Take a labeled image ima_ with seeds and extend them until creating tiles rounder than the primary version. |
mln::trait::concrete< I >::ret mln::geom::impl::seeds2tiling | ( | const Image< I > & | ima_, | |
const Neighborhood< N > & | nbh_ | |||
) | [inline] |
Generic implementation of geom::seed2tiling.
Take a labeled image ima_
with seeds and extend them until creating tiles.
[in,out] | ima_ | The labeled image with seed. |
[in] | nbh_ | The neighborhood to use on this algorithm. |
References mln::duplicate(), mln::p_queue< P >::front(), mln::p_queue< P >::pop(), mln::p_queue< P >::push(), and seeds2tiling().
Referenced by mln::geom::seeds2tiling().
I mln::geom::impl::seeds2tiling_roundness | ( | Image< I > & | ima_, | |
const w_window2d_int & | w_win, | |||
unsigned | max, | |||
const Neighborhood< N > & | nbh_ | |||
) | [inline] |
Take a labeled image ima_
with seeds and extend them until creating tiles rounder than the primary version.
[in,out] | ima_ | The labeled image with seed. |
[in] | w_win | The weight window using by geom::chamfer to compute distance. |
[in] | max | Unsigned using by geom::chamfer to compute the distance. |
[in] | nbh_ | The neighborhood to use on this algorithm. |
ima_
has to be initialized. References mln::geom::chamfer(), mln::duplicate(), mln::p_priority< P, Q >::pop_front(), mln::p_priority< P, Q >::push(), seeds2tiling_roundness(), and mln::literal::zero.
Referenced by mln::geom::seeds2tiling_roundness().