Milena (Olena)  User documentation 2.0a Id
ima2d-2.cc
00001 #include <mln/core/image/image2d.hh>
00002 #include <mln/value/int_u8.hh>
00003 int main()
00004 {
00005   using namespace mln;
00006 
00007   // \{
00008   // Build an empty image;
00009   image2d<value::int_u8> img1a;
00010 
00011   // Build an image with 2 rows
00012   // and 3 columns sites
00013   image2d<value::int_u8> img1b(box2d(2, 3));
00014   image2d<value::int_u8> img1c(2, 3);
00015   // \}
00016 }
 All Classes Namespaces Functions Variables Typedefs Enumerator