|
Milena (Olena)
User documentation 2.0a Id
|
Predefined 2D windows. More...
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. | |
Predefined 2D windows.
| 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
is defined with length = 5.
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
ois defined with length = 3.
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 49 of file window2d.hh.
|
inline |
4-connectivity window on the 2D grid, including the center.
- o - o x o - o -
Definition at line 105 of file window2d.hh.
References mln::window< D >::insert(), and mln::window< D >::size().
|
inline |
8-connectivity window on the 2D grid, including the center.
o o o o x o o o o
Definition at line 121 of file window2d.hh.
References mln::window< D >::insert(), and mln::window< D >::size().