| 1 | initial version |
@berak,
The CvMat* Y is actually a 2x1 measurement matrix used for Kalman correction cv::KalmanFilter::correct(Y) and I need to set the two values of the Y matrix with a and b (which I know realize can be set simply by Y(0) = (float)a and Y(1) = float(b) ).
Thanks for the suggestion. Removed the pointers.
I am now using Mat::at<float>(r) notation to access the values of Mat correction returned by cv::KalmanFilter::correct(Y).
| 2 | No.2 Revision |
@berak,
The CvMat* Y is actually a 2x1 measurement matrix used for Kalman correction cv::KalmanFilter::correct(Y) and I need to set the two values of the Y matrix with a and b (which I know realize can be set simply by Y(0) = (float)a and Y(1) = float(b) ).
Thanks for the suggestion. Removed the pointers.
I am now using Mat::at<float>(r) notation to access the values of Mat correction returned by cv::KalmanFilter::correct(Y).
| 3 | No.3 Revision |
@berak,
The CvMat* Y is actually a 2x1 measurement matrix used for Kalman correction cv::KalmanFilter::correct(Y) and I need to set the two values of the Y matrix with a and b (which I know realize can be set simply by Y(0) = (float)a and Y(1) = float(b) ).
Thanks for the suggestion. Removed the pointers.
I am now using Mat::at<float>(r) notation to access the values of Mat correction returned by cv::KalmanFilter::correct(Y).