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. |
typedef neighb<window2d> mln::neighb2d |
Type alias for a neighborhood defined on the 2D square grid with integer coordinates.
Definition at line 51 of file core/alias/neighb2d.hh.
const neighb2d & mln::c2_col | ( | ) | [inline] |
Vertical 2-connectivity neighborhood on the 2D grid.
- o - - x - - o -
Definition at line 190 of file core/alias/neighb2d.hh.
References mln::convert::from_to(), and mln::internal::neighborhood_impl< W, E >::size().
const neighb2d & mln::c2_row | ( | ) | [inline] |
Horizontal 2-connectivity neighborhood on the 2D grid.
- - - o x o - - -
Definition at line 176 of file core/alias/neighb2d.hh.
References mln::convert::from_to(), and mln::internal::neighborhood_impl< W, E >::size().
const neighb2d & mln::c4 | ( | ) | [inline] |
4-connectivity neighborhood on the 2D grid.
- o - o x o - o -
Definition at line 148 of file core/alias/neighb2d.hh.
References mln::convert::from_to(), and mln::internal::neighborhood_impl< W, E >::size().
Referenced by mln::topo::skeleton::internal::complement2d(), mln::morpho::approx::impl::dilation_by_distance_thresholding_2d(), mln::morpho::approx::impl::erosion_by_distance_thresholding_2d(), mln::topo::skeleton::internal::is_simple_point_tests(), mln::topo::skeleton::internal::nb_connexity2d(), and mln::world::inter_pixel::v2e().
const neighb2d & mln::c8 | ( | ) | [inline] |
8-connectivity neighborhood on the 2D grid.
o o o o x o o o o
Definition at line 162 of file core/alias/neighb2d.hh.
References mln::convert::from_to(), and mln::internal::neighborhood_impl< W, E >::size().
Referenced by mln::topo::skeleton::internal::complement2d(), mln::connectivity_number_2d(), mln::topo::skeleton::internal::is_simple_point_tests(), and mln::topo::skeleton::internal::nb_connexity2d().