$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ima-size.cc
1 #include <mln/core/image/image2d.hh>
2 #include <mln/make/box2d.hh>
3 int main()
4 {
5  using namespace mln;
6 
7  // \{
8  image2d<int> ima(make::box2d(0,0, 10,12));
9 
10  std::cout << "nrows = " << ima.nrows()
11  << " - "
12  << "ncols = " << ima.ncols()
13  << std::endl;
14  // \}
15 }