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

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

Public Member Functions

bool is_valid () const
bool is_empty () const
bool is_centered () const
bool is_symmetric () const
unsigned delta () const
self_sym ()
bool is_neighbable_ () const

Protected Member Functions

 graph_window_base ()

Public Types

typedef Window< void > category
typedef E exact_t
typedef P site
typedef void dpsite

Related Functions

(Note that these are not member functions.)

template<typename I , typename W >
util::array< intnegative_offsets_wrt (const Image< I > &ima, const Window< W > &win)
template<typename I , typename W >
util::array< intoffsets_wrt (const Image< I > &ima, const Window< W > &win)
template<typename I , typename W >
util::array< intpositive_offsets_wrt (const Image< I > &ima, const Window< W > &win)

Detailed Description

template<typename P, typename E>
class mln::graph_window_base< P, E >

Definition at line 46 of file graph_window_base.hh.

Constructor & Destructor Documentation

template<typename P, typename E>
mln::graph_window_base< P, E >::graph_window_base ( )
protected

Member Function Documentation

template<typename P, typename E>
unsigned mln::graph_window_base< P, E >::delta ( ) const

Return the maximum coordinate gap between the window center and a window point.

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_centered ( ) const

Is the window centered?

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_empty ( ) const

Interface of the concept Window.

Is the window is empty?

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_neighbable_ ( ) const

Is the window neighbable?

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_symmetric ( ) const

Is the window symmetric?

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_valid ( ) const

Return true by default.

template<typename P, typename E>
self_& mln::graph_window_base< P, E >::sym ( )

Apply a central symmetry to the target window.

Friends And Related Function Documentation

template<typename I , typename W >
util::array< int > negative_offsets_wrt ( const Image< I > &  ima,
const Window< W > &  win 
)
related
template<typename I , typename W >
util::array< int > offsets_wrt ( const Image< I > &  ima,
const Window< W > &  win 
)
related
template<typename I , typename W >
util::array< int > positive_offsets_wrt ( const Image< I > &  ima,
const Window< W > &  win 
)
related

Member Typedef Documentation

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

Definition at line 95 of file concept/window.hh.

template<typename P, typename E>
typedef void mln::graph_window_base< P, E >::dpsite

Definition at line 57 of file graph_window_base.hh.

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

Definition at line 105 of file object.hh.

template<typename P, typename E>
typedef P mln::graph_window_base< P, E >::site

Associated types.

The type of site corresponding to the window.

Definition at line 54 of file graph_window_base.hh.