$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::internal::neighborhood_extra_impl< win::multiple_size< 2, W, F >, E > Struct Template Reference

#include <mln/core/internal/neighborhood_base.hh>

Public Member Functions

neighb< W > background () const
neighb< W > foreground () const

Public Types

typedef Neighborhood< void > category
typedef E exact_t

Related Functions

(Note that these are not member functions.)

template<typename I , typename N >
util::array< intnegative_offsets_wrt (const Image< I > &ima, const Neighborhood< N > &nbh)
template<typename I , typename N >
util::array< intoffsets_wrt (const Image< I > &ima, const Neighborhood< N > &nbh)
template<typename N >
std::ostream & operator<< (std::ostream &ostr, const Neighborhood< N > &nbh)
template<typename L , typename R >
bool operator== (const Neighborhood< L > &lhs, const Neighborhood< R > &rhs)
template<typename I , typename N >
util::array< intpositive_offsets_wrt (const Image< I > &ima, const Neighborhood< N > &nbh)

Detailed Description

template<typename W, typename F, typename E>
struct mln::internal::neighborhood_extra_impl< win::multiple_size< 2, W, F >, E >

Definition at line 64 of file neighborhood_base.hh.

Member Function Documentation

template<typename W , typename F , typename E >
neighb<W> mln::internal::neighborhood_extra_impl< win::multiple_size< 2, W, F >, E >::background ( ) const
inline

Give the background neighborhood in the case of a dual neighborhood.

For instance, with (object:c4, background:c8), the result is c8.

Definition at line 83 of file neighborhood_base.hh.

template<typename W , typename F , typename E >
neighb<W> mln::internal::neighborhood_extra_impl< win::multiple_size< 2, W, F >, E >::foreground ( ) const
inline

Give the foreground neighborhood in the case of a dual neighborhood.

For instance, with (object:c4, background:c8), the result is c4.

Definition at line 72 of file neighborhood_base.hh.

Friends And Related Function Documentation

template<typename I , typename N >
util::array< int > negative_offsets_wrt ( const Image< I > &  ima,
const Neighborhood< N > &  nbh 
)
related
template<typename I , typename N >
util::array< int > offsets_wrt ( const Image< I > &  ima,
const Neighborhood< N > &  nbh 
)
related
template<typename N >
std::ostream & operator<< ( std::ostream &  ostr,
const Neighborhood< N > &  nbh 
)
related
template<typename L , typename R >
bool operator== ( const Neighborhood< L > &  lhs,
const Neighborhood< R > &  rhs 
)
related
template<typename I , typename N >
util::array< int > positive_offsets_wrt ( const Image< I > &  ima,
const Neighborhood< N > &  nbh 
)
related

Member Typedef Documentation

template<typename E>
typedef Neighborhood<void> mln::Neighborhood< E >::category
inherited

Definition at line 69 of file core/concept/neighborhood.hh.

template<typename E>
typedef E mln::Object< E >::exact_t
inherited

Definition at line 105 of file object.hh.