33 #include <mln/io/pbm/load.hh>
35 #include "apps/graph-morpho/morpho.hh"
37 #include "apps/graph-morpho/convert.hh"
38 #include "apps/graph-morpho/debug.hh"
40 #include "apps/data.hh"
61 ima_t x = ::convert::to_complex_image(x_pbm);
62 ::debug::println_graph(
"x:", x);
64 ::debug::println_graph(
"dilation_e2v(x):", dilation_e2v(x));
65 ::debug::println_graph(
"erosion_v2e(x):", erosion_v2e(x));
67 ::debug::println_graph(
"erosion_e2v(x):", erosion_e2v(x));
68 ::debug::println_graph(
"dilation_v2e(x):", dilation_v2e(x));
70 ::debug::println_graph(
"dilation_graph(x):", dilation_graph(x));
71 ::debug::println_graph(
"erosion_graph(x):", erosion_graph(x));
73 ::debug::println_graph(
"alpha3(x):", alpha3(x));
74 ::debug::println_graph(
"beta3(x):", beta3(x));
82 ima_t y = ::convert::to_complex_image(y_pbm);
83 ::debug::println_graph(
"y:", y);
85 ::debug::println_graph(
"opening_graph(y):", opening_graph(y));
86 ::debug::println_graph(
"half_opening_graph(y):", half_opening_graph(y));
87 ::debug::println_graph(
"beta3(alpha3(y)):", beta3(alpha3(y)));
91 ima_t z = ::convert::to_complex_image(z_pbm);
92 ::debug::println_graph(
"z:", z);
94 ::debug::println_graph(
"closing_graph(z):", closing_graph(z));
95 ::debug::println_graph(
"half_closing_graph(z):", half_closing_graph(z));
96 ::debug::println_graph(
"alpha3(beta3(z)):", alpha3(beta3(z)));