计算机应用 ›› 2015, Vol. 35 ›› Issue (10): 2995-2999.DOI: 10.11772/j.issn.1001-9081.2015.10.2995

• 行业与领域应用 • 上一篇    下一篇

基于目标跟踪的红外触摸屏优化算法

周爱国, 潘强标   

  1. 同济大学 机械与能源工程学院, 上海 201804
  • 收稿日期:2015-04-22 修回日期:2015-07-21 出版日期:2015-10-10 发布日期:2015-10-14
  • 通讯作者: 潘强标(1989-),男,广东中山人,硕士研究生,主要研究方向:红外触摸屏优化,panqiangbiao@163.com
  • 作者简介:周爱国(1973-),男,湖南攸县人,副教授,博士,主要研究方向:机械电子驱动与控制、机器人动力学建模、汽车传感器、生物仪器。

Optimal algorithm for infrared touch screen based on target tracking

ZHOU Aiguo, PAN Qiangbiao   

  1. School of Mechanical Engineering, Tongji University, Shanghai 201804, China
  • Received:2015-04-22 Revised:2015-07-21 Online:2015-10-10 Published:2015-10-14

摘要: 针对现有红外触摸屏多点识别时识别错乱和画图时轨迹毛刺严重等问题,在原有识别算法的基础上,加入了卡尔曼滤波与跟踪门算法结合的目标跟踪算法处理,提出一种新型红外触摸屏优化算法。该算法通过数据关联中的跟踪门逻辑,将量测值与已有的目标轨迹进行逻辑判断,选择正确的触点信息,剔除伪触点的信息,实现轨迹关联和目标跟踪。同时在红外触摸屏上建立触点的运动模型上,通过卡尔曼滤波实现轨迹的平滑和一定程度上的轨迹预测。在红外触摸屏上的测试表明,与原有的识别算法相比,优化算法增加了约3 μs单点识别时间,但是提高了轨迹在拐角处的平滑度,减少了拐角处约60%的毛刺。优化算法有效地修正了红外触摸屏原有的不足,能实现多触点时的轨迹关联和提高轨迹的平滑程度,能提高红外触摸屏绘图时的实际使用效果。

关键词: 多点触控, 目标跟踪, 跟踪门, 卡尔曼滤波, 轨迹平滑

Abstract: Current infrared touch screen has problems in the multi-touch recognition and causes zigzag trace when drawing. In order to deal with these problems, an optimal algorithm based on target tracking was presented combined with Kalman filter and validation region algorithm. In data association, the validation region algorithm was used to match the right touch point's estimate value with the original target trajectory and delete the wrong touch point's estimate value. With the touch point motion model, Kalman filter was adopted for track smoothing and target movement prediction. Compared to the original recognition algorithm, the time of single touch point recognition was added about 3 μs by the optimal algorithm, but the smoothness in the trajectory angles was improved and about 60% of the burr amount was decreased. The experimental results show that some problems of the infrared touch screen are solved by the optimal algorithm, the effectiveness for multi-touch applications and trajectory smoothness is demonstrated, and the drawing effectiveness on the infrared touch screen is improved.

Key words: multi-touch, target tracking, validation region, Kalman filter, track smoothing

中图分类号: