摘要
随着FPGA芯片集成度的提高,加之其价格低廉的优势,越来越多的视频图像处理平台采用基于FPGA技术的方案。设计并实现了一个基于OTSU算法的FPGA实时绕距测量系统。首先设计了视频图像灰度化的非浮点运算实现,然后详细讨论了OTSU算法的硬件实现方案,包括其原理、公式简化、流水线处理等。经过OTSU算法处理之后,接着通过统计二值图像中双绞线部分的列宽,计算两个最窄列宽之间的距离即绕距。最后在片上可编程系统上编写软件模块实现功能。
With the improvement of the FPGA chip integration, as well as its advantage of low price, more and more video image processing platform adopt schemes based on FPGA technology. This paper designs and realizes a FPGA real-time distance measuring system based on OTSU algorithm. First, a video image gray level transformation of the non-floating point arithmetic realization is designed ,and OTSU algorithm hardware implementation scheme is discussed in detail, including its principle, the formula of simplified, pipeline processing, etc. After OTSU algorithm processing,through the statistics of binary image in the column width of twisted-pair, the distance between the two most narrow column width around the pitch is calculated. Finally, software module is wroten to implement functions.
出处
《电子技术应用》
北大核心
2015年第7期15-18,22,共5页
Application of Electronic Technique
基金
浙江省重中之重学科开放基金项目(XKXL1312)