Commit 3164abc5 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Remove last references to mln::trace::*.

	* mln/arith/min.hh,
	* mln/clustering/kmean_rgb.hh,
	* mln/world/rgb/invert.spe.hh: Remove duplicate references to
	mln_trace.

	* tests/data/fill_with_image.cc,
	* tests/data/paste.cc,
	* tests/linear/gaussian.cc,
	* tests/opt/at.cc,
	* tests/opt/element.cc,
	* tests/opt/value.cc: Remove useless include.

	* tests/unit_test/unit-tests.mk: Remove mln_trace_* tests.
parent e435b9ba
2013-03-19 Guillaume Lazzara <z@lrde.epita.fr>
Remove last references to mln::trace::*.
* mln/arith/min.hh,
* mln/clustering/kmean_rgb.hh,
* mln/world/rgb/invert.spe.hh: Remove duplicate references to
mln_trace.
* tests/data/fill_with_image.cc,
* tests/data/paste.cc,
* tests/linear/gaussian.cc,
* tests/opt/at.cc,
* tests/opt/element.cc,
* tests/opt/value.cc: Remove useless include.
* tests/unit_test/unit-tests.mk: Remove mln_trace_* tests.
2013-03-18 Guillaume Lazzara <z@lrde.epita.fr>
 
Remove deprecated trace system.
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -82,8 +83,6 @@ namespace mln
mln_piter(L) p(lhs.domain());
for_all(p)
output(p) = lhs(p) < rhs(p) ? lhs(p) : rhs(p);
mln_trace("data::arith::generic::min_");
}
template <typename L, typename R>
......
......@@ -698,14 +698,12 @@ namespace mln
while (_current_launching < _n_times)
{
// BEGIN LAUNCH ONE TIME
mln_trace("Launch one time");
{
t_result1d old_variance = mln_max(t_result1d);
_within_variance = mln_max(t_result1d);
_current_step = 0;
// BEGIN INIT_MEAN
mln_trace("init mean");
{
t_value_comp0 min_comp0 = mln_min(t_value_comp0);
t_value_comp0 max_comp0 = mln_max(t_value_comp0);
......@@ -726,7 +724,6 @@ namespace mln
// UPDATE DISTANCE
mln_trace("update distance");
for (unsigned i = 0; i < _k_center; ++i)
{
......@@ -754,7 +751,6 @@ namespace mln
old_variance = _within_variance;
// BEGIN UPDATE GROUP
mln_trace("update group");
{
mln_piter(t_group_img) rgb(_group.domain());
......@@ -780,7 +776,6 @@ namespace mln
// END UPDATE GROUP
// BEGIN UPDATE MEAN
mln_trace("update mean");
{
mln_eiter(t_number_img) en(_number);
mln_eiter(t_mean_img) em(_mean);
......@@ -821,7 +816,6 @@ namespace mln
break;
// UPDATE DISTANCE
mln_trace("update distance");
for (unsigned i = 0; i < _k_center; ++i)
{
......@@ -840,7 +834,6 @@ namespace mln
// END UPDATE DISTANCE
// BEGIN UPDATE VARIANCE
mln_trace("update variance");
{
_within_variance = literal::zero;
mln_eiter(t_variance_img) l(_variance);
......
// Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2010, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
//
......@@ -78,7 +79,6 @@ namespace mln
op.val().blue() = mln_min(Blue) + (mln_max(Blue) - ip.val().blue());
}
mln_trace("world::rgb::impl::invert_rgb_fastest");
}
......
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -42,7 +43,6 @@
#include <mln/debug/iota.hh>
#include <mln/debug/println.hh>
#include <mln/trace/all.hh>
int main()
......
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -42,7 +43,6 @@
#include <mln/debug/iota.hh>
#include <mln/debug/println.hh>
#include <mln/trace/all.hh>
int main()
......
// Copyright (C) 2007, 2008, 2009, 2010 EPITA Research and Development
// Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2010, 2013 EPITA Research and
// Development Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -39,8 +39,6 @@
#include "tests/data.hh"
#include <mln/trace/all.hh>
int main()
......
// Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2008, 2009, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -42,7 +43,6 @@
#include <mln/debug/iota.hh>
#include <mln/debug/println.hh>
#include <mln/trace/all.hh>
int main()
......
// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2009, 2013 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of Olena.
//
......@@ -25,7 +26,6 @@
#include <mln/opt/element.hh>
#include <mln/core/image/image2d.hh>
#include <mln/trace/all.hh>
int main()
......
// Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2008, 2009, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -27,8 +28,6 @@
#include <mln/core/image/flat_image.hh>
#include <mln/core/alias/box2d.hh>
#include <mln/trace/all.hh>
int main()
{
......
......@@ -1109,14 +1109,6 @@ mln_topo_skeleton_breadth_first_thinning \
mln_topo_skeleton_crest \
mln_topo_skeleton_is_simple_point \
mln_topo_static_n_face_iter \
mln_trace_all \
mln_trace_entering \
mln_trace_essential \
mln_trace_exiting \
mln_trace_quiet \
mln_trace_resume \
mln_trace_stop \
mln_trace_warning \
mln_trait_accumulator_print \
mln_trait_accumulator_props \
mln_trait_accumulators \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment