针对视野移动方向的判断问题,该文介绍了运动补偿的常用方法及应用,提出了基于灰度块匹配的视野移动监测算法。通过对比各种算法计算复杂度和计算时间,发现灰度投影算法准确率低、计算量较小;块匹配搜索算法中的穷尽搜索算法准确率高,但是计算量较大。为了发挥以上两者算法的优势,将两者结合形成了灰度块匹配算法,并通过实验证实了灰度块匹配算法在实时监测系统中的可行性。
In order to judge the moving direction,two commonly used motion compensation methods and its applications were introduced,and a new moving monitoring algorithm based on gray block matching was designed in this paper.By comparing the computing complexity and time,it was found that the accuracy of the gray projection algorithm was low while its computation was efficient;whereas the exhaustive searching in the block matching search algorithm was accurate while its computation load was heavy.In order to combine the advantages of the two algorithms above,the gray block matching algorithm was proposed.The feasibility of gray block matching in real-time monitoring system was confirmed through experiments.