LiveFit
Track and plot projectiles for in-class demonstration
Public Member Functions | Private Attributes | List of all members
KalmanFilterPlus Class Reference

A cv::KalmanFilter which also supports some 'forgetful' functionality. More...

#include <KalmanFilterPlus.hpp>

Inheritance diagram for KalmanFilterPlus:
Inheritance graph
[legend]
Collaboration diagram for KalmanFilterPlus:
Collaboration graph
[legend]

Public Member Functions

 KalmanFilterPlus (int dynamParams, int measureParams, int controlParams=0, int type=CV_32F)
 
const cv::Mat & predict (const cv::Mat &control=cv::Mat())
 Predict the location of the ball. More...
 
void setAlphaSq (double value)
 

Private Attributes

double mAlphaSq
 

Detailed Description

A cv::KalmanFilter which also supports some 'forgetful' functionality.

Member Function Documentation

const cv::Mat & KalmanFilterPlus::predict ( const cv::Mat &  control = cv::Mat())

Predict the location of the ball.

Overloaded in order to provide the alpha weight in order to give earlier predictions less significance


The documentation for this class was generated from the following files: