$extrastylesheet
#include <mln/core/image/graph_elt_neighborhood_if.hh>
Public Member Functions | |
void | change_window (const W &new_win) |
unsigned | delta () const |
const W::dpsite & | dp (unsigned i) const |
W & | hook_win_ () |
bool | is_valid () const |
const I & | mask () const |
unsigned | size () const |
const W & | win () const |
Constructors. | |
graph_elt_neighborhood_if () | |
graph_elt_neighborhood_if (const Image< I > &mask) |
Public Types | |
typedef neighb_bkd_niter < graph_elt_window_if< G, S, I > > | bkd_niter |
typedef Neighborhood< void > | category |
typedef W::dpsite | dpsite |
typedef E | exact_t |
typedef neighb_fwd_niter < graph_elt_window_if< G, S, I > > | fwd_niter |
typedef fwd_niter | niter |
typedef W::psite | psite |
typedef W::site | site |
typedef neighb < graph_elt_window_if< G, S, I > > | super_ |
typedef W | window |
Related Functions | |
(Note that these are not member functions.) | |
template<typename I , typename N > | |
util::array< int > | negative_offsets_wrt (const Image< I > &ima, const Neighborhood< N > &nbh) |
template<typename I , typename N > | |
util::array< int > | offsets_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< int > | positive_offsets_wrt (const Image< I > &ima, const Neighborhood< N > &nbh) |
Elementary neighborhood_if on graph class.
Definition at line 43 of file graph_elt_neighborhood_if.hh.
mln::graph_elt_neighborhood_if< G, S, I >::graph_elt_neighborhood_if | ( | ) |
Construct an invalid neighborhood.
mln::graph_elt_neighborhood_if< G, S, I >::graph_elt_neighborhood_if | ( | const Image< I > & | mask | ) |
[in] | mask | A graph image of Boolean. |
|
inherited |
Change the corresponding window.
|
inherited |
Give the maximum coordinate gap between the neighborhood center and a neighboring point.
|
inherited |
Give the maximum coordinate gap between the neighborhood center and a neighboring point.
|
inherited |
INTERNAL_API
Hook to the window.
|
inherited |
Return true by default.
const I& mln::graph_elt_neighborhood_if< G, S, I >::mask | ( | ) | const |
Return the graph image used as mask.
|
inherited |
Give the neighborhood size, i.e., the number of elements it contains.
|
inherited |
Get the corresponding window.
|
related |
|
related |
|
related |
|
related |
|
related |
|
inherited |
|
inherited |
Definition at line 69 of file core/concept/neighborhood.hh.
|
inherited |
Dpsite associated type.
Definition at line 129 of file neighborhood_base.hh.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Psite associated type.
Definition at line 132 of file neighborhood_base.hh.
|
inherited |
Site associated type.
Definition at line 135 of file neighborhood_base.hh.
typedef neighb< graph_elt_window_if<G,S,I> > mln::graph_elt_neighborhood_if< G, S, I >::super_ |
Definition at line 46 of file graph_elt_neighborhood_if.hh.
|
inherited |
Window associated type.
Definition at line 126 of file neighborhood_base.hh.