last-svn-commit-145-g5c627b0 primitive/extract/components.hh: Use labeling::value_and_compute.

--- scribo/ChangeLog | 4 ++++ scribo/primitive/extract/components.hh | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/scribo/ChangeLog b/scribo/ChangeLog index 95fa4d2..cb7d9b0 100644 --- a/scribo/ChangeLog +++ b/scribo/ChangeLog @@ -1,5 +1,9 @@ 2010-06-15 Guillaume Lazzara <z@lrde.epita.fr> + * primitive/extract/components.hh: Use labeling::value_and_compute. + +2010-06-15 Guillaume Lazzara <z@lrde.epita.fr> + Add a fast rotation tool. * scribo/src/preprocessing/Makefile.am, diff --git a/scribo/primitive/extract/components.hh b/scribo/primitive/extract/components.hh index aac54e6..4994d4b 100644 --- a/scribo/primitive/extract/components.hh +++ b/scribo/primitive/extract/components.hh @@ -38,7 +38,7 @@ # include <mln/accu/center.hh> # include <mln/accu/pair.hh> -# include <mln/labeling/blobs_and_compute.hh> +# include <mln/labeling/value_and_compute.hh> # include <mln/labeling/compute.hh> # include <mln/util/array.hh> @@ -124,7 +124,8 @@ namespace scribo mln::util::couple<L, mln::util::couple<mln::util::array<mln_result(pair_accu_t)>, mln::util::array<pair_accu_t> > > - results = labeling::blobs_and_compute(input, nbh, ncomponents, + + results = labeling::value_and_compute(input, true, nbh, ncomponents, pair_accu_t()); component_set<L> -- 1.5.6.5
participants (1)
-
Guillaume Lazzara