Functions

mln::morpho::elementary Namespace Reference

Namespace of image processing routines of elementary mathematical morphology. More...

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_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).

Detailed Description

Namespace of image processing routines of elementary mathematical morphology.


Function Documentation

template<typename I , typename N >
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.

Definition at line 58 of file closing.hh.

Referenced by top_hat_black(), and top_hat_self_complementary().

template<typename I , typename N >
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).

template<typename I , typename N >
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.

Definition at line 58 of file opening.hh.

Referenced by top_hat_self_complementary(), and top_hat_white().

template<typename I , typename N >
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.

Definition at line 105 of file elementary/top_hat.hh.

References closing(), mln::morpho::minus(), and mln::test::positive().

template<typename I , typename N >
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.

Definition at line 125 of file elementary/top_hat.hh.

References closing(), mln::morpho::minus(), opening(), and mln::test::positive().

template<typename I , typename N >
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.

Definition at line 85 of file elementary/top_hat.hh.

References mln::morpho::minus(), opening(), and mln::test::positive().