Milena (Olena)
User documentation 2.0a Id
Main Page
Related Pages
Modules
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerator
Groups
Pages
ima2d-1.cc
1
#include <mln/core/image/image2d.hh>
2
int
main()
3
{
4
using namespace
mln;
5
6
// \{
7
// Define a box2d from (-2,-3) to (3,5).
8
box2d
b =
make::box2d
(-2,-3, 3,5);
9
// Initialize an image with b as domain.
10
image2d<int>
ima(b);
11
12
std::cout <<
"b = "
<< b << std::endl;
13
std::cout <<
"domain = "
<< ima.domain() << std::endl;
14
// \}
15
}
doc
examples
ima2d-1.cc
Generated on Thu Nov 8 2012 10:58:07 for Milena (Olena) by
1.8.2-20120930