电子科技 ›› 2020, Vol. 33 ›› Issue (4): 50-54.doi: 10.16180/j.cnki.issn1007-7820.2020.04.009

• • 上一篇    下一篇

面向多目标透镜的连通域标记检测算法

谢智烜1,姚红兵2,范宁1,陈枫1   

  1. 1. 江苏大学 机械工程学院,江苏 镇江 212000
    2. 河海大学 理学院,江苏 南京 210098
  • 收稿日期:2019-03-01 出版日期:2020-04-15 发布日期:2020-04-23
  • 作者简介:谢智烜(1991-),男,硕士研究生。研究方向:图像处理,目标识别等。|姚红兵(1976-),男,教授。研究方向:现代光电测试,激光与物质相互作用机理以及检测技术。
  • 基金资助:
    国家自然科学基金(51775253);国家自然科学基金(61505071);江苏省自然科学基金(BK20150526);江苏大学引进人才科研启动项目(15JDG036);江苏大学引进人才科研启动项目(15JDG037)

Connected Domain Label Detection Algorithm for Multi-target Lens

XIE Zhixuan1,YAO Hongbing2,FAN Ning1,CHEN Feng1   

  1. 1. School of Mechanical Engineering,Jiangsu University,Zhenjiang 212000,China
    2. School of Science,Hohai University,Nanjing 210098,China
  • Received:2019-03-01 Online:2020-04-15 Published:2020-04-23
  • Supported by:
    National Natural Science Foundation of China(51775253);National Natural Science Foundation of China(61505071);Jiangsu Natural Science Foundation(BK20150526);Jiangsu University's Initiation Project of Introducing Talented Personnel for Scientific Research(15JDG036);Jiangsu University's Initiation Project of Introducing Talented Personnel for Scientific Research(15JDG037)

摘要:

文中提出了一种适合FPGA实现的多目标连通域标记算法。该算法通过初次扫描时在图像的边框处做特殊的标记值,提取出环形具有内外双层轮廓的目标内部区域,进而将紧挨在一起的目标分离开以实现多目标的检测。该方案采用单次逐像素扫描的方法,对图像进行一次逐像素扫描即可完成连通域的标记和等价表的整理。实验结果表明,对一幅大小为M×N的图像,在不计算等价表递归时间的情况下,经过M×N×2个时钟周期后可识别出多个目标,且得到了每个目标对应区域的面积和外接矩形等参数。

关键词: 图像处理, 多目标图像, 连通域标记, FPGA, 机器视觉, 二值图像

Abstract:

A multi-target connected domain labeling suitable algorithm for FPGA was proposed in the study. By making a special mark value at the edge of the image during the first scanning, the algorithm extracted ring inner region with inner and outer double-layer contours object to separate the close objects for multi-target detection. The scheme adopted a single pixel-by-pixel scanning method to perform one scanning of the image, and could accomplish the mark of connected regions and the sorting of equivalent tables. Experimental results showed that for an image with the size of M×N, without calculating the recursive time of the equivalent table, multiple targets could be identified after M×N×2 clock cycles. In addition, parameters including the area and the outer rectangle corresponding to each target were finally obtained.

Key words: image processing, multi-target image, connected domain markers, FPGA, machine vision, binary image

中图分类号: 

  • TP391