Commit c232caa0 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Small fixes (again).

	* mln/level/approx/median.hh: call diameter() instead of length() on
	win::ball.

	* mln/level/convert.hh: fix a return type.

	* mln/morpho/closing/essential.hh,
	* mln/morpho/essential.hh,
	* mln/morpho/opening/essential.hh: Fix includes.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3470 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 02c779ad
2009-03-03 Guillaume Lazzara <lazzara@lrde.epita.fr>
Small fixes (again).
* mln/level/approx/median.hh: call diameter() instead of length() on
win::ball.
* mln/level/convert.hh: fix a return type.
* mln/morpho/closing/essential.hh,
* mln/morpho/essential.hh,
* mln/morpho/opening/essential.hh: Fix includes.
2009-03-03 Guillaume Lazzara <lazzara@lrde.epita.fr>
 
Small fixes related to morpho.
......@@ -136,7 +136,7 @@ namespace mln
{
trace::entering("level::approx::median");
const unsigned len = win.length() / 3 + 1;
const unsigned len = win.diameter() / 3 + 1;
mln_concrete(I) output;
win::diag2d win1(len);
......
......@@ -99,7 +99,7 @@ namespace mln
template <typename V, typename I>
inline
mln_concrete(I)
mln_ch_value(I,V)
convert_identity(const V& v, const Image<I>& input)
{
trace::entering("level::impl::convert_identity");
......
......@@ -34,10 +34,11 @@
/// File that includes essential closing attributes.
#include <mln/morpho/closing/algebraic.hh>
#include <mln/morpho/closing/leveling.hh>
#include <mln/morpho/closing/area.hh>
#include <mln/morpho/closing/volume.hh>
#include <mln/morpho/closing/height.hh>
#include <mln/morpho/closing/leveling.hh>
#include <mln/morpho/closing/structural.hh>
#include <mln/morpho/closing/volume.hh>
#endif // ! MLN_MORPHO_CLOSING_ESSENTIAL_HH
......@@ -33,7 +33,6 @@
/// File that includes essential morpho-related routines.
# include <mln/morpho/closing.hh>
# include <mln/morpho/dilation.hh>
# include <mln/morpho/erosion.hh>
# include <mln/morpho/gradient.hh>
......@@ -41,7 +40,6 @@
# include <mln/morpho/includes.hh>
# include <mln/morpho/laplacian.hh>
# include <mln/morpho/meyer_wst.hh>
# include <mln/morpho/opening.hh>
# include <mln/morpho/rank_filter.hh>
# include <mln/morpho/top_hat.hh>
......
......@@ -34,10 +34,11 @@
/// File that includes essential opening attributes.
#include <mln/morpho/opening/algebraic.hh>
#include <mln/morpho/opening/leveling.hh>
#include <mln/morpho/opening/area.hh>
#include <mln/morpho/opening/volume.hh>
#include <mln/morpho/opening/height.hh>
#include <mln/morpho/opening/leveling.hh>
#include <mln/morpho/opening/structural.hh>
#include <mln/morpho/opening/volume.hh>
#endif // ! MLN_MORPHO_OPENING_ESSENTIAL_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