Quick Question on changing member variables of shared library.

81 views
Skip to first unread message

Podge

unread,
Nov 21, 2011, 3:10:27 PM11/21/11
to android-opencv, padrai...@live.ie
Hi there Everyone,

I'm trying to use the kalman filter class to do some work, and need to
modify some parameters.
On line 14 of the KalmanFilter.java, it states:

However, you can modify "transitionMatrix", "controlMatrix", and
* "measurementMatrix" to get an extended Kalman filter functionality.

Can anyone tell me how this? I would be very grateful!

Padraig

Andrey Pavlenko

unread,
Nov 22, 2011, 4:30:14 AM11/22/11
to android...@googlegroups.com, padrai...@live.ie
Currently it's possible on C++ level, not in Java.

Podge

unread,
Nov 22, 2011, 6:58:56 AM11/22/11
to android-opencv
So there is no way to modify it for android?

On Nov 22, 9:30 am, Andrey Pavlenko <andrey.pavle...@itseez.com>
wrote:

Andrey Pavlenko

unread,
Nov 22, 2011, 7:56:07 AM11/22/11
to android...@googlegroups.com
You obviously can implement an alternative Java wrapper class for OpenCV C++ class KalmanFilter and use it your project.
The existing Java API is automatically generated based on C++ classes API, so to add methods to Java class the underlying C++ one needs to be modified.
You can put a request to OpenCV bug tracker at https://code.ros.org/trac/opencv but no commitments on target release.
Reply all
Reply to author
Forward
0 new messages