From: Jimmy Ma <jimmy.ma(a)lrde.epita.fr>
To: olena-patches(a)lrde.epita.fr
Subject: milena r2796: Fix gaussian algorithm
URL:
https://svn.lrde.epita.fr/svn/oln/branches/cleanup-2008/milena
ChangeLog:
2008-11-04 Jimmy Ma <jimmy.ma(a)lrde.epita.fr>
Fix gaussian algorithm.
* mln/linear/gaussian.hh: Add missing initializations.
---
gaussian.hh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Index: branches/cleanup-2008/milena/mln/linear/gaussian.hh
===================================================================
--- branches/cleanup-2008/milena/mln/linear/gaussian.hh (revision 2795)
+++ branches/cleanup-2008/milena/mln/linear/gaussian.hh (revision 2796)
@@ -1,4 +1,4 @@
-// Copyright (C) 2001, 2002, 2003, 2004 EPITA Research and Development
+// Copyright (C) 2001, 2002, 2003, 2004, 2008 EPITA Research and Development
// Laboratory
//
// This file is part of the Olena Library. This library is free
@@ -432,6 +432,7 @@
mln_precondition(exact(input).has_data());
mln_concrete(I) output;
+ initialize(output, input);
impl::recursivefilter_coef_
coef(1.68f, 3.735f,
@@ -453,6 +454,7 @@
mln_precondition(exact(input).has_data());
mln_concrete(I) output;
+ initialize(output, input);
impl::recursivefilter_coef_
coef(-0.6472f, -4.531f,
@@ -473,6 +475,7 @@
mln_precondition(exact(input).has_data());
mln_concrete(I) output;
+ initialize(output, input);
impl::recursivefilter_coef_
coef(-1.331f, 3.661f,