00001 #include <mln/core/image/image2d.hh> 00002 #include <mln/make/box2d.hh> 00003 int main() 00004 { 00005 using namespace mln; 00006 00007 // \{ 00008 image2d<int> ima(make::box2d(0,0, 10,12)); 00009 00010 std::cout << "nrows = " << ima.nrows() 00011 << " - " 00012 << "ncols = " << ima.ncols() 00013 << std::endl; 00014 // \} 00015 }