$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fill-call-1.cc
1 #include <mln/core/image/image2d.hh>
2 #include <mln/core/image/dmorph/image_if.hh>
3 #include <mln/data/fill.hh>
4 
5 int main()
6 {
7  using namespace mln;
8 
9  // \{
10  image2d<char> imga(5, 5);
11  // \}
12 
13  // \{
14  data::fill(imga, 'a');
15  // \}
16 
17  // \{
18  data::fill((imga | box2d(1,2)).rw(), 'a');
19  // \}
20 
21 }