domain-display.cc 283 Bytes
Newer Older
Guillaume Lazzara's avatar
Guillaume Lazzara committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <mln/essential/2d.hh>
int main()
{
  using namespace mln;

  // \{
  image2d<int> ima1(5, 5);
  image2d<int> ima2(10, 10);

  std::cout << "ima1.domain() = " << ima1.domain()
	    << std::endl;
  std::cout << "ima2.domain() = " << ima2.domain()
	    << std::endl;
  // \}
}