mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 19:44:14 +08:00
Merge pull request #449 from Audenrith:EnableAccessToUKFErrorCovariance
This commit is contained in:
@@ -80,6 +80,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual Mat getMeasurementNoiseCov() const = 0;
|
virtual Mat getMeasurementNoiseCov() const = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return the error cross-covariance matrix.
|
||||||
|
*/
|
||||||
|
virtual Mat getErrorCov() const = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the current estimate of the state.
|
* @return the current estimate of the state.
|
||||||
*/
|
*/
|
||||||
|
@@ -195,6 +195,7 @@ public:
|
|||||||
|
|
||||||
Mat getProcessNoiseCov() const;
|
Mat getProcessNoiseCov() const;
|
||||||
Mat getMeasurementNoiseCov() const;
|
Mat getMeasurementNoiseCov() const;
|
||||||
|
Mat getErrorCov() const;
|
||||||
|
|
||||||
Mat getState() const;
|
Mat getState() const;
|
||||||
|
|
||||||
@@ -425,6 +426,11 @@ Mat AugmentedUnscentedKalmanFilterImpl::getMeasurementNoiseCov() const
|
|||||||
return measurementNoiseCov.clone();
|
return measurementNoiseCov.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Mat AugmentedUnscentedKalmanFilterImpl::getErrorCov() const
|
||||||
|
{
|
||||||
|
return errorCov.clone();
|
||||||
|
}
|
||||||
|
|
||||||
Mat AugmentedUnscentedKalmanFilterImpl::getState() const
|
Mat AugmentedUnscentedKalmanFilterImpl::getState() const
|
||||||
{
|
{
|
||||||
return state.clone();
|
return state.clone();
|
||||||
|
@@ -189,6 +189,7 @@ public:
|
|||||||
// Get system parameters
|
// Get system parameters
|
||||||
Mat getProcessNoiseCov() const;
|
Mat getProcessNoiseCov() const;
|
||||||
Mat getMeasurementNoiseCov() const;
|
Mat getMeasurementNoiseCov() const;
|
||||||
|
Mat getErrorCov() const;
|
||||||
|
|
||||||
// Get the state estimate
|
// Get the state estimate
|
||||||
Mat getState() const;
|
Mat getState() const;
|
||||||
@@ -400,6 +401,11 @@ Mat UnscentedKalmanFilterImpl::getMeasurementNoiseCov() const
|
|||||||
return measurementNoiseCov.clone();
|
return measurementNoiseCov.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Mat UnscentedKalmanFilterImpl::getErrorCov() const
|
||||||
|
{
|
||||||
|
return errorCov.clone();
|
||||||
|
}
|
||||||
|
|
||||||
Mat UnscentedKalmanFilterImpl::getState() const
|
Mat UnscentedKalmanFilterImpl::getState() const
|
||||||
{
|
{
|
||||||
return state.clone();
|
return state.clone();
|
||||||
|
Reference in New Issue
Block a user