Re: PureBasic Interface to OpenCV ---- 02/04/14 06:00 PM
Posted: Sun Feb 09, 2014 8:21 am
Updated:
- added Constants, Structures, Macros, Functions, Inline Functions (converted to Procedures)
- added 1 example
-- cv_kalman.pb: tracks a rotating point at a constant rotation speed
Original Code: kalman.c - found in a previous version of OpenCV.
Even though the example may seem like it's producing a very basic function, that's not the case. See the following article for more information: http://cs.unc.edu/~welch/media/pdf/kalman_intro.pdf
- added Constants, Structures, Macros, Functions, Inline Functions (converted to Procedures)
- added 1 example
-- cv_kalman.pb: tracks a rotating point at a constant rotation speed
Original Code: kalman.c - found in a previous version of OpenCV.
This was another difficult example to convert and get working, but well worth it as it helped me to correct some Structure declarations, and various other inconstancies.Tracking of rotating point.
Rotation speed is constant.
Both state and measurements vectors are 1D (a point angle),
Measurement is the real point angle + gaussian noise.
The real and the estimated points are connected with yellow line segment,
the real and the measured points are connected with red line segment.
(if Kalman filter works correctly, the yellow segment should be shorter than the red one).
Even though the example may seem like it's producing a very basic function, that's not the case. See the following article for more information: http://cs.unc.edu/~welch/media/pdf/kalman_intro.pdf