Speeding up Point Tracking

6 次查看(过去 30 天)
Tazzmani
Tazzmani 2022-5-9
回答: Udit06 2023-12-22
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

回答(1 个)

Udit06
Udit06 2023-12-22
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.

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by