Speeding up Point Tracking

6 vues (au cours des 30 derniers jours)
Tazzmani
Tazzmani le 9 Mai 2022
Réponse apportée : Udit06 le 22 Déc 2023
I'm using a vision.PointTracker to track feature points over 3 images. The images tracked points are stored in an imageviewset to generate 3D-points using triangulateMultiview. The goal is to do this process mostly realtime. With increasing camera resolution(1920x1080), the runtime increases significantly with each tracking step taking more than 0.1s resulting in an overall output of about 2FPS.
Is there a way to set up GPU support for the Tracker or a different, faster approach to Pointtracking?
Thanks in advance

Réponses (1)

Udit06
Udit06 le 22 Déc 2023
Hi Tazzmani,
You can try the following approaches to make the point tracking faster:
1) Reduce the "NumPyramidLevels" property of "vision.PointTracker" which is by default set to 3.
2) Reduce the "BlockSize" property of vision.PointTracker which indicates the size of neighborhood around each point being tracked. "BlockSize" property is directly proportional to the computation time.
3) You can also reduce the "MaxIterations" that KLT algorithm performs to reduce the computation time. By default, it is assigned as 30, but the algorithm typically converges within 10 iterations.
You can refer to the following MathWorks documentation to understand more about the "vision.PointTracker" properties
I hope this helps.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by