00001 #include <mln/core/image/image2d.hh>
00002
00003 #include <mln/make/box2d.hh>
00004
00005 #include <mln/data/fill.hh>
00006 #include <mln/data/paste.hh>
00007
00008 #include <mln/debug/println.hh>
00009
00010 int main()
00011 {
00012 using namespace mln;
00013
00014
00015 image2d<unsigned char> imgb(make::box2d(5,5, 7,8));
00016
00017 image2d<unsigned char> imga(imgb.domain());
00018
00019
00020 data::fill(imgb, 'b');
00021
00022
00023 data::paste(imgb, imga);
00024
00025 debug::println(imga);
00026
00027 }