How to initialize Kalman filter in GNN tracker

1 view (last 30 days)
Hi,
I am using trackerGNN function for track association.
tracker = trackerGNN('FilterInitializationFcn', @initcvkf, ...
'ConfirmationThreshold', [4 5],... %'ConfirmationThreshold', 20,...%[4,5]
'DeletionThreshold', 10);
Kalman filter is initialised as the constant velocity Kalman filter. How can I initialise its measurement noise and process noise in the GNN tracker as in the case of the function configureKalmanFilter
kalmanFilter = configureKalmanFilter('ConstantVelocity', centroid, [5, 2], [100, 25], 3);
Thanks
Nisha

Accepted Answer

Shivam Singh
Shivam Singh on 1 Apr 2022
Hello Nisha,
It is my understanding that you want to initialize measurement noise and process noise for constant velocity Kalman Filter in the GNN tracker.
This can be done by writing your own initialization function in “trackerGNN” function. You may refer the following link for reference: FilterInitializationFcn Name-Value pair of trackerGNN function
To guide you in writing the above function, you may take help provided in the below mentioned command:
type initcvkf

More Answers (0)

Community Treasure Hunt

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

Start Hunting!