Classes | |
struct | mln::win::backdiag2d |
Diagonal line window defined on the 2D square grid. More... | |
struct | mln::win::diag2d |
Diagonal line window defined on the 2D square grid. More... | |
struct | mln::win::octagon2d |
Octagon window defined on the 2D square grid. More... | |
struct | mln::win::rectangle2d |
Rectangular window defined on the 2D square grid. More... | |
Typedefs | |
typedef ball< grid::square, def::coord > | mln::win::disk2d |
2D disk window; precisely, ball-shaped window defined on the 2D square grid. | |
typedef line< grid::square, 1, def::coord > | mln::win::hline2d |
Horizontal line window defined on the 2D square grid. | |
typedef line< grid::square, 0, def::coord > | mln::win::vline2d |
Vertical line window defined on the 2D square grid. | |
typedef window< mln::dpoint2d > | mln::window2d |
Type alias for a window with arbitrary shape, defined on the 2D square grid with integer coordinates. | |
Functions | |
const window2d & | mln::win_c4p () |
4-connectivity window on the 2D grid, including the center. | |
const window2d & | mln::win_c8p () |
8-connectivity window on the 2D grid, including the center. |
typedef ball<grid::square, def::coord> mln::win::disk2d |
typedef line<grid::square, 1, def::coord> mln::win::hline2d |
Horizontal line window defined on the 2D square grid.
An hline2d is centered and symmetric; so its height is 1 and its width (length) is odd.
For instance:
o o x o o
Definition at line 57 of file hline2d.hh.
typedef line<grid::square, 0, def::coord> mln::win::vline2d |
Vertical line window defined on the 2D square grid.
An vline2d is centered and symmetric; so its width is 1 and its height (length) is odd.
For instance:
o x o
Definition at line 58 of file vline2d.hh.
typedef window<mln::dpoint2d> mln::window2d |
Type alias for a window with arbitrary shape, defined on the 2D square grid with integer coordinates.
Definition at line 48 of file window2d.hh.
const window2d & mln::win_c4p | ( | ) | [inline] |
4-connectivity window on the 2D grid, including the center.
- o - o x o - o -
Definition at line 104 of file window2d.hh.
References mln::window< D >::insert(), and mln::window< D >::size().
const window2d & mln::win_c8p | ( | ) | [inline] |
8-connectivity window on the 2D grid, including the center.
o o o o x o o o o
Definition at line 120 of file window2d.hh.
References mln::window< D >::insert(), and mln::window< D >::size().