Milena (Olena)
User documentation 2.0a Id
Main Page
Related Pages
Modules
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerator
Groups
Pages
ima2d-4.cc
1
#include <mln/core/image/image2d.hh>
2
int
main()
3
{
4
using namespace
mln;
5
image2d<char>
ima1(12, 12);
6
image2d<char>
ima2(12, 12);
7
8
// \{
9
point2d
p(9,9);
10
11
// At (9, 9), both values change.
12
ima1(p) =
'M'
;
13
ima2(p) =
'W'
;
14
15
bool
b = (ima1(p) == ima2(p));
16
std::cout << (b ?
"True"
:
"False"
) << std::endl;
17
// \}
18
}
19
doc
examples
ima2d-4.cc
Generated on Thu Nov 8 2012 10:58:07 for Milena (Olena) by
1.8.2-20120930