Namespace of image processing routines of elementary mathematical morphology. More...
Namespaces | |
namespace | impl |
namespace | internal |
Functions | |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | closing (const Image< I > &input, const Neighborhood< N > &nbh) |
Morphological elementary closing. | |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | dilation (const Image< I > &input, const Neighborhood< N > &nbh) |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | erosion (const Image< I > &input, const Neighborhood< N > &nbh) |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | gradient (const Image< I > &input, const Neighborhood< N > &nbh) |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | gradient_external (const Image< I > &input, const Neighborhood< N > &nbh) |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | gradient_internal (const Image< I > &input, const Neighborhood< N > &nbh) |
template<typename A , typename F , typename I , typename N > | |
mln::trait::concrete< I >::ret | like_ero_fun (const Meta_Accumulator< A > &a, const F &f, const Image< I > &input, const Neighborhood< N > &nbh) |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | like_ero_set (bool val[5], const Image< I > &input, const Neighborhood< N > &nbh) |
template<typename I , typename N > | |
mln_trait_op_minus_twice (typename mln::trait::concrete< I >::ret) laplacian(const Image< I > &input | |
Morphological elementary laplacian. | |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | opening (const Image< I > &input, const Neighborhood< N > &nbh) |
Morphological elementary opening. | |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | top_hat_black (const Image< I > &input, const Neighborhood< N > &nbh) |
Morphological elementary black top-hat (for background / dark objects). | |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | top_hat_self_complementary (const Image< I > &input, const Neighborhood< N > &nbh) |
Morphological elementary self-complementary top-hat. | |
template<typename I , typename N > | |
mln::trait::concrete< I >::ret | top_hat_white (const Image< I > &input, const Neighborhood< N > &nbh) |
Morphological elementary white top-hat (for object / light objects). | |
Variables | |
const Neighborhood< N > & | nbh |
Namespace of image processing routines of elementary mathematical morphology.
mln::trait::concrete< I >::ret mln::morpho::elementary::closing | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) | [inline] |
Morphological elementary closing.
This operator is e o d.
References dilation(), mln::trace::entering(), erosion(), mln::exact(), and mln::trace::exiting().
Referenced by top_hat_black(), and top_hat_self_complementary().
mln::trait::concrete< I >::ret mln::morpho::elementary::dilation | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) |
mln::trait::concrete< I >::ret mln::morpho::elementary::erosion | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) |
mln::trait::concrete< I >::ret mln::morpho::elementary::gradient | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) |
mln::trait::concrete< I >::ret mln::morpho::elementary::gradient_external | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) |
mln::trait::concrete< I >::ret mln::morpho::elementary::gradient_internal | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) |
mln::trait::concrete< I >::ret mln::morpho::elementary::like_ero_fun | ( | const Meta_Accumulator< A > & | a, | |
const F & | f, | |||
const Image< I > & | input, | |||
const Neighborhood< N > & | nbh | |||
) |
References mln::exact(), and mln::morpho::elementary::internal::like_ero_fun_dispatch().
Referenced by mln::morpho::elementary::internal::dilation_dispatch(), mln::morpho::elementary::internal::erosion_dispatch(), mln::morpho::elementary::internal::gradient_external_dispatch(), mln::morpho::elementary::internal::gradient_internal_dispatch(), and mln::morpho::elementary::internal::like_ero_fun_dispatch().
mln::trait::concrete< I >::ret mln::morpho::elementary::like_ero_set | ( | bool | val[5], | |
const Image< I > & | input, | |||
const Neighborhood< N > & | nbh | |||
) |
References mln::exact(), and mln::morpho::elementary::internal::like_ero_set_dispatch().
Referenced by mln::morpho::elementary::internal::dilation_dispatch(), mln::morpho::elementary::internal::erosion_dispatch(), mln::morpho::elementary::internal::gradient_external_dispatch(), mln::morpho::elementary::internal::gradient_internal_dispatch(), and mln::morpho::elementary::internal::like_ero_set_dispatch().
mln::morpho::elementary::mln_trait_op_minus_twice | ( | typename mln::trait::concrete< I >::ret | ) | const [inline] |
Morphological elementary laplacian.
This operator is (d - id) - (id - e).
mln::trait::concrete< I >::ret mln::morpho::elementary::opening | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) | [inline] |
Morphological elementary opening.
This operator is d o e.
References dilation(), mln::trace::entering(), erosion(), mln::exact(), and mln::trace::exiting().
Referenced by top_hat_self_complementary(), and top_hat_white().
mln::trait::concrete< I >::ret mln::morpho::elementary::top_hat_black | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) | [inline] |
Morphological elementary black top-hat (for background / dark objects).
This operator is clo - Id.
References closing(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::morpho::minus(), and mln::test::positive().
mln::trait::concrete< I >::ret mln::morpho::elementary::top_hat_self_complementary | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) | [inline] |
Morphological elementary self-complementary top-hat.
This operator is
= top_hat_white + top_hat_black
= (Id - opening) + (closing - Id)
= closing - opening.
References closing(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::morpho::minus(), opening(), and mln::test::positive().
mln::trait::concrete< I >::ret mln::morpho::elementary::top_hat_white | ( | const Image< I > & | input, | |
const Neighborhood< N > & | nbh | |||
) | [inline] |
Morphological elementary white top-hat (for object / light objects).
This operator is Id - ope.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::morpho::minus(), opening(), and mln::test::positive().
const Neighborhood<N>& mln::morpho::elementary::nbh |