File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,11 @@ class CV_EXPORTS UnscentedKalmanFilter
80
80
*/
81
81
virtual Mat getMeasurementNoiseCov () const = 0;
82
82
83
+ /* *
84
+ * @return the error cross-covariance matrix.
85
+ */
86
+ virtual Mat getErrorCov () const = 0;
87
+
83
88
/* *
84
89
* @return the current estimate of the state.
85
90
*/
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ class AugmentedUnscentedKalmanFilterImpl: public UnscentedKalmanFilter
195
195
196
196
Mat getProcessNoiseCov () const ;
197
197
Mat getMeasurementNoiseCov () const ;
198
+ Mat getErrorCov () const ;
198
199
199
200
Mat getState () const ;
200
201
@@ -425,6 +426,11 @@ Mat AugmentedUnscentedKalmanFilterImpl::getMeasurementNoiseCov() const
425
426
return measurementNoiseCov.clone ();
426
427
}
427
428
429
+ Mat AugmentedUnscentedKalmanFilterImpl::getErrorCov () const
430
+ {
431
+ return errorCov.clone ();
432
+ }
433
+
428
434
Mat AugmentedUnscentedKalmanFilterImpl::getState () const
429
435
{
430
436
return state.clone ();
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ class UnscentedKalmanFilterImpl: public UnscentedKalmanFilter
189
189
// Get system parameters
190
190
Mat getProcessNoiseCov () const ;
191
191
Mat getMeasurementNoiseCov () const ;
192
+ Mat getErrorCov () const ;
192
193
193
194
// Get the state estimate
194
195
Mat getState () const ;
@@ -400,6 +401,11 @@ Mat UnscentedKalmanFilterImpl::getMeasurementNoiseCov() const
400
401
return measurementNoiseCov.clone ();
401
402
}
402
403
404
+ Mat UnscentedKalmanFilterImpl::getErrorCov () const
405
+ {
406
+ return errorCov.clone ();
407
+ }
408
+
403
409
Mat UnscentedKalmanFilterImpl::getState () const
404
410
{
405
411
return state.clone ();
You can’t perform that action at this time.
0 commit comments