$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
doc/examples/tuto3/println.cc
1 #include <mln/core/image/image2d.hh>
2 #include <mln/data/fill.hh>
3 #include <mln/border/fill.hh>
4 #include <mln/value/int_u8.hh>
5 #include <mln/debug/println.hh>
6 #include <mln/debug/println_with_border.hh>
7 
8 #include <doc/tools/sample_utils.hh>
9 
10 int main()
11 {
12  using namespace mln;
13  using namespace mln::value;
14 
15  {
17  // \{
18  image2d<int_u8> ima(5,5);
19  data::fill(ima, 2);
20  debug::println(ima);
21  // \}
23  }
24 
25  {
27  // \{
28  image2d<int_u8> ima(5,5);
29  data::fill(ima, 2);
30  border::fill(ima, 7);
32  // \}
34  }
35 }