
URL: https://svn.lrde.epita.fr/svn/oln/trunk/milena ChangeLog: 2008-01-15 Guillaume Duhamel <guillaume.duhamel@lrde.epita.fr> Fix bug in dilation. * mln/morpho/dilation.hh: Fix bug for binary image. --- dilation.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: trunk/milena/mln/morpho/dilation.hh =================================================================== --- trunk/milena/mln/morpho/dilation.hh (revision 1666) +++ trunk/milena/mln/morpho/dilation.hh (revision 1667) @@ -1,4 +1,4 @@ -// Copyright (C) 2007 EPITA Research and Development Laboratory +// Copyright (C) 2007, 2008 EPITA Research and Development Laboratory // // This file is part of the Olena Library. This library is free // software; you can redistribute it and/or modify it under the terms @@ -125,9 +125,9 @@ return impl::dilation_on_set(exact(input), exact(win), output); } - template <typename K, typename I, typename W, typename O> + template <typename I, typename W, typename O> inline - void dilation_wrt_value(K, // otherwise => morphology on functions + void dilation_wrt_value(trait::image::kind::any, // otherwise => morphology on functions const Image<I>& input, const Window<W>& win, Image<O>& output) { return impl::dilation_on_function(exact(input), exact(win), output);