$extrastylesheet
#include <mln/topo/detach_cell.hh>
Public Member Functions | |
void | operator() (const typename I::psite &f) |
void | set_image (mln::Image< I > &ima) |
detach_cell (const Neighborhood< N > &nbh) | |
detach_cell (mln::Image< I > &ima, const Neighborhood< N > &nbh) |
A functor detaching a cell from a binary (probably complex-based) image.
I | The type of the image. |
N | An neighborhood type corresponding to (directly) adjacent faces (should return the set of (n-1)- and (n+1)-faces adjacent to an n-face). |
Definition at line 56 of file detach_cell.hh.
mln::topo::detach_cell< I, N >::detach_cell | ( | const Neighborhood< N > & | nbh | ) |
Constructors.
Construct an mln::topo::detach_cell from a neighborhood.
nbh | An adjacency relationship between faces (should return the set of (n-1)- and (n+1)-faces adjacent to an n-face). |
mln::topo::detach_cell< I, N >::detach_cell | ( | mln::Image< I > & | ima, |
const Neighborhood< N > & | nbh | ||
) |
Construct an mln::topo::detach_cell from an image and a neighborhood.
ima | The input image from which the cell is to be detached. |
nbh | An adjacency relationship between faces (should return the set of (n-1)- and (n+1)-faces adjacent to an n-face). |
void mln::topo::detach_cell< I, N >::operator() | ( | const typename I::psite & | f | ) |
Detach the cell corresponding to f from ima_.
f | The psite corresponding to the cell to detach. |
void mln::topo::detach_cell< I, N >::set_image | ( | mln::Image< I > & | ima | ) |
Set the underlying image.