Milena (Olena)  User documentation 2.0a Id
ima2d-4.cc
00001 #include <mln/core/image/image2d.hh>
00002 int main()
00003 {
00004   using namespace mln;
00005   image2d<char> ima1(12, 12);
00006   image2d<char> ima2(12, 12);
00007 
00008   // \{
00009   point2d p(9,9);
00010 
00011   // At (9, 9), both values change.
00012   ima1(p) = 'M';
00013   ima2(p) = 'W';
00014 
00015   bool b = (ima1(p) == ima2(p));
00016   std::cout << (b ? "True" : "False") << std::endl;
00017   // \}
00018 }
00019 
 All Classes Namespaces Functions Variables Typedefs Enumerator