26 #ifndef MLN_WORLD_INTER_PIXEL_NEIGHB2D_HH
27 # define MLN_WORLD_INTER_PIXEL_NEIGHB2D_HH
32 # include <mln/core/alias/neighb2d.hh>
33 # include <mln/make/double_neighb2d.hh>
34 # include <mln/world/inter_pixel/dim2/is_row_odd.hh>
47 typedef win::multiple<window2d, dim2::is_row_odd> dbl_window2d;
50 typedef neighb< dbl_window2d > dbl_neighb2d;
60 const dbl_neighb2d& e2v();
63 const dbl_neighb2d& e2e();
67 # ifndef MLN_INCLUDE_ONLY
74 static const bool vals[] = { 0, 0, 1, 0, 0,
79 convert::from_to(vals, it);
89 const dbl_neighb2d& e2v()
91 static const bool e2v_h[] = { 0, 1, 0,
95 static const bool e2v_v[] = { 0, 0, 0,
99 static dbl_neighb2d nbh =
100 make::double_neighb2d(dim2::is_row_odd(), e2v_h, e2v_v);
106 const dbl_neighb2d& e2e()
108 static const bool e2e_h[] = { 0, 0, 1, 0, 0,
114 static const bool e2e_v[] = { 0, 0, 0, 0, 0,
120 static dbl_neighb2d nbh =
121 make::double_neighb2d(dim2::is_row_odd(), e2e_h, e2e_v);
125 # endif // ! MLN_INCLUDE_ONLY
134 #endif // ! MLN_WORLD_INTER_PIXEL_NEIGHB2D_HH