Lucas Kanade affine template tracking

版本 1.2.0.0 (7.2 MB) 作者: Dirk-Jan Kroon
Lucas Kanade affine template tracking , also robust inverse in c-code.
14.6K 次下载
更新时间 2009/10/1

查看许可证

Description:
This is an affine Lucas Kanade template tracker, which performs template tracking between movie frames. For example, to follow cars, moving coronary arteries or measure camera rotation.

The Matlab code is written to show the same steps as in the Literature, not optimized for speed. But also an inverse Lucas Kanada algorithm in c-code for quick template tracking is included, which also contains pixel weighting for more robustness.

Literature:
S. Baker et Al. "Lucas-Kanade 20 Years On: A Unifying Framework"
D. Schreiber, "Robust template tracking with drift correction"

Demo:
Try the TTdemo.m, see screenshot!

Hints:
You can easily adapted the template tracking TTdemo to your own application, for instance:

- Update the template with image data from the new ROI found in the next movie frame.
- Use the ROIs in the next movie frames, also as templates.
- Calculate the speed from difference in affine parameters between movie frames. Speed can be used to detect if tracking fails, or to smooth the tracking, or to predict the next template position.


Comment:
Bugs, success and other comments are welcome!

引用格式

Dirk-Jan Kroon (2024). Lucas Kanade affine template tracking (https://www.mathworks.com/matlabcentral/fileexchange/24677-lucas-kanade-affine-template-tracking), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Linux Ubuntu Tested

1.1.0.0

Reliability matrix added, fixed missing code line in LucasKanadeAffine.m

1.0.0.0