Predefined 2D neighborhoods.
More...
|
Typedefs |
| typedef neighb< window2d > | mln::neighb2d |
| | Type alias for a neighborhood defined on the 2D square grid with integer coordinates.
|
Functions |
| const neighb2d & | mln::c2_col () |
| | Vertical 2-connectivity neighborhood on the 2D grid.
|
| const neighb2d & | mln::c2_row () |
| | Horizontal 2-connectivity neighborhood on the 2D grid.
|
| const neighb2d & | mln::c4 () |
| | 4-connectivity neighborhood on the 2D grid.
|
| const neighb2d & | mln::c8 () |
| | 8-connectivity neighborhood on the 2D grid.
|
Detailed Description
Predefined 2D neighborhoods.
Typedef Documentation
Type alias for a neighborhood defined on the 2D square grid with integer coordinates.
Function Documentation
| const neighb2d & mln::c2_col |
( |
|
) |
[inline] |
Vertical 2-connectivity neighborhood on the 2D grid.
- Returns:
- A neighb2d.
| const neighb2d & mln::c2_row |
( |
|
) |
[inline] |
Horizontal 2-connectivity neighborhood on the 2D grid.
- Returns:
- A neighb2d.
| const neighb2d & mln::c4 |
( |
|
) |
[inline] |
4-connectivity neighborhood on the 2D grid.
- Returns:
- A neighb2d.
| const neighb2d & mln::c8 |
( |
|
) |
[inline] |
8-connectivity neighborhood on the 2D grid.
- Returns:
- A neighb2d.