$extrastylesheet
#include <mln/topo/detach_pair.hh>
Public Member Functions | |
| void | operator() (const typename I::psite &f, const typename I::psite &g) |
| void | operator() (const typename I::psite &f) |
| void | set_image (mln::Image< I > &ima) |
| detach_pair (const Neighborhood< NL > &lower_adj_nbh, const Neighborhood< NH > &higher_adj_nbh) | |
| detach_pair (mln::Image< I > &ima, const Neighborhood< NL > &lower_adj_nbh, const Neighborhood< NH > &higher_adj_nbh) | |
\ brief A functor detaching a simple pair from a binary (probably complex-based) image (elementary collapse operation).
| I | The type of the image. |
| NL | The neighborhood type returning the set of (n-1)-faces adjacent to a an n-face. |
| NH | The neighborhood type returning the set of (n+1)-faces adjacent to a an n-face. |
Definition at line 56 of file detach_pair.hh.
| mln::topo::detach_pair< I, NL, NH >::detach_pair | ( | const Neighborhood< NL > & | lower_adj_nbh, |
| const Neighborhood< NH > & | higher_adj_nbh | ||
| ) |
Constructors.
Construct an mln::topo::detach_pair from a couple of neighborhoods.
| lower_adj_nbh | An adjacency relationship between faces returning the set of (n-1)-faces adjacent to a given n-face. |
| higher_adj_nbh | An adjacency relationship between faces returning the set of (n+1)-faces adjacent to a given n-face. |
| mln::topo::detach_pair< I, NL, NH >::detach_pair | ( | mln::Image< I > & | ima, |
| const Neighborhood< NL > & | lower_adj_nbh, | ||
| const Neighborhood< NH > & | higher_adj_nbh | ||
| ) |
Construct an mln::topo::detach_pair from an image and a couple of neighborhoods.
| ima | The input image from which the pair is to be detached. |
| lower_adj_nbh | An adjacency relationship between faces returning the set of (n-1)-faces adjacent to a given n-face. |
| higher_adj_nbh | An adjacency relationship between faces returning the set of (n+1)-faces adjacent to a given n-face. |
| void mln::topo::detach_pair< I, NL, NH >::operator() | ( | const typename I::psite & | f, |
| const typename I::psite & | g | ||
| ) |
Detach the pair (f, q) from ima_.
| f | An n-facet of ima |
| g | An (n-1)-face ajacent to f. |
| void mln::topo::detach_pair< I, NL, NH >::operator() | ( | const typename I::psite & | f | ) |
Detach a simple pair from ima_ containing the face f.
| f | An n-facet of ima. |
| void mln::topo::detach_pair< I, NL, NH >::set_image | ( | mln::Image< I > & | ima | ) |
Set the underlying image.