00001 #include <mln/core/image/image2d.hh>
00002 #include <mln/border/fill.hh>
00003 #include <mln/make/image.hh>
00004 #include <mln/debug/println_with_border.hh>
00005 #include <mln/border/thickness.hh>
00006
00007 int main()
00008 {
00009 using namespace mln;
00010
00011
00012 bool vals[3][3] = { { 0, 1, 1 },
00013 { 1, 0, 0 },
00014 { 1, 1, 0 } };
00015
00016 image2d<bool> ima_def = make::image(vals);
00017 border::fill(ima_def, false);
00018 debug::println_with_border(ima_def);
00019
00020 std::cout << "===========" << std::endl << std::endl;
00021
00022 border::thickness = 0;
00023 image2d<bool> ima_bt0 = make::image(vals);
00024 debug::println_with_border(ima_bt0);
00025
00026
00027 }