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

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

Public Member Functions

unsigned delta () const
const W::dpsite & dp (unsigned i) const
bool is_valid () const
unsigned size () const

Protected Member Functions

 neighborhood_base ()

Public Types

typedef Neighborhood< void > category
typedef W::dpsite dpsite
typedef E exact_t
typedef W::psite psite
typedef W::site site
typedef W window

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 E>
struct mln::internal::neighborhood_base< W, E >

Definition at line 123 of file neighborhood_base.hh.

Constructor & Destructor Documentation

template<typename W, typename E>
mln::internal::neighborhood_base< W, E >::neighborhood_base ( )
protected

Member Function Documentation

template<typename W, typename E>
unsigned mln::internal::neighborhood_impl< W, E >::delta ( ) const
inherited

Give the maximum coordinate gap between the neighborhood center and a neighboring point.

template<typename W, typename E>
const W ::dpsite& mln::internal::neighborhood_impl< W, E >::dp ( unsigned  i) const
inherited

Give the maximum coordinate gap between the neighborhood center and a neighboring point.

template<typename W, typename E>
bool mln::internal::neighborhood_base< W, E >::is_valid ( ) const

Return true by default.

template<typename W, typename E>
unsigned mln::internal::neighborhood_impl< W, E >::size ( ) const
inherited

Give the neighborhood size, i.e., the number of elements it contains.

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 W, typename E>
typedef W ::dpsite mln::internal::neighborhood_base< W, E >::dpsite

Dpsite associated type.

Definition at line 129 of file neighborhood_base.hh.

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

Definition at line 105 of file object.hh.

template<typename W, typename E>
typedef W ::psite mln::internal::neighborhood_base< W, E >::psite

Psite associated type.

Definition at line 132 of file neighborhood_base.hh.

template<typename W, typename E>
typedef W ::site mln::internal::neighborhood_base< W, E >::site

Site associated type.

Definition at line 135 of file neighborhood_base.hh.

template<typename W, typename E>
typedef W mln::internal::neighborhood_base< W, E >::window

Window associated type.

Definition at line 126 of file neighborhood_base.hh.