C# Class OpenCvSharp.KalmanFilter

Kalman filter. The class implements standard Kalman filter \url{http://en.wikipedia.org/wiki/Kalman_filter}. However, you can modify KalmanFilter::transitionMatrix, KalmanFilter::controlMatrix and KalmanFilter::measurementMatrix to get the extended Kalman filter functionality.
Inheritance: OpenCvSharp.DisposableCvObject
Mostrar archivo Open project: shimat/opencvsharp

Public Methods

Method Description
Correct ( OpenCvSharp.Mat measurement ) : OpenCvSharp.Mat

updates the predicted state from the measurement

Init ( int dynamParams, int measureParams, int controlParams, int type = MatType.CV_32F ) : void

re-initializes Kalman filter. The previous content is destroyed.

KalmanFilter ( ) : System

the default constructor

KalmanFilter ( int dynamParams, int measureParams, int controlParams, int type = MatType.CV_32F ) : System

the full constructor taking the dimensionality of the state, of the measurement and of the control vector

Predict ( OpenCvSharp.Mat control = null ) : OpenCvSharp.Mat

computes predicted state

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Correct() public method

updates the predicted state from the measurement
public Correct ( OpenCvSharp.Mat measurement ) : OpenCvSharp.Mat
measurement OpenCvSharp.Mat
return OpenCvSharp.Mat

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Init() public method

re-initializes Kalman filter. The previous content is destroyed.
public Init ( int dynamParams, int measureParams, int controlParams, int type = MatType.CV_32F ) : void
dynamParams int
measureParams int
controlParams int
type int
return void

KalmanFilter() public method

the default constructor
public KalmanFilter ( ) : System
return System

KalmanFilter() public method

the full constructor taking the dimensionality of the state, of the measurement and of the control vector
public KalmanFilter ( int dynamParams, int measureParams, int controlParams, int type = MatType.CV_32F ) : System
dynamParams int
measureParams int
controlParams int
type int
return System

Predict() public method

computes predicted state
public Predict ( OpenCvSharp.Mat control = null ) : OpenCvSharp.Mat
control OpenCvSharp.Mat
return OpenCvSharp.Mat