26 #include <mln/core/image/image2d.hh>
27 #include <mln/core/image/dmorph/p2p_image.hh>
28 #include <mln/fun/p2p/translation.hh>
32 # define ima_ apply_p2p(ima, fun::p2p::translation(dp))
48 ima(point2d(2,2)) = 9;
53 mln_assertion( ima_.domain() == b_ );
55 mln_assertion( ima_(point2d(-1,+1)) == 1 );
56 mln_assertion( ima_(point2d( 1, 3)) == 9 );