$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
borderthickness.cc
1 #include <mln/core/image/image2d.hh>
2 #include <mln/border/fill.hh>
3 #include <mln/make/image.hh>
4 #include <mln/debug/println_with_border.hh>
5 #include <mln/border/thickness.hh>
6 
7 int main()
8 {
9  using namespace mln;
10 
11  // \{
12  bool vals[3][3] = { { 0, 1, 1 },
13  { 1, 0, 0 },
14  { 1, 1, 0 } };
15 
16  image2d<bool> ima_def = make::image(vals);
17  border::fill(ima_def, false);
19 
20  std::cout << "===========" << std::endl << std::endl;
21 
23  image2d<bool> ima_bt0 = make::image(vals);
25  // \}
26 
27 }