]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Extensions/Algorithms/KalmanFilter.cxx
Kalman completely ported
[cpPlugins.git] / lib / cpPlugins / Extensions / Algorithms / KalmanFilter.cxx
index 9542026453a815c18eeccefe1131df89c6045d41..c7f650d560cb999dd56fff701ffaf4aecd183f6e 100644 (file)
@@ -3,21 +3,6 @@
 #include <cstdlib>
 #include <vnl/algo/vnl_matrix_inverse.h>
 
-// -------------------------------------------------------------------------
-template< typename T >
-cpPlugins::Extensions::Algorithms::KalmanFilter< T >::
-KalmanFilter( unsigned int s, unsigned int i, unsigned int m )
-{
-  this->Configure( s, i, m );
-}
-
-// -------------------------------------------------------------------------
-template< typename T >
-cpPlugins::Extensions::Algorithms::KalmanFilter< T >::
-~KalmanFilter( )
-{
-}
-
 // -------------------------------------------------------------------------
 template< typename T >
 void cpPlugins::Extensions::Algorithms::KalmanFilter< T >::
@@ -127,6 +112,22 @@ Filtrate( )
   } // fi
 }
 
+// -------------------------------------------------------------------------
+template< typename T >
+cpPlugins::Extensions::Algorithms::KalmanFilter< T >::
+KalmanFilter( )
+  : Superclass( )
+{
+  this->Configure( 1, 1, 1 );
+}
+
+// -------------------------------------------------------------------------
+template< typename T >
+cpPlugins::Extensions::Algorithms::KalmanFilter< T >::
+~KalmanFilter( )
+{
+}
+
 // -------------------------------------------------------------------------
 // Explicit instantiations