Milena (Olena)  User documentation 2.0a Id
fill-call-1.cc
00001 #include <mln/core/image/image2d.hh>
00002 #include <mln/core/image/dmorph/image_if.hh>
00003 #include <mln/data/fill.hh>
00004 
00005 int main()
00006 {
00007   using namespace mln;
00008 
00009   // \{
00010   image2d<char> imga(5, 5);
00011   // \}
00012 
00013   // \{
00014   data::fill(imga, 'a');
00015   // \}
00016 
00017   // \{
00018   data::fill((imga | box2d(1,2)).rw(), 'a');
00019   // \}
00020 
00021 }
 All Classes Namespaces Functions Variables Typedefs Enumerator