• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List

println.cc

00001 #include <mln/core/image/image2d.hh>
00002 #include <mln/data/fill.hh>
00003 #include <mln/border/fill.hh>
00004 #include <mln/value/int_u8.hh>
00005 #include <mln/debug/println.hh>
00006 #include <mln/debug/println_with_border.hh>
00007 
00008 #include <doc/tools/sample_utils.hh>
00009 
00010 int main()
00011 {
00012   using namespace mln;
00013   using namespace mln::value;
00014 
00015   {
00016     doc::begin_output();
00017     // \{
00018     image2d<int_u8> ima(5,5);
00019     data::fill(ima, 2);
00020     debug::println(ima);
00021     // \}
00022     doc::end_output();
00023   }
00024 
00025   {
00026     doc::begin_output();
00027     // \{
00028     image2d<int_u8> ima(5,5);
00029     data::fill(ima, 2);
00030     border::fill(ima, 7);
00031     debug::println_with_border(ima);
00032     // \}
00033     doc::end_output();
00034   }
00035 }

Generated on Tue Oct 4 2011 15:24:20 for Milena (Olena) by  doxygen 1.7.1