首页 | 本学科首页   官方微博 | 高级检索  
     

基于DM642的KLT跟踪算法的实现及优化
引用本文:刘军,梁久祯,柴志雷.基于DM642的KLT跟踪算法的实现及优化[J].激光与红外,2011,41(8):936-940.
作者姓名:刘军  梁久祯  柴志雷
作者单位:江南大学物联网工程学院智能系统与网络计算研究所,江苏无锡,214122
基金项目:江苏省自然科学基金(No.BK2008098)资助
摘    要:Kanade-Lucas-Tomasi(KLT)算法是基于图像特征点的跟踪算法,由目标对象特征点提取,特征点跟踪两部分组成。本文首先阐述了KLT算法的基本原理,分析了影响算法执行速度的主要原因。分析表明KLT算法的操作主要集中在乘加运算和循环,图像卷积运算和循环占用的执行时间比较长。针对TMS320DM642 DSP的硬件平台特点,提出了算法优化的若干策略。通过配置编译环境,合理安排数据类型,消除存储器相关性,使用内联函数以及分解多层循环等方法,对算法的实现进行了优化。实验结果表明,优化后代码执行速度是优化前的3倍多。

关 键 词:DM642  KLT  运动跟踪  优化  图像处理

Implementation and optimization of KLT tracking algorithm based on DM642
LIU Jun,LINANG Jiu-zhen,CHAI Zhi-lei.Implementation and optimization of KLT tracking algorithm based on DM642[J].Laser & Infrared,2011,41(8):936-940.
Authors:LIU Jun  LINANG Jiu-zhen  CHAI Zhi-lei
Abstract:KLT is a tracking algorithm based on image feature points,which is composed of two parts,namely the feature point extraction and the feature point tracking.In this paper,the basic principle of the KLT algorithm is proposed,and the main factors which influence the speed of the KLT algorithm are analyzed.It is found that the multiplication-addition and the loop operations cost the most processing time in the KLT algorithm.The image convolution operation and the implementation of loops take much more time.A serise strategies of the algorithm optimization are proposed considering the hardware platform of the TMS320DM642.The algorithm is implemented optimizely,by configing the compile environment,arranging the data types reasonably,eliminating the memory correlation,using the intrinsics and decompositing the number of loops.Experimental results show that the execution speed of the optimized code is three times faster than that without optimization.
Keywords:DM642  KLT  motion tracking  optimization  image processing
本文献已被 万方数据 等数据库收录!
点击此处可从《激光与红外》浏览原始摘要信息
点击此处可从《激光与红外》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号