How can I use a modified measurement model or observation matrix H in trackingEKF?

3 次查看(过去 30 天)
I am tracking camera detections using trackerGNN, trackerJPDA and trackerTOMHT and with the help of trackingEKF object. I would like to have my observation matrix H modified to my needs. To begin, I have camera detection as x y pixel location. Now I would like to project it on a ground plane image using homography matrix. I have the homography matrix and I want to use it in observation matrix (H) of Kalman filter to map my measurement to the state which is in ground plane as a measurement function. My state is [x vx y vy] where x and y are pixel location in ground plane and measurement [x y] where x and y are pixel location in camera image. As my homography matrix is [h11 h12 h13; h21 h22 h23; h31 h32 h33] I cannot just use it directly as the equations would be h11x + h12y + h13 , h21x + h22y + h23 and h31x + h32y + h33. After that I divide 1 and 2 by 3 value to normalize it. Can anyone let me know how this is possible?
  1 个评论
Walter Roberson
Walter Roberson 2023-8-7
You flagged your own question as Unclear. As the person who posted the question, you are the person with the greatest chance of correctly editting the question to make it clearer.

请先登录,再进行评论。

回答(1 个)

Elad Kivelevitch
Elad Kivelevitch 2023-7-5
Sounds like you should use a trackingEKF and create a measurement function that converts your (x,y) pixel measurements.

产品


版本

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by