Commit 0d2a72bc authored by Matthieu Garrigues's avatar Matthieu Garrigues
Browse files

Put Licence to 70 cols.


	* milena/doc/benchmark/morpho/erosion.cc: .
	* milena/mln/accu/count_adjacent_vertices.hh: .
	* milena/mln/accu/height.hh: .
	* milena/mln/border/fill.hh: .
	* milena/mln/border/get.hh: .
	* milena/mln/canvas/morpho/algebraic_union_find.hh: .
	* milena/mln/convert/to_p_array.hh: .
	* milena/mln/convert/to_upper_window.hh: .
	* milena/mln/convert/to_window.hh: .
	* milena/mln/core/alias/dpoint1d.hh: .
	* milena/mln/core/alias/dpoint2d.hh: .
	* milena/mln/core/alias/dpoint2d_h.hh: .
	* milena/mln/core/alias/dpoint3d.hh: .
	* milena/mln/core/alias/point1d.hh: .
	* milena/mln/core/alias/point2d.hh: .
	* milena/mln/core/alias/point2d_h.hh: .
	* milena/mln/core/alias/point3d.hh: .
	* milena/mln/core/alias/point3df.hh: .
	* milena/mln/core/alias/window1d.hh: .
	* milena/mln/core/alias/window3d.hh: .
	* milena/mln/core/dpoints_pixter.hh: .
	* milena/mln/core/image/bgraph_image.hh: .
	* milena/mln/core/image/bgraph_psite.hh: .
	* milena/mln/core/image/decorated_image.hh: .
	* milena/mln/core/image/fi_adaptor.hh: .
	* milena/mln/core/image/graph_elt_neighborhood.hh: .
	* milena/mln/core/image/graph_elt_window.hh: .
	* milena/mln/core/image/graph_image.hh: .
	* milena/mln/core/image/graph_neighborhood_piter.hh: .
	* milena/mln/core/image/graph_window_piter.hh: .
	* milena/mln/core/image/line_graph_elt_neighborhood.hh: .
	* milena/mln/core/image/line_graph_elt_window.hh: .
	* milena/mln/core/image/line_graph_image.hh: .
	* milena/mln/core/image/line_graph_neighborhood_piter.hh: .
	* milena/mln/core/image/line_graph_psite.hh: .
	* milena/mln/core/image/line_graph_window_piter.hh: .
	* milena/mln/core/internal/force_exact.hh: .
	* milena/mln/core/internal/image_value_morpher.hh: .
	* milena/mln/core/internal/line_graph_vicinity_piter.hh: .
	* milena/mln/core/internal/pixel_iterator_base.hh: .
	* milena/mln/core/pixter1d.hh: .
	* milena/mln/core/pixter2d.hh: .
	* milena/mln/core/pixter3d.hh: .
	* milena/mln/core/site_set/p_bgraph.hh: .
	* milena/mln/core/site_set/p_bgraph_piter.hh: .
	* milena/mln/core/site_set/p_edges.hh: .
	* milena/mln/core/site_set/p_graph.hh: .
	* milena/mln/core/site_set/p_graph_piter.hh: .
	* milena/mln/core/site_set/p_line_graph.hh: .
	* milena/mln/core/site_set/p_line_graph_piter.hh: .
	* milena/mln/core/site_set/p_vertices.hh: .
	* milena/mln/core/trait/qlf_value.hh: .
	* milena/mln/debug/graph.hh: .
	* milena/mln/geom/seeds2tiling.hh: .
	* milena/mln/geom/seeds2tiling_roundness.hh: .
	* milena/mln/labeling/background.hh: .
	* milena/mln/labeling/flat_zones.hh: .
	* milena/mln/labeling/foreground.hh: .
	* milena/mln/labeling/regional_maxima.hh: .
	* milena/mln/labeling/regional_minima.hh: .
	* milena/mln/level/memset_.hh: .
	* milena/mln/linear/gaussian.hh: .
	* milena/mln/make/voronoi.hh: .
	* milena/mln/math/abs.hh: .
	* milena/mln/metal/abort.hh: .
	* milena/mln/morpho/closing_area.hh: .
	* milena/mln/morpho/closing_area_on_vertices.hh: .
	* milena/mln/morpho/closing_attribute.hh: .
	* milena/mln/morpho/closing_height.hh: .
	* milena/mln/morpho/closing_volume.hh: .
	* milena/mln/morpho/opening_area.hh: .
	* milena/mln/morpho/opening_area_on_vertices.hh: .
	* milena/mln/morpho/opening_attribute.hh: .
	* milena/mln/morpho/opening_height.hh: .
	* milena/mln/morpho/opening_volume.hh: .
	* milena/mln/set/inter.hh: .
	* milena/mln/tag/skeleton.hh: .
	* milena/mln/trait/ch_value.hh: .
	* milena/mln/util/graph.hh: .
	* milena/mln/util/greater_point.hh: .
	* milena/mln/util/greater_psite.hh: .
	* milena/mln/util/internal/boost_graph.hh: .
	* milena/mln/util/internal/boost_graph_access.hh: .
	* milena/mln/util/internal/boost_graph_property.hh: .
	* milena/mln/util/internal/boost_graph_structure.hh: .
	* milena/mln/util/internal/graph_base.hh: .
	* milena/mln/util/ord_pair.hh: .
	* milena/mln/value/int_u_sat.hh: .
	* milena/mln/value/proxy.hh: .
	* milena/mln/value/stack.hh: .
	* milena/mln/win/line.hh: .
	* milena/sandbox/garrigues/ocr/check.sh: .
	* milena/sandbox/garrigues/ocr/ocr_with_preprocess.cc: .
	* milena/sandbox/garrigues/ocr/skeleton.hh: .
	* milena/sandbox/jardonnet/array/old/1d.hh: .
	* milena/sandbox/jardonnet/array/old/2d.hh: .
	* milena/sandbox/jardonnet/array/old/3d.hh: .
	* milena/sandbox/jardonnet/array/old/all.hh: .
	* milena/sandbox/jardonnet/array/old/nd.hh: .
	* milena/sandbox/jardonnet/array/old/objs.hh: .
	* milena/sandbox/levillain/morpho/lower_completion.hh: .
	* milena/sandbox/levillain/morpho/shortest_path_watershed.hh: .
	* milena/sandbox/nivault/dmap.hh: .
	* milena/sandbox/pellegrin/set/core/p_bgraph.hh: .
	* milena/sandbox/pellegrin/set/core/p_graph.hh: .
	* milena/sandbox/pellegrin/set/core/p_line_graph.hh: .
	* milena/sandbox/vigouroux/color.hh: .
	* milena/sandbox/vigouroux/color/color.hh: .
	* milena/sandbox/vigouroux/color/hsi.hh: .
	* milena/sandbox/vigouroux/color/hsl.hh: .
	* milena/sandbox/vigouroux/color/hsv.hh: .
	* milena/sandbox/vigouroux/color/nrgb.hh: .
	* milena/sandbox/vigouroux/color/rgb.hh: .
	* milena/sandbox/vigouroux/color/xyz.hh: .
	* milena/sandbox/vigouroux/color/yiq.hh: .
	* milena/sandbox/vigouroux/color/yuv.hh: .
	* milena/sandbox/vigouroux/convert/abstract/colorconv.hh: .
	* milena/sandbox/vigouroux/convert/abstract/conversion.hh: .
	* milena/sandbox/vigouroux/convert/basics.hh: .
	* milena/sandbox/vigouroux/convert/bound.hh: .
	* milena/sandbox/vigouroux/convert/cast.hh: .
	* milena/sandbox/vigouroux/convert/conversion.hh: .
	* milena/sandbox/vigouroux/convert/conversion_ng_se.hh: .
	* milena/sandbox/vigouroux/convert/force.hh: .
	* milena/sandbox/vigouroux/convert/nrgbxyz.hh: .
	* milena/sandbox/vigouroux/convert/rgbhsi.hh: .
	* milena/sandbox/vigouroux/convert/rgbhsl.hh: .
	* milena/sandbox/vigouroux/convert/rgbhsv.hh: .
	* milena/sandbox/vigouroux/convert/rgbnrgb.hh: .
	* milena/sandbox/vigouroux/convert/rgbxyz.hh: .
	* milena/sandbox/vigouroux/convert/rgbyiq.hh: .
	* milena/sandbox/vigouroux/convert/rgbyuv.hh: .
	* milena/sandbox/vigouroux/convert/stretch.hh: .
	* milena/tests/timer.hh: .

git-svn-id: https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008@2838 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 9145420b
2008-11-10 Matthieu Garrigues <garrigues@lrde.epita.fr>
Put Licence to 70 cols.
* milena/doc/benchmark/morpho/erosion.cc: .
* milena/mln/accu/count_adjacent_vertices.hh: .
* milena/mln/accu/height.hh: .
* milena/mln/border/fill.hh: .
* milena/mln/border/get.hh: .
* milena/mln/canvas/morpho/algebraic_union_find.hh: .
* milena/mln/convert/to_p_array.hh: .
* milena/mln/convert/to_upper_window.hh: .
* milena/mln/convert/to_window.hh: .
* milena/mln/core/alias/dpoint1d.hh: .
* milena/mln/core/alias/dpoint2d.hh: .
* milena/mln/core/alias/dpoint2d_h.hh: .
* milena/mln/core/alias/dpoint3d.hh: .
* milena/mln/core/alias/point1d.hh: .
* milena/mln/core/alias/point2d.hh: .
* milena/mln/core/alias/point2d_h.hh: .
* milena/mln/core/alias/point3d.hh: .
* milena/mln/core/alias/point3df.hh: .
* milena/mln/core/alias/window1d.hh: .
* milena/mln/core/alias/window3d.hh: .
* milena/mln/core/dpoints_pixter.hh: .
* milena/mln/core/image/bgraph_image.hh: .
* milena/mln/core/image/bgraph_psite.hh: .
* milena/mln/core/image/decorated_image.hh: .
* milena/mln/core/image/fi_adaptor.hh: .
* milena/mln/core/image/graph_elt_neighborhood.hh: .
* milena/mln/core/image/graph_elt_window.hh: .
* milena/mln/core/image/graph_image.hh: .
* milena/mln/core/image/graph_neighborhood_piter.hh: .
* milena/mln/core/image/graph_window_piter.hh: .
* milena/mln/core/image/line_graph_elt_neighborhood.hh: .
* milena/mln/core/image/line_graph_elt_window.hh: .
* milena/mln/core/image/line_graph_image.hh: .
* milena/mln/core/image/line_graph_neighborhood_piter.hh: .
* milena/mln/core/image/line_graph_psite.hh: .
* milena/mln/core/image/line_graph_window_piter.hh: .
* milena/mln/core/internal/force_exact.hh: .
* milena/mln/core/internal/image_value_morpher.hh: .
* milena/mln/core/internal/line_graph_vicinity_piter.hh: .
* milena/mln/core/internal/pixel_iterator_base.hh: .
* milena/mln/core/pixter1d.hh: .
* milena/mln/core/pixter2d.hh: .
* milena/mln/core/pixter3d.hh: .
* milena/mln/core/site_set/p_bgraph.hh: .
* milena/mln/core/site_set/p_bgraph_piter.hh: .
* milena/mln/core/site_set/p_edges.hh: .
* milena/mln/core/site_set/p_graph.hh: .
* milena/mln/core/site_set/p_graph_piter.hh: .
* milena/mln/core/site_set/p_line_graph.hh: .
* milena/mln/core/site_set/p_line_graph_piter.hh: .
* milena/mln/core/site_set/p_vertices.hh: .
* milena/mln/core/trait/qlf_value.hh: .
* milena/mln/debug/graph.hh: .
* milena/mln/geom/seeds2tiling.hh: .
* milena/mln/geom/seeds2tiling_roundness.hh: .
* milena/mln/labeling/background.hh: .
* milena/mln/labeling/flat_zones.hh: .
* milena/mln/labeling/foreground.hh: .
* milena/mln/labeling/regional_maxima.hh: .
* milena/mln/labeling/regional_minima.hh: .
* milena/mln/level/memset_.hh: .
* milena/mln/linear/gaussian.hh: .
* milena/mln/make/voronoi.hh: .
* milena/mln/math/abs.hh: .
* milena/mln/metal/abort.hh: .
* milena/mln/morpho/closing_area.hh: .
* milena/mln/morpho/closing_area_on_vertices.hh: .
* milena/mln/morpho/closing_attribute.hh: .
* milena/mln/morpho/closing_height.hh: .
* milena/mln/morpho/closing_volume.hh: .
* milena/mln/morpho/opening_area.hh: .
* milena/mln/morpho/opening_area_on_vertices.hh: .
* milena/mln/morpho/opening_attribute.hh: .
* milena/mln/morpho/opening_height.hh: .
* milena/mln/morpho/opening_volume.hh: .
* milena/mln/set/inter.hh: .
* milena/mln/tag/skeleton.hh: .
* milena/mln/trait/ch_value.hh: .
* milena/mln/util/graph.hh: .
* milena/mln/util/greater_point.hh: .
* milena/mln/util/greater_psite.hh: .
* milena/mln/util/internal/boost_graph.hh: .
* milena/mln/util/internal/boost_graph_access.hh: .
* milena/mln/util/internal/boost_graph_property.hh: .
* milena/mln/util/internal/boost_graph_structure.hh: .
* milena/mln/util/internal/graph_base.hh: .
* milena/mln/util/ord_pair.hh: .
* milena/mln/value/int_u_sat.hh: .
* milena/mln/value/proxy.hh: .
* milena/mln/value/stack.hh: .
* milena/mln/win/line.hh: .
* milena/sandbox/garrigues/ocr/check.sh: .
* milena/sandbox/garrigues/ocr/ocr_with_preprocess.cc: .
* milena/sandbox/garrigues/ocr/skeleton.hh: .
* milena/sandbox/jardonnet/array/old/1d.hh: .
* milena/sandbox/jardonnet/array/old/2d.hh: .
* milena/sandbox/jardonnet/array/old/3d.hh: .
* milena/sandbox/jardonnet/array/old/all.hh: .
* milena/sandbox/jardonnet/array/old/nd.hh: .
* milena/sandbox/jardonnet/array/old/objs.hh: .
* milena/sandbox/levillain/morpho/lower_completion.hh: .
* milena/sandbox/levillain/morpho/shortest_path_watershed.hh: .
* milena/sandbox/nivault/dmap.hh: .
* milena/sandbox/pellegrin/set/core/p_bgraph.hh: .
* milena/sandbox/pellegrin/set/core/p_graph.hh: .
* milena/sandbox/pellegrin/set/core/p_line_graph.hh: .
* milena/sandbox/vigouroux/color.hh: .
* milena/sandbox/vigouroux/color/color.hh: .
* milena/sandbox/vigouroux/color/hsi.hh: .
* milena/sandbox/vigouroux/color/hsl.hh: .
* milena/sandbox/vigouroux/color/hsv.hh: .
* milena/sandbox/vigouroux/color/nrgb.hh: .
* milena/sandbox/vigouroux/color/rgb.hh: .
* milena/sandbox/vigouroux/color/xyz.hh: .
* milena/sandbox/vigouroux/color/yiq.hh: .
* milena/sandbox/vigouroux/color/yuv.hh: .
* milena/sandbox/vigouroux/convert/abstract/colorconv.hh: .
* milena/sandbox/vigouroux/convert/abstract/conversion.hh: .
* milena/sandbox/vigouroux/convert/basics.hh: .
* milena/sandbox/vigouroux/convert/bound.hh: .
* milena/sandbox/vigouroux/convert/cast.hh: .
* milena/sandbox/vigouroux/convert/conversion.hh: .
* milena/sandbox/vigouroux/convert/conversion_ng_se.hh: .
* milena/sandbox/vigouroux/convert/force.hh: .
* milena/sandbox/vigouroux/convert/nrgbxyz.hh: .
* milena/sandbox/vigouroux/convert/rgbhsi.hh: .
* milena/sandbox/vigouroux/convert/rgbhsl.hh: .
* milena/sandbox/vigouroux/convert/rgbhsv.hh: .
* milena/sandbox/vigouroux/convert/rgbnrgb.hh: .
* milena/sandbox/vigouroux/convert/rgbxyz.hh: .
* milena/sandbox/vigouroux/convert/rgbyiq.hh: .
* milena/sandbox/vigouroux/convert/rgbyuv.hh: .
* milena/sandbox/vigouroux/convert/stretch.hh: .
* milena/tests/timer.hh: .
2008-11-04 Ugo Jardonnet <jardonnet@lrde.epita.fr>
Update configure.ac for unit_test.
......
......@@ -41,6 +41,7 @@
#include <mln/value/int_u8.hh>
#include <mln/morpho/erosion.hh>
#include <mln/arith/diff_abs.hh>
#include "tests/data.hh"
#include "tests/timer.hh"
......@@ -84,7 +85,7 @@ int main()
// trace::quiet = false;
timer t;
/*
// Rectangle
std::cout << "-------------------------- Rectangle: " << std::endl;
......@@ -271,9 +272,9 @@ int main()
mln_assertion(test);
std::cout << " " << (test ? "OK" : "KO!!!") << std::endl;
}
*/
std::cout << "-------------------------- Octagon: " << std::endl;
border::thickness = 0;
// Octagon
{
t.start();
......@@ -286,6 +287,9 @@ int main()
t.start();
out = morpho::erosion(lena, oct);
std::cout << "dispach on octagon: " << t << std::endl;
io::pgm::save(out, "out_oct.pgm");
io::pgm::save(arith::diff_abs(out, ref), "diff.pgm");
bool test = out == ref;
mln_assertion(test);
std::cout << " " << (test ? "OK" : "KO!!!") << std::endl;
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory
// (LRDE)
//
// This file is part of the Olena Library. This library is free
// software; you can redistribute it and/or modify it under the terms
......
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