Classes | |
struct | backdiag2d |
Diagonal line window defined on the 2D square grid. More... | |
struct | ball |
Generic ball window defined on a given grid. More... | |
struct | cube3d |
Cube window defined on the 3D grid. More... | |
struct | cuboid3d |
Cuboid defined on the 3-D square grid. More... | |
struct | diag2d |
Diagonal line window defined on the 2D square grid. More... | |
struct | line |
Generic line window defined on a given grid in the given dimension. More... | |
class | multiple |
Multiple window. More... | |
class | multiple_size |
Definition of a multiple-size window. More... | |
struct | octagon2d |
Octagon window defined on the 2D square grid. More... | |
struct | rectangle2d |
Rectangular window defined on the 2D square grid. More... | |
Typedefs | |
typedef ball< grid::square, def::coord > | disk2d |
2D disk window; precisely, ball-shaped window defined on the 2D square grid. | |
typedef line< grid::square, 1, def::coord > | hline2d |
Horizontal line window defined on the 2D square grid. | |
typedef line< grid::tick, 0, def::coord > | segment1d |
Segment window defined on the 1D grid. | |
typedef ball< grid::cube, def::coord > | sphere3d |
3D sphere window; precisely, ball-shaped window defined on the 3D cubic grid. | |
typedef line< grid::square, 0, def::coord > | vline2d |
Vertical line window defined on the 2D square grid. | |
Functions | |
template<typename N1, typename N2> | |
neighb< typename N1::window::regular > | diff (const Neighborhood< N1 > &nbh1, const Neighborhood< N2 > &nbh2) |
Set difference between a couple of neighborhoods nbh1 and nbh2 . | |
template<typename W> | |
mln_regular (W) shift(const Window< W > &win | |
Shift a window win with a delta-point dp . | |
template<typename W1, typename W2> | |
mln_regular (W1) diff(const Window< W1 > &win1 | |
Set difference between a couple of windows win1 and win2 . | |
template<typename W> | |
W | sym (const Weighted_Window< W > &w_win) |
Give the symmetrical weighted window of w_win . | |
template<typename W> | |
W | sym (const Window< W > &win) |
Give the symmetrical window of win . |
N2 neighb< typename N1::window::regular > mln::win::diff | ( | const Neighborhood< N1 > & | nbh1, | |
const Neighborhood< N2 > & | nbh2 | |||
) | [inline] |
mln::win::mln_regular | ( | W | ) | const [inline] |
mln::win::mln_regular | ( | W1 | ) | const [inline] |
Set difference between a couple of windows win1
and win2
.
W mln::win::sym | ( | const Weighted_Window< W > & | w_win | ) | [inline] |
Give the symmetrical weighted window of w_win
.
W mln::win::sym | ( | const Window< W > & | win | ) | [inline] |
Give the symmetrical window of win
.
Referenced by mln::c18(), mln::c26(), mln::c4_3d(), mln::c6(), mln::morpho::hit_or_miss_background_opening(), mln::morpho::hit_or_miss_opening(), mln::morpho::opening::approx::structural(), and mln::morpho::closing::approx::structural().