How can I modify properties of `KalmanFilter`
See original GitHub issueSummary of your issue
KalmanFilter
contains only getters (which returns new Mat
each call) to all properties ex. TransitionMatrix
or ProcessNoiseCov
.
How can I modify those properties?
Environment
Ubuntu 18.04.3 LTS
Example code:
kalman.TransitionMatrix = new Mat(2, 2, MatType.CV_8U, new double[,]
{
{1, 1},
{0, 1}
});
What did you intend to be?
I should be able to set state of filter.
Complete example of setting filter’s state: https://docs.opencv.org/trunk/de/d70/samples_2cpp_2kalman_8cpp-example.html#a12
In OpenCV all matrices are public. https://github.com/opencv/opencv/blob/master/modules/video/include/opencv2/video/tracking.hpp#L360
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Tuning Kalman Filter to Improve State Estimation
With process noise, a Kalman filter can give newer measurements greater weight than older measurements, allowing for a change in direction or speed....
Read more >Tutorial: The Kalman Filter
In the following derivation the optimal filter is defined as being that filter, from the set of all possible filters which minimises the...
Read more >KalmanFilter — FilterPy 1.4.4 documentation
In brief, you will first construct this object, specifying the size of the state vector with dim_x and the size of the measurement...
Read more >dsp.KalmanFilter
If a property is tunable, you can change its value at any time. For more information on changing property values, see System Design...
Read more >Kalman Filter Properties - YouTube
This video is part of the lecture series for the course Sensor Fusion. It deals with properties of the Kalman filter.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you. I am trying to fix this by #802 .
Thanks for your time @shimat.
Unfortunately, problem still exists #803