Commit aedd9e66 authored by Simon Nivault's avatar Simon Nivault
Browse files

Some fixes for unit/sanity tests.

	* mln/accu/median_alt.hh,
	* mln/accu/v.hh,
	* mln/arith/min.spe.hh,
	* mln/arith/revert.spe.hh,
	* mln/arith/times.spe.hh,
	* mln/convert/to_rgb.hh,
	* mln/convert/to_tiles.hh,
	* mln/convert/to_w_window.hh,
	* mln/core/dpoints_piter.hh,
	* mln/core/hexa_piter.hh,
	* mln/core/interpolated.hh,
	* mln/core/line_piter.hh,
	* mln/core/p_runs.hh,
	* mln/core/runs_psite.hh,
	* mln/core/t_image.hh,
	* mln/core/tr_image.hh,
	* mln/core/tr_mesh.hh,
	* mln/core/translate_image.hh,
	* mln/debug/iota.spe.hh,
	* mln/debug/println.spe.hh,
	* mln/debug/println_with_border.spe.hh,
	* mln/fun/v2v/saturate.hh,
	* mln/geom/seeds2tiling.hh,
	* mln/geom/seeds2tiling_roundness.hh,
	* mln/histo/compute.spe.hh,
	* mln/io/abort.hh,
	* mln/io/pfm/load.hh,
	* mln/io/pfm/save.hh,
	* mln/io/pnm/max_component.hh,
	* mln/labeling/level.spe.hh,
	* mln/level/apply.spe.hh,
	* mln/level/approx/median.hh,
	* mln/level/assign.spe.hh,
	* mln/level/fast_median.hh,
	* mln/level/fill.spe.hh,
	* mln/level/paste.spe.hh,
	* mln/level/take.spe.hh,
	* mln/level/transform.spe.hh,
	* mln/level/was.median.hh,
	* mln/linear/gaussian.hh,
	* mln/logical/and.spe.hh,
	* mln/logical/and_not.spe.hh,
	* mln/logical/not.spe.hh,
	* mln/logical/or.spe.hh,
	* mln/morpho/dilation_fast.hh,
	* mln/morpho/erosion.spe.hh,
	* mln/morpho/erosion_fast.hh,
	* mln/morpho/thick_miss.hh,
	* mln/trait/image/props.hh,
	* mln/util/tree_fast_to_image.hh,
	* mln/util/tree_to_image.hh,
	* tests/level/approx/median.cc: Fix

	* tests/h_vec.cc: Rename as...
	* tests/core/h_vec.cc: ...this.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@1622 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 8304a1f4
2007-12-20 Simon Nivault <simon.nivault@lrde.epita.fr>
Some fixes for unit/sanity tests.
* mln/accu/median_alt.hh,
* mln/accu/v.hh,
* mln/arith/min.spe.hh,
* mln/arith/revert.spe.hh,
* mln/arith/times.spe.hh,
* mln/convert/to_rgb.hh,
* mln/convert/to_tiles.hh,
* mln/convert/to_w_window.hh,
* mln/core/dpoints_piter.hh,
* mln/core/hexa_piter.hh,
* mln/core/interpolated.hh,
* mln/core/line_piter.hh,
* mln/core/p_runs.hh,
* mln/core/runs_psite.hh,
* mln/core/t_image.hh,
* mln/core/tr_image.hh,
* mln/core/tr_mesh.hh,
* mln/core/translate_image.hh,
* mln/debug/iota.spe.hh,
* mln/debug/println.spe.hh,
* mln/debug/println_with_border.spe.hh,
* mln/fun/v2v/saturate.hh,
* mln/geom/seeds2tiling.hh,
* mln/geom/seeds2tiling_roundness.hh,
* mln/histo/compute.spe.hh,
* mln/io/abort.hh,
* mln/io/pfm/load.hh,
* mln/io/pfm/save.hh,
* mln/io/pnm/max_component.hh,
* mln/labeling/level.spe.hh,
* mln/level/apply.spe.hh,
* mln/level/approx/median.hh,
* mln/level/assign.spe.hh,
* mln/level/fast_median.hh,
* mln/level/fill.spe.hh,
* mln/level/paste.spe.hh,
* mln/level/take.spe.hh,
* mln/level/transform.spe.hh,
* mln/level/was.median.hh,
* mln/linear/gaussian.hh,
* mln/logical/and.spe.hh,
* mln/logical/and_not.spe.hh,
* mln/logical/not.spe.hh,
* mln/logical/or.spe.hh,
* mln/morpho/dilation_fast.hh,
* mln/morpho/erosion.spe.hh,
* mln/morpho/erosion_fast.hh,
* mln/morpho/thick_miss.hh,
* mln/trait/image/props.hh,
* mln/util/tree_fast_to_image.hh,
* mln/util/tree_to_image.hh,
* tests/level/approx/median.cc: Fix
* tests/h_vec.cc: Rename as...
* tests/core/h_vec.cc: ...this.
2007-12-20 Guillaume Duhamel <guillaume.duhamel@lrde.epita.fr>
Add include in mln/canvas/chamfer.hh.
......
......@@ -48,7 +48,7 @@ namespace mln
* value set with type \c S.
*/
template <typename S>
struct median_alt : : public mln::accu::internal::base_< mln_value(S), median_alt<S> >
struct median_alt : public mln::accu::internal::base_< mln_value(S), median_alt<S> >
{
typedef mln_value(S) argument;
......
......@@ -36,6 +36,7 @@
# include <mln/core/concept/meta_accumulator.hh>
# include <mln/accu/internal/base.hh>
# include <mln/metal/is_a.hh>
# include <mln/util/pix.hh>
namespace mln
......
......@@ -33,6 +33,10 @@
* \brief Specializations for mln::arith::min.
*/
# ifndef MLN_ARITH_MIN_HH
# error "Forbidden inclusion of *.spe.hh"
# endif // ! MLN_ARITH_MIN_HH
# include <mln/core/concept/image.hh>
# ifndef MLN_INCLUDE_ONLY
......
......@@ -34,6 +34,10 @@
*
*/
# ifndef MLN_ARITH_REVERT_HH
# error "Forbidden inclusion of *.spe.hh"
# endif // ! MLN_ARITH_REVERT_HH
# include <mln/core/concept/image.hh>
# include <mln/trait/value_.hh>
......
......@@ -34,6 +34,10 @@
*
*/
# ifndef MLN_ARITH_TIMES_HH
# error "Forbidden inclusion of *.spe.hh"
# endif // ! MLN_ARITH_TIMES_HH
# include <mln/arith/includes.hh>
......
......@@ -35,6 +35,7 @@
* \todo Re-write.
*/
# include <mln/value/rgb.hh>
namespace mln
{
......
......@@ -38,6 +38,8 @@
# include <mln/geom/nrows.hh>
# include <mln/geom/ncols.hh>
# include <vector>
namespace mln
{
......
......@@ -34,7 +34,7 @@
*/
# include <mln/core/concept/image.hh>
# include <mln/core/window.hh>
# include <mln/core/w_window.hh>
namespace mln
......
......@@ -34,6 +34,7 @@
* iterators.
*/
# include <vector>
# include <mln/core/internal/point_iterator_base.hh>
# include <mln/core/concept/point_site.hh>
......
......@@ -36,6 +36,7 @@
# include <mln/core/internal/piter_adaptor.hh>
# include <mln/core/box2d.hh>
# include <mln/core/box2d_h.hh>
# include <mln/core/inplace.hh>
namespace mln
......
......@@ -38,7 +38,7 @@
# include <mln/core/internal/image_identity.hh>
# include <mln/metal/vec.hh>
# include <mln/value/set.hh>
namespace mln
{
......
......@@ -36,7 +36,7 @@
*/
# include <mln/core/internal/point_iterator_base.hh>
# include <mln/core/box.hh>
namespace mln
{
......
......@@ -52,7 +52,6 @@ namespace mln
template <typename P> struct p_runs_fwd_piter_;
template <typename P> struct p_runs_bkd_piter_;
/*! \brief p_runs_ class represent a point set used in run_image_ class.
*
* Parameter \c P is the type of the image point.
......
......@@ -34,7 +34,6 @@
*/
# include <mln/core/concept/point_site.hh>
# include <mln/core/p_runs.hh>
namespace mln
......@@ -188,5 +187,6 @@ namespace mln
} // end of namespace mln
# include <mln/core/p_runs.hh>
#endif // ! MLN_CORE_INTERNAL_RUNS_PSITE_HH
......@@ -35,7 +35,7 @@
# include <mln/core/internal/image_morpher.hh>
# include <mln/core/box.hh>
# include <mln/value/set.hh>
namespace mln
{
......
......@@ -39,6 +39,7 @@
# include <mln/core/internal/image_identity.hh>
# include <mln/metal/vec.hh>
# include <mln/value/set.hh>
namespace mln
......
......@@ -35,7 +35,7 @@
*/
# include <mln/core/concept/mesh.hh>
# include <mln/core/bool.hh>
# include <mln/metal/bool.hh>
namespace mln
......
......@@ -37,6 +37,7 @@
# include <mln/core/internal/image_identity.hh>
# include <mln/core/box2d.hh>
# include <mln/core/line_piter.hh>
namespace mln
......
......@@ -33,6 +33,10 @@
* \brief Specializations for mln::debug::iota.
*/
# ifndef MLN_DEBUG_IOTA_HH
# error "Forbidden inclusion of *.spe.hh"
# endif // ! MLN_DEBUG_IOTA_HH
# include <mln/core/concept/image.hh>
......
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