$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::topo::is_simple_point3d< I, N > Class Template Reference

#include <mln/topo/is_simple_point3d.hh>

Public Member Functions

 is_simple_point3d (const Neighborhood< N > &nbh_fg, const Neighborhood< N > &nbh_bg)
 is_simple_point3d (const Neighborhood< N > &nbh_fg, const Neighborhood< N > &nbh_bg, const Image< I > &ima)
bool operator() (const typename I::psite &p) const
void set_image (const Image< I > &ima)

Public Types

typedef Function_v2b< void > category
typedef is_simple_point3d< I, N > exact_t
typedef void mutable_result
typedef bool result

Detailed Description

template<typename I, typename N>
class mln::topo::is_simple_point3d< I, N >

A predicate for the simplicity of an mln::point3d based on a look-up table.

Definition at line 51 of file is_simple_point3d.hh.

Constructor & Destructor Documentation

template<typename I, typename N>
mln::topo::is_simple_point3d< I, N >::is_simple_point3d ( const Neighborhood< N > &  nbh_fg,
const Neighborhood< N > &  nbh_bg 
)

Build a functor.

Parameters
nbh_fgThe foreground neighborhood.
nbh_bgThe background neighborhood.
template<typename I, typename N>
mln::topo::is_simple_point3d< I, N >::is_simple_point3d ( const Neighborhood< N > &  nbh_fg,
const Neighborhood< N > &  nbh_bg,
const Image< I > &  ima 
)

Build a functor, and assign an image to it.

Parameters
nbh_fgThe foreground neighborhood.
nbh_bgThe background neighborhood.
imaThe image.

Member Function Documentation

template<typename I, typename N>
bool mln::topo::is_simple_point3d< I, N >::operator() ( const typename I::psite &  p) const

Tell whether p is a simple point or not.

This computation is based on connectivity numbers.

template<typename I, typename N>
void mln::topo::is_simple_point3d< I, N >::set_image ( const Image< I > &  ima)

Set the underlying image.

Member Typedef Documentation

typedef Function_v2b<void> mln::Function_v2b< is_simple_point3d< I, N > >::category
inherited

Definition at line 162 of file function.hh.

typedef is_simple_point3d< I, N > mln::Object< is_simple_point3d< I, N > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef void mln::Function_v2v< is_simple_point3d< I, N > >::mutable_result
inherited

Definition at line 135 of file function.hh.

template<typename I, typename N>
typedef bool mln::topo::is_simple_point3d< I, N >::result

Result type of the functor.

Definition at line 55 of file is_simple_point3d.hh.