Functions | Variables

mln::topo::skeleton::internal Namespace Reference

Functions

template<typename N >
neighb2d complement2d (const Neighborhood< N > &nbh_)
template<typename I , typename N >
bool is_simple_point_dispatch (const Image< I > &ima, const Neighborhood< N > &nbh, const typename I::site &p)
template<typename I , typename N >
bool is_simple_point_dispatch (const Image< I > &ima, const Neighborhood< N > &nbh, const point2d &p)
template<typename I , typename N >
void is_simple_point_tests (const Image< I > &ima_, const Neighborhood< N > &nbh_, const typename I::site &p)
template<typename I , typename N >
unsigned nb_connexity2d (const I &ima, const N &nbh, const typename I::site &p, bool object)

Variables

static const unsigned char nb_connexity_c4 [256]
static const unsigned char nb_connexity_c8 [256]

Function Documentation

template<typename N >
neighb2d mln::topo::skeleton::internal::complement2d ( const Neighborhood< N > &  nbh_  ) 
template<typename I , typename N >
bool mln::topo::skeleton::internal::is_simple_point_dispatch ( const Image< I > &  ima,
const Neighborhood< N > &  nbh,
const typename I::site &  p 
) [inline]

Not implemented for that site type yet.

template<typename I , typename N >
bool mln::topo::skeleton::internal::is_simple_point_dispatch ( const Image< I > &  ima,
const Neighborhood< N > &  nbh,
const point2d &  p 
) [inline]
template<typename I , typename N >
void mln::topo::skeleton::internal::is_simple_point_tests ( const Image< I > &  ima_,
const Neighborhood< N > &  nbh_,
const typename I::site &  p 
) [inline]
template<typename I , typename N >
unsigned mln::topo::skeleton::internal::nb_connexity2d ( const I &  ima,
const N &  nbh,
const typename I::site &  p,
bool  object 
) [inline]

Variable Documentation

const unsigned char mln::topo::skeleton::internal::nb_connexity_c4[256] [static]
Initial value:
        {
          0,  0,  1,  1,   0,  0,  1,  1,   1,  1,  2,  1,   1,  1,  2,  1,
          1,  1,  2,  2,   1,  1,  1,  1,   2,  2,  3,  2,   2,  2,  2,  1,
          0,  0,  1,  1,   0,  0,  1,  1,   1,  1,  2,  1,   1,  1,  2,  1,
          1,  1,  2,  2,   1,  1,  1,  1,   2,  2,  3,  2,   2,  2,  2,  1,

          1,  1,  2,  2,   1,  1,  2,  2,   2,  2,  3,  2,   2,  2,  3,  2,
          2,  2,  3,  3,   2,  2,  2,  2,   3,  3,  4,  3,   3,  3,  3,  2,
          1,  1,  2,  2,   1,  1,  2,  2,   1,  1,  2,  1,   1,  1,  2,  1,
          2,  2,  3,  3,   2,  2,  2,  2,   2,  2,  3,  2,   2,  2,  2,  1,

          0,  0,  1,  1,   0,  0,  1,  1,   1,  1,  2,  1,   1,  1,  2,  1,
          1,  1,  2,  2,   1,  1,  1,  1,   2,  2,  3,  2,   2,  2,  2,  1,
          0,  0,  1,  1,   0,  0,  1,  1,   1,  1,  2,  1,   1,  1,  2,  1,
          1,  1,  2,  2,   1,  1,  1,  1,   2,  2,  3,  2,   2,  2,  2,  1,

          1,  1,  2,  2,   1,  1,  2,  2,   2,  2,  3,  2,   2,  2,  3,  2,
          1,  1,  2,  2,   1,  1,  1,  1,   2,  2,  3,  2,   2,  2,  2,  1,
          1,  1,  2,  2,   1,  1,  2,  2,   1,  1,  2,  1,   1,  1,  2,  1,
          1,  1,  2,  2,   1,  1,  1,  1,   1,  1,  2,  1,   1,  1,  1,  1
        }

Referenced by nb_connexity2d().

const unsigned char mln::topo::skeleton::internal::nb_connexity_c8[256] [static]
Initial value:
        {
          0,  1,  1,  1,   1,  2,  1,  1,   1,  1,  1,  1,   2,  2,  1,  1,
          1,  2,  1,  1,   1,  2,  1,  1,   2,  2,  1,  1,   2,  2,  1,  1,
          1,  2,  2,  2,   2,  3,  2,  2,   1,  1,  1,  1,   2,  2,  1,  1,
          2,  3,  2,  2,   2,  3,  2,  2,   2,  2,  1,  1,   2,  2,  1,  1,

          1,  2,  2,  2,   2,  3,  2,  2,   1,  1,  1,  1,   2,  2,  1,  1,
          1,  2,  1,  1,   1,  2,  1,  1,   1,  1,  1,  1,   1,  1,  1,  1,
          1,  2,  2,  2,   2,  3,  2,  2,   1,  1,  1,  1,   2,  2,  1,  1,
          1,  2,  1,  1,   1,  2,  1,  1,   1,  1,  1,  1,   1,  1,  1,  1,

          1,  2,  2,  2,   2,  3,  2,  2,   2,  2,  2,  2,   3,  3,  2,  2,
          1,  2,  1,  1,   1,  2,  1,  1,   2,  2,  1,  1,   2,  2,  1,  1,
          2,  3,  3,  3,   3,  4,  3,  3,   2,  2,  2,  2,   3,  3,  2,  2,
          2,  3,  2,  2,   2,  3,  2,  2,   2,  2,  1,  1,   2,  2,  1,  1,

          1,  2,  2,  2,   2,  3,  2,  2,   1,  1,  1,  1,   2,  2,  1,  1,
          1,  2,  1,  1,   1,  2,  1,  1,   1,  1,  1,  1,   1,  1,  1,  1,
          1,  2,  2,  2,   2,  3,  2,  2,   1,  1,  1,  1,   2,  2,  1,  1,
          1,  2,  1,  1,   1,  2,  1,  1,   1,  1,  1,  1,   1,  1,  1,  1
        }

Referenced by nb_connexity2d().