计算机与现代化

• 图像处理 • 上一篇    下一篇

基于局部期望阈值分割的图像边缘检测算法

  

  1. (中国人民武装警察部队学院部队管理系,河北 廊坊 065000)
  • 收稿日期:2016-05-11 出版日期:2016-08-18 发布日期:2016-08-11
  • 作者简介:刘占(1978-),男,河北永清人,中国人民武装警察部队学院部队管理系讲师,硕士,研究方向:人工智能和机器视觉。
  • 基金资助:
    武警学院中青年教师科研创新计划课题(ZQNJS201553)

Image Edge Detection Algorithm Based on Local Expectation Threshold Segmentation

  1. (Department of Army Management, Chinese Peoples’ Armed Police Forces Academy, Langfang 065000, China)
  • Received:2016-05-11 Online:2016-08-18 Published:2016-08-11

摘要: 传统图像边缘特征检测通过梯度算子卷积计算获取梯度图,并根据梯度变化情况设定阈值得到边缘信息,但图像的各局部区域梯度变化不均匀,采用统一阈值分割边缘信息往往会造成获取的边缘信息不准确。本文提出一种基于图像局部区域期望的自适应阈值方法,首先采用Sobel算子获取图像梯度矩阵,然后将梯度矩阵分割为多个子区域,并计算每个子区域的局部期望作为该区域阈值,进行边缘特征提取。实验表明,提出的方法提高了图像主要目标物边缘特征的识别度,区域边缘信息划分准确。

关键词: 边缘检测, Sobel算子, 局部期望, 阈值分割

Abstract: In classical image edge detection algorithms, gradient images are obtained by gradient operator convoluting, and contours are traced according to the gradient changing and gradient threshold. But the uneven changing of local gradient in image leads to not accurate edge information obtained through uniform threshold segmentation. To solve these problems, in this paper an adapted threshold method is introduced based on the expectation of local block in image. First, we get the image gradient matrix with the help of Sobel operator, then segment the matrix into a plurality of sub regions, and calculate the local expectations of each sub region as the threshold to each of them and filter out the edges of each sub regions finally. The experiment results show that the proposed method can enhance the recognition of primary object edge detection in image effectively, and the edge information obtained is accurate.

Key words: edge detection, Sobel operator, local expectation, threshold segmentation

中图分类号: