
* apps/papers/levillain.09.ismm/graph.cc: Fix wrong changes. * doc/examples/tuto4_genericity_and_algorithms.cc: Add a missing include. --- milena/ChangeLog | 9 +++++++++ milena/apps/papers/levillain.09.ismm/graph.cc | 4 ++-- .../examples/tuto4_genericity_and_algorithms.cc | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index fdf84db..272b3c6 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,14 @@ 2011-11-23 Guillaume Lazzara <z@lrde.epita.fr> + Fix compilation issues. + + * apps/papers/levillain.09.ismm/graph.cc: Fix wrong changes. + + * doc/examples/tuto4_genericity_and_algorithms.cc: Add a missing + include. + +2011-11-23 Guillaume Lazzara <z@lrde.epita.fr> + Improve tests for literal classes. * tests/literal/Makefile.am: Update targets. diff --git a/milena/apps/papers/levillain.09.ismm/graph.cc b/milena/apps/papers/levillain.09.ismm/graph.cc index bf37df2..db9692d 100644 --- a/milena/apps/papers/levillain.09.ismm/graph.cc +++ b/milena/apps/papers/levillain.09.ismm/graph.cc @@ -38,7 +38,7 @@ #include <mln/debug/println.hh> #include <mln/draw/line.hh> #include <mln/pw/all.hh> -#include <mln/binarization/threshold_ge.hh> +#include <mln/binarization/threshold.hh> #include <mln/value/int_u8.hh> #include <mln/value/label_8.hh> @@ -314,7 +314,7 @@ make_complex_image(const mln::image2d<mln::value::int_u8>& input) unsigned nlabels; image2d<unsigned> label = - labeling::blobs(mln::binarization::threshold_ge(input, 1), c4(), nlabels); + labeling::blobs(mln::binarization::threshold(input, 1), c4(), nlabels); std::cout << "n seeds = " << nlabels << std::endl; { diff --git a/milena/doc/examples/tuto4_genericity_and_algorithms.cc b/milena/doc/examples/tuto4_genericity_and_algorithms.cc index dcc57a3..5639e84 100644 --- a/milena/doc/examples/tuto4_genericity_and_algorithms.cc +++ b/milena/doc/examples/tuto4_genericity_and_algorithms.cc @@ -33,6 +33,8 @@ #include <mln/core/var.hh> #include <mln/core/alias/neighb2d.hh> +#include <mln/binarization/binarization.hh> + #include <mln/fun/p2b/chess.hh> #include <mln/extract/green.hh> -- 1.7.2.5