Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
mln::topo::is_simple_2d_t< N > Struct Template Reference

Test if a point is simple or not. More...

#include <is_simple_2d.hh>

Detailed Description

template<typename N>
struct mln::topo::is_simple_2d_t< N >

Test 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 66 of file is_simple_2d.hh.