Functions | |
template<typename I, typename Wh, typename Wm> | |
mln::trait::concrete< I >::ret | hit_or_miss (const Image< I > &input_, const Window< Wh > &win_hit_, const Window< Wm > &win_miss_) |
Morphological hit-or-miss. | |
template<typename I, typename W> | |
mln::trait::concrete< I >::ret | rank_filter (const Image< I > &input_, const Window< W > &win_, unsigned k) |
Morphological rank_filter. |
mln::trait::concrete< I >::ret mln::morpho::impl::generic::hit_or_miss | ( | const Image< I > & | input_, | |
const Window< Wh > & | win_hit_, | |||
const Window< Wm > & | win_miss_ | |||
) | [inline] |
Morphological hit-or-miss.
This operator is HMT_(Bh,Bm) = e_Bh /\ (e_Bm o C).
References mln::morpho::dilation(), mln::morpho::erosion(), mln::data::fill(), mln::initialize(), and mln::literal::zero.
Referenced by mln::morpho::thickening(), and mln::morpho::thinning().
mln::trait::concrete< I >::ret mln::morpho::impl::generic::rank_filter | ( | const Image< I > & | input_, | |
const Window< W > & | win_, | |||
unsigned | k | |||
) | [inline] |
Morphological rank_filter.
References mln::extension::adjust_fill(), mln::geom::delta(), mln::accu::stat::rank< T >::init(), mln::initialize(), and mln::accu::stat::rank< T >::take().