提出了一种DSP实现的红外标志点实时跟踪方法。使用DSP的直接内存读取(DMA)传输方式后台传输图像数据,通过引入DSP片上乒乓缓存结构实现了对多个红外标志点的实时连通域标记、标志点识别和标志点跟踪等操作。实验结果表明,原始图像传输结束时即可得到实时处理结果,消除了传统硬件和软件方法中的延时;红外标志点的连通域标记精度达到亚像素级。算法经优化后实际耗时为5.574ms,仅占CPU总时钟周期的16.72%,能够满足高速图像处理应用场合对实时性的要求。
A real-time infrared marker tracking method is proposed,which is implemented with a DSP.Direct memory access(DMA) is introduced to transmit image in background.A ping-pang cache structure is also established on the DSP.Multiple infrared markers are acquired;connected component labeling,and infrared marker identification and tracking are accomplished in real-time.Experimental results show that the processing results can be obtained as soon as the image transmission is completed;the marker accuracy reaches to sub-pixel level.The actual time delay is 5.574 ms that only occupies 16.72% of the CPU cycle,which shows that the proposed method can meet the requirements of real-time processing for high speed image processing applications.