$extrastylesheet
#include <mln/topo/skeleton/is_simple_point.hh>
Public Member Functions | |
is_simple_point (const Neighborhood< N > &nbh) | |
template<typename I > | |
bool | check (const I &ima, const typename I::psite &p) const |
template<typename I > | |
bool | check__ (const I &ima, unsigned p) const |
Protected Member Functions | |
template<typename I , typename N2 > | |
unsigned | nb_connexity2d (const I &, const N2 nbh, const typename I::psite &p, bool object) const |
template<typename I , typename N2 > | |
unsigned | nb_connexity2d__ (const I &, const N2 nbh, unsigned p, bool object) const |
Protected Attributes | |
bool | is_c8_ |
const N & | nbh_ |
Tell if a point is simple or not. A point of an object is simple if in its c8 neiborhood, there is exactly one connected component of the object, and only one connected component of the background Examples : ( | == object, - = background)
- - | | P | Here p is simple in the c4 and c8 case. | | | - | - | P | Here p is never simple. | | |
Definition at line 68 of file is_simple_point.hh.
mln::topo::skeleton::is_simple_point< N >::is_simple_point | ( | const Neighborhood< N > & | nbh | ) |
bool mln::topo::skeleton::is_simple_point< N >::check | ( | const I & | ima, |
const typename I::psite & | p | ||
) | const |
bool mln::topo::skeleton::is_simple_point< N >::check__ | ( | const I & | ima, |
unsigned | p | ||
) | const |
|
protected |
|
protected |
|
protected |
Definition at line 80 of file is_simple_point.hh.
|
protected |
Definition at line 79 of file is_simple_point.hh.