Namespaces | Classes | Functions

mln::morpho::impl Namespace Reference

Namespace of mathematical morphology routines implementations. More...

Namespaces

namespace  generic
 

Namespace of mathematical morphology routines generic implementations.


Classes

struct  Rd

Functions

template<typename I >
mln::trait::concrete< I >::ret complementation_ (trait::image::kind::logic, const Image< I > &input)
template<typename I >
mln::trait::concrete< I >::ret complementation_ (trait::image::kind::any, const Image< I > &input)
template<typename I >
void complementation_inplace_ (trait::image::kind::logic, Image< I > &input)
template<typename I >
void complementation_inplace_ (trait::image::kind::any, Image< I > &input)
template<typename I >
std::vector< unsigned > compute_histo (const I &ima)
template<typename I , typename W >
mln::trait::concrete< I >::ret erosion_tolerant_on_set (const Image< I > &input_, const Window< W > &win_, unsigned rank)
template<typename I , typename W >
mln::trait::concrete< I >::ret erosion_tolerant_on_set_fastest (const Image< I > &input_, const Window< W > &win_, unsigned rank)
template<typename I , typename W >
mln::trait::concrete< I >::ret general_on_set_centered (const erosion_op &, const Image< I > &input_, const Window< W > &win_)
template<typename I , typename W >
mln::trait::concrete< I >::ret general_on_set_centered (const dilation_op &, const Image< I > &input_, const Window< W > &win_)
template<typename I , typename W >
mln::trait::concrete< I >::ret general_on_set_centered_fastest (const dilation_op &, const Image< I > &input_, const Window< W > &win_)
template<typename I , typename W >
mln::trait::concrete< I >::ret general_on_set_centered_fastest (const erosion_op &, const Image< I > &input_, const Window< W > &win_)
template<typename I >
std::vector< typename I::psite > histo_reverse_sort (const I &ima)
template<typename I , typename Wh , typename Wm >
mln::trait::concrete< I >::ret hit_or_miss_logic (const Image< I > &input, const Window< Wh > &win_hit, const Window< Wm > &win_miss)
template<typename I , typename J , typename O >
mln::trait::concrete< I >::ret min_ (trait::image::kind::logic, const I &lhs, const J &rhs)
template<typename I , typename J >
mln::trait::concrete< I >::ret min_ (trait::image::kind::any, const I &lhs, const J &rhs)
template<typename I , typename J >
void min_inplace_ (trait::image::kind::any, I &lhs, const J &rhs)
template<typename I , typename J >
void min_inplace_ (trait::image::kind::logic, I &lhs, const J &rhs)
template<typename I , typename J >
mln::trait::concrete< I >::ret minus_ (trait::image::kind::logic, const I &lhs, const J &rhs)
template<typename I , typename J >
mln::trait::concrete< I >::ret minus_ (trait::image::kind::any, const I &lhs, const J &rhs)
template<typename I , typename J >
mln::trait::concrete< I >::ret plus_ (trait::image::kind::any, const I &lhs, const J &rhs)
template<typename I , typename J >
mln::trait::concrete< I >::ret plus_ (trait::image::kind::logic, const I &lhs, const J &rhs)
template<typename I , typename W >
mln::trait::concrete< I >::ret rank_filter_directional (const Image< I > &input, const Window< W > &win, unsigned k, unsigned dir)
template<typename I , typename W >
mln::trait::concrete< I >::ret rank_filter_line (const Image< I > &input, const Window< W > &win, unsigned k, unsigned dir)
template<typename I , typename N , typename F , typename K , typename R >
mln::trait::ch_value< I, bool >
::ret 
skeleton_constrained_fast (const Image< I > &input_, const Neighborhood< N > &nbh_, const F &is_simple, const Image< K > &constraint_, const Image< R > &priority_)

Detailed Description

Namespace of mathematical morphology routines implementations.


Function Documentation

template<typename I >
mln::trait::concrete< I >::ret mln::morpho::impl::complementation_ ( trait::image::kind::logic  ,
const Image< I > &  input 
) [inline]

Definition at line 73 of file complementation.hh.

References mln::logical::not_().

Referenced by mln::morpho::complementation().

template<typename I >
mln::trait::concrete< I >::ret mln::morpho::impl::complementation_ ( trait::image::kind::any  ,
const Image< I > &  input 
) [inline]

Definition at line 94 of file complementation.hh.

References mln::arith::revert().

template<typename I >
void mln::morpho::impl::complementation_inplace_ ( trait::image::kind::logic  ,
Image< I > &  input 
) [inline]

Definition at line 82 of file complementation.hh.

References mln::logical::not_inplace().

Referenced by mln::morpho::complementation_inplace().

template<typename I >
void mln::morpho::impl::complementation_inplace_ ( trait::image::kind::any  ,
Image< I > &  input 
) [inline]

Definition at line 103 of file complementation.hh.

References mln::arith::revert_inplace().

template<typename I >
std::vector<unsigned> mln::morpho::impl::compute_histo ( const I &  ima  )  [inline]

Definition at line 63 of file Rd.hh.

Referenced by histo_reverse_sort().

template<typename I , typename W >
mln::trait::concrete< I >::ret mln::morpho::impl::erosion_tolerant_on_set ( const Image< I > &  input_,
const Window< W > &  win_,
unsigned  rank 
)
template<typename I , typename W >
mln::trait::concrete< I >::ret mln::morpho::impl::erosion_tolerant_on_set_fastest ( const Image< I > &  input_,
const Window< W > &  win_,
unsigned  rank 
)
template<typename I , typename W >
mln::trait::concrete< I >::ret mln::morpho::impl::general_on_set_centered ( const erosion_op &  ,
const Image< I > &  input_,
const Window< W > &  win_ 
)
template<typename I , typename W >
mln::trait::concrete< I >::ret mln::morpho::impl::general_on_set_centered ( const dilation_op &  ,
const Image< I > &  input_,
const Window< W > &  win_ 
)
template<typename I , typename W >
mln::trait::concrete< I >::ret mln::morpho::impl::general_on_set_centered_fastest ( const dilation_op &  ,
const Image< I > &  input_,
const Window< W > &  win_ 
)
template<typename I , typename W >
mln::trait::concrete< I >::ret mln::morpho::impl::general_on_set_centered_fastest ( const erosion_op &  ,
const Image< I > &  input_,
const Window< W > &  win_ 
)
template<typename I >
std::vector<typename I ::psite> mln::morpho::impl::histo_reverse_sort ( const I &  ima  )  [inline]

Definition at line 74 of file Rd.hh.

References compute_histo().

Referenced by mln::morpho::impl::Rd< I, N >::Rd().

template<typename I , typename Wh , typename Wm >
mln::trait::concrete< I >::ret mln::morpho::impl::hit_or_miss_logic ( const Image< I > &  input,
const Window< Wh > &  win_hit,
const Window< Wm > &  win_miss 
) [inline]
template<typename I , typename J , typename O >
mln::trait::concrete< I >::ret mln::morpho::impl::min_ ( trait::image::kind::logic  ,
const I &  lhs,
const J &  rhs 
) [inline]

Definition at line 72 of file morpho/min.hh.

References mln::logical::and_().

Referenced by mln::morpho::min().

template<typename I , typename J >
mln::trait::concrete< I >::ret mln::morpho::impl::min_ ( trait::image::kind::any  ,
const I &  lhs,
const J &  rhs 
) [inline]

Definition at line 90 of file morpho/min.hh.

References mln::morpho::min().

template<typename I , typename J >
void mln::morpho::impl::min_inplace_ ( trait::image::kind::any  ,
I &  lhs,
const J &  rhs 
) [inline]

Definition at line 98 of file morpho/min.hh.

References mln::morpho::min_inplace().

template<typename I , typename J >
void mln::morpho::impl::min_inplace_ ( trait::image::kind::logic  ,
I &  lhs,
const J &  rhs 
) [inline]

Definition at line 80 of file morpho/min.hh.

References mln::logical::and_inplace().

Referenced by mln::morpho::min_inplace().

template<typename I , typename J >
mln::trait::concrete< I >::ret mln::morpho::impl::minus_ ( trait::image::kind::logic  ,
const I &  lhs,
const J &  rhs 
) [inline]

Definition at line 63 of file morpho/minus.hh.

References mln::logical::and_not().

Referenced by mln::morpho::minus().

template<typename I , typename J >
mln::trait::concrete< I >::ret mln::morpho::impl::minus_ ( trait::image::kind::any  ,
const I &  lhs,
const J &  rhs 
) [inline]

Definition at line 73 of file morpho/minus.hh.

template<typename I , typename J >
mln::trait::concrete< I >::ret mln::morpho::impl::plus_ ( trait::image::kind::any  ,
const I &  lhs,
const J &  rhs 
) [inline]

Definition at line 73 of file morpho/plus.hh.

template<typename I , typename J >
mln::trait::concrete< I >::ret mln::morpho::impl::plus_ ( trait::image::kind::logic  ,
const I &  lhs,
const J &  rhs 
) [inline]

Definition at line 63 of file morpho/plus.hh.

References mln::logical::or_().

Referenced by mln::morpho::plus().

template<typename I , typename W >
mln::trait::concrete< I >::ret mln::morpho::impl::rank_filter_directional ( const Image< I > &  input,
const Window< W > &  win,
unsigned  k,
unsigned  dir 
) [inline]
template<typename I , typename W >
mln::trait::concrete< I >::ret mln::morpho::impl::rank_filter_line ( const Image< I > &  input,
const Window< W > &  win,
unsigned  k,
unsigned  dir 
) [inline]
template<typename I , typename N , typename F , typename K , typename R >
mln::trait::ch_value< I , bool >::ret mln::morpho::impl::skeleton_constrained_fast ( const Image< I > &  input_,
const Neighborhood< N > &  nbh_,
const F &  is_simple,
const Image< K > &  constraint_,
const Image< R > &  priority_ 
) [inline]